/* =====================================================================
   styles.css — «سجّاده»
   سبک: مستطیل‌های نوک‌تیز، کرم + دانه‌های ریز مداد شمعی،
   پالت زیلو (نیلی پودری، سرمه‌ای، کرم، کمی طلایی)
   ریسپانسیو: موبایل (آیفون/اندروید) با نوار پایین، دسکتاپ (ویندوز) با منوی کناری
   ===================================================================== */
@font-face { font-family: "Narengi"; font-weight: 400 600; font-display: block; src: url("fonts/NarengiFaNum-Medium.ttf") format("truetype"); }
@font-face { font-family: "Narengi"; font-weight: 700 800; font-display: block; src: url("fonts/NarengiFaNum-Extrabold.ttf") format("truetype"); }
@font-face { font-family: "Narengi"; font-weight: 900; font-display: block; src: url("fonts/NarengiFaNum-Black.ttf") format("truetype"); }

:root {
  --bg: #FFFFFF;
  --cream: #F2F1EE; --card: #FBFAF8; --line: #E6E3DE;   /* کاغذ آبرنگ خاکستری‌روشن */
  --acc: #4A5672; --acc-l: #E7E9EF; --acc-m: #8590A8; --acc-d: #333B4F;   /* سرمه‌ایِ زغالی، مثل کت تصویر مرجع */
  --sand: #DAD6CF; --sand-l: #EDEBE7;
  --gold: #D99A93; --gold-l: #F6E6E2;   /* صورتیِ گونه‌ای، فقط ریزه‌کاری */
  --rose: #E8B4AD; --rose-l: #F7E3DF; --rose-d: #C98880;
  --sage: #B4C5AB; --sage-l: #E4ECDF;
  --ink: #2F3442; --ink2: #8A8C93; --on-acc: #FBFAF8;
  --r: 0;
  --r-s: 0;
  --font: "Narengi", Tahoma, sans-serif;
  --soft: cubic-bezier(.22, .8, .3, 1);
  --grain: none;
  --nav-h: 72px;
  --fs: 15px;
}
/* آقایان: سبز زیلویی ملایم */
/* آقایان: سرمه‌ای و آجریِ زیلو، زمینهٔ سرد و روشن؛ بدون کرم و صورتی */
body.male {
  --acc: #44506A; --acc-l: #E5E8EE; --acc-m: #7C879E; --acc-d: #2D3445;
  --gold: #8FA58C; --gold-l: #E8EFE6;   /* سبزِ برگ (مثل گل یقهٔ تصویر) */
  --ink: #2A2F3B;
}
body.male .card, body.male .acc, body.male .h-top { box-shadow: inset 0 0 0 1.5px var(--line); }
body.male .tab.on { color: var(--acc-d); }
/* حالت پریود: کل اپ صورتی ملایم */
body.period { --acc: #E8B4AD; --acc-l: #F7E3DF; --acc-m: #D59A93; --acc-d: #9A5E57; }
html[data-size="l"] { --fs: 17px; }
html[data-size="xl"] { --fs: 19px; }

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; padding: 0; background: var(--bg); }
html, body, button, input, textarea, select, label { font-family: var(--font); }
body { font-weight: 500; font-size: var(--fs); line-height: 1.8; color: var(--ink); min-height: 100vh; overflow-x: hidden; -webkit-font-smoothing: antialiased; -webkit-text-size-adjust: 100%; }
button, input, textarea { color: inherit; font-size: inherit; }
button { cursor: pointer; border: 0; background: none; padding: 0; text-align: inherit; font-weight: inherit; }
svg { display: block; overflow: visible; }
.ic { width: 44px; height: 44px; flex: none; }
.av { width: 52px; height: 52px; flex: none; border-radius: 50%; }
.li { width: 22px; height: 22px; flex: none; }
[hidden] { display: none !important; }
.muted { color: var(--ink2); } .sm { font-size: .84em; } .b { font-weight: 800; }

/* بافت مداد شمعی: رنگ تخت + دانه‌های روشن (canvas) */
.cr { background-color: var(--fill, var(--card)); background-image: var(--grain); background-size: 90px 90px; }
.card { border-radius: var(--r); padding: 16px; }

/* ---------- چیدمان ---------- */
#app { max-width: 540px; margin: 0 auto; padding: 0 14px calc(var(--nav-h) + 34px + env(safe-area-inset-bottom)); }
.screen { animation: screenIn .45s var(--soft) both; }
@keyframes screenIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.grid { display: grid; gap: 12px; }
.g2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.g3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }

/* هدر */
.hdr { text-align: center; padding: calc(16px + env(safe-area-inset-top)) 0 8px; }
.hdr .mark { width: 30px; height: 30px; margin: 0 auto 2px; }
.hdr h1 { margin: 0; font-weight: 900; font-size: 1.6em; line-height: 1.4; }
.gline { width: 46px; height: 6px; margin: 5px auto 0; }
.hdr .hello { margin: 7px 0 0; color: var(--ink2); font-size: .9em; }
.step-tag { display: inline-block; margin-top: 8px; padding: 2px 12px; border-radius: 10px 12px 9px 13px; --fill: var(--acc-l); font-size: .8em; font-weight: 800; }
.back-btn { position: absolute; right: 14px; top: calc(18px + env(safe-area-inset-top)); width: 42px; height: 42px; border-radius: 14px 16px 13px 17px; --fill: var(--sand-l); display: grid; place-items: center; }
.hdr-wrap { position: relative; }

/* ناوبری شناور پایین */
nav.tabs { position: fixed; z-index: 30; bottom: calc(8px + env(safe-area-inset-bottom)); left: 50%; transform: translateX(-50%); width: min(520px, calc(100% - 20px)); height: var(--nav-h); border-radius: var(--r); --fill: var(--card); display: flex; padding: 6px; box-shadow: 0 6px 24px rgba(140, 127, 116, .12); }
.tab { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; font-size: 11px; font-weight: 800; color: var(--ink2); border-radius: 20px 23px 19px 24px; transition: color .3s, background-color .35s; }
.tab .li { width: 26px; height: 26px; }
.tab.on { color: var(--ink); background-color: var(--acc-l); background-image: var(--grain); background-size: 90px 90px; }
.side-brand { display: none; }

/* دسکتاپ (ویندوز، لپ‌تاپ) و تبلت افقی: منوی کناری */
@media (min-width: 860px) {
  #app { max-width: 760px; margin: 0 auto; padding: 24px 300px 60px 40px; box-sizing: content-box; }
  nav.tabs { top: 16px; bottom: 16px; right: 16px; left: auto; transform: none; width: 236px; height: auto; flex-direction: column; justify-content: flex-start; gap: 6px; padding: 20px 12px; }
  .side-brand { display: block; text-align: center; margin-bottom: 18px; }
  .side-brand b { display: block; font-size: 22px; font-weight: 900; margin-top: 4px; }
  .side-brand .av { width: 64px; height: 64px; margin: 10px auto 0; }
  .side-brand p { font-size: 12.5px; color: var(--ink2); margin: 6px 0 0; }
  .tab { flex: none; flex-direction: row; justify-content: flex-start; gap: 12px; padding: 10px 14px; font-size: 15px; height: 54px; }
  .two { grid-template-columns: 1fr 1fr; align-items: start; }
  .sheet { align-items: center !important; }
  .sheet .panel { max-height: 88vh !important; max-width: 560px !important; transform: translateY(24px); border: 1.5px solid var(--line); }
  .sheet.open .panel { transform: none; }
  #toast { bottom: 40px !important; }
  .fab { left: calc(50% - 360px) !important; bottom: 40px !important; }
}
@media (min-width: 860px) and (max-width: 1150px) { #app { padding-right: 280px; padding-left: 24px; } }
@media (min-width: 860px) { body.notabs #app { max-width: 600px; padding: 24px 24px 60px; } body.notabs .back-btn { right: 0; } }

/* ---------- کارت کشویی ---------- */
.acc { border-radius: var(--r); --fill: var(--card); overflow: hidden; }
.acc-h { display: flex; align-items: center; gap: 12px; width: 100%; padding: 13px 16px; min-height: 66px; text-align: right; }
.acc-h .ic { width: 42px; height: 42px; }
.acc-h .t { flex: 1; min-width: 0; }
.acc-h .t b { display: block; font-size: 1.03em; font-weight: 800; }
.acc-h .t span { display: block; font-size: .8em; color: var(--ink2); line-height: 1.6; }
.acc-h .end { font-size: .9em; font-weight: 900; color: var(--acc-d); white-space: nowrap; }
.acc-h .chev { width: 20px; height: 20px; color: var(--ink2); transition: transform .45s var(--soft); }
.acc.open > .acc-h .chev { transform: rotate(-90deg); }
.acc-b { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--soft); }
.acc.open > .acc-b { grid-template-rows: 1fr; }
.acc-b > div { overflow: hidden; min-height: 0; }
.acc-in { padding: 0 16px 16px; }
.acc.done .acc-h .t span { color: var(--acc-d); }

/* ---------- دکمه‌ها و گزینه‌ها ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; text-align: center; line-height: 1.5; gap: 8px; min-height: 52px; padding: 0 20px; border-radius: var(--r-s); font-weight: 800; font-size: 1em; --fill: var(--acc); transition: transform .2s var(--soft), opacity .2s; }
.btn:active { transform: scale(.97); }
.btn.block { width: 100%; }
.btn.ghost { --fill: var(--sand-l); }
.btn.soft { --fill: var(--acc-l); }
.btn.rose { --fill: var(--rose); }
.btn.danger { --fill: var(--rose-l); color: #9A5E57; }
.btn.sm { min-height: 40px; font-size: .87em; padding: 0 14px; }
.btn[disabled] { opacity: .45; pointer-events: none; }
.btn .li { width: 20px; height: 20px; }
.opts { display: flex; flex-wrap: wrap; gap: 7px; }
.opt { padding: 9px 14px; border-radius: 14px 16px 13px 17px; font-size: .9em; font-weight: 800; --fill: var(--sand-l); transition: background-color .25s, transform .2s var(--soft); min-height: 42px; display: inline-flex; align-items: center; gap: 6px; }
.opt.on { --fill: var(--acc); }
.opt:active { transform: scale(.96); }
.opt.white { --fill: #FFFFFF; box-shadow: inset 0 0 0 1.5px var(--line); }
.opt.white.on { --fill: var(--acc); box-shadow: none; }
.seg { display: flex; gap: 4px; padding: 4px; border-radius: 17px 20px 16px 21px; --fill: var(--sand-l); }
.seg button { flex: 1; padding: 9px 6px; border-radius: 13px 16px 12px 17px; font-size: .87em; font-weight: 800; color: var(--ink2); text-align: center; min-height: 42px; }
.seg button.on { color: var(--ink); background-color: #fff; background-image: var(--grain); background-size: 90px 90px; }

/* ---------- فرم ---------- */
.field { margin-bottom: 14px; }
.field > label, .lbl { display: block; font-size: .84em; color: var(--ink2); margin: 0 4px 6px; font-weight: 800; }
.inpw { border-radius: var(--r-s); --fill: #FFFFFF; box-shadow: inset 0 0 0 1.5px var(--line); }
.inp { width: 100%; border: 0; outline: 0; font-size: 16px; padding: 12px 15px; background: transparent; border-radius: inherit; }
.inp::placeholder { color: #BFB4A9; }
.inpw:focus-within { box-shadow: inset 0 0 0 2px var(--acc); }
textarea.inp { resize: vertical; min-height: 90px; line-height: 1.9; }
.date-btn { width: 100%; height: 50px; min-width: 0; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 12px 15px; font-size: 1em; font-weight: 700; }
.date-btn .li { color: var(--ink2); }
.date-btn.empty { color: #BFB4A9; }
.stepper { display: flex; align-items: center; gap: 6px; }
.stepper button { width: 46px; height: 46px; border-radius: 14px 16px 13px 17px; --fill: var(--sand-l); display: grid; place-items: center; flex: none; }
.stepper .inpw { flex: 1; }
.stepper .inp { text-align: center; font-weight: 800; }
.hint { font-size: .8em; color: var(--ink2); margin: 5px 6px 0; line-height: 1.8; }

/* ---------- یادداشت راهنما ---------- */
.note { display: flex; gap: 12px; align-items: flex-start; padding: 13px 15px; border-radius: var(--r-s); --fill: var(--acc-l); font-size: .9em; line-height: 1.95; }
.note .ic { width: 34px; height: 34px; }
.note.gold { --fill: var(--gold-l); } .note.ok { --fill: var(--sage-l); } .note.rose { --fill: var(--rose-l); }
.note b { font-weight: 800; }

/* ---------- خلاصه و آمار ---------- */
.big-num { font-size: 2.1em; font-weight: 900; line-height: 1.2; }
.big-num small { font-size: .45em; font-weight: 700; color: var(--ink2); margin-right: 4px; }
.prog-top { display: flex; align-items: center; gap: 14px; }
.prog-top .lbl2 { flex: 1; font-size: .87em; color: var(--ink2); line-height: 1.85; }
.prog-top .lbl2 b { color: var(--ink); font-size: 1.12em; }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
.stat { padding: 12px 14px; border-radius: var(--r-s); --fill: #FFFFFF; box-shadow: inset 0 0 0 1.5px var(--line); }
.stat .k { font-size: .8em; color: var(--ink2); display: flex; align-items: center; gap: 6px; }
.stat .k i { width: 9px; height: 9px; border-radius: 50%; flex: none; }
.stat .v { font-size: 1.15em; font-weight: 900; margin-top: 3px; line-height: 1.4; }
.weave { width: 100%; height: 18px; margin-top: 10px; }
.bar { height: 10px; border-radius: 9px 12px 8px 13px; --fill: var(--sand-l); position: relative; overflow: hidden; }
.bar > i { position: absolute; top: 0; bottom: 0; right: 0; border-radius: inherit; background-color: var(--acc); background-image: var(--grain); background-size: 90px 90px; transition: width 1s var(--soft); }
.ptable { width: 100%; border-collapse: collapse; font-size: .92em; }
.ptable td, .ptable th { padding: 8px 4px; text-align: center; }
.ptable th { color: var(--ink2); font-weight: 700; font-size: .84em; }
.ptable tr + tr td { border-top: 1.5px solid var(--line); }
.ptable td:first-child { text-align: right; font-weight: 800; }
.sec { margin: 18px 4px 10px; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.sec h2 { margin: 0; font-size: 1.08em; font-weight: 900; }
.tier { padding: 13px 8px; border-radius: var(--r-s); --fill: var(--sand-l); text-align: center; transition: background-color .25s; }
.tier.on { --fill: var(--acc-l); box-shadow: inset 0 0 0 2px var(--acc); }
.tier b { display: block; font-size: .87em; font-weight: 800; }
.tier .v { font-size: .95em; font-weight: 900; margin-top: 4px; line-height: 1.5; }
.tier small { display: block; font-size: .74em; color: var(--ink2); }

/* ---------- ردیف‌ها و تیک ---------- */
.row { display: flex; align-items: center; gap: 11px; padding: 9px 0; border-top: 1.5px solid var(--line); }
.row:first-child { border-top: 0; }
.row .mid { flex: 1; min-width: 0; }
.row .nm { font-weight: 800; font-size: .97em; line-height: 1.6; }
.row .meta { font-size: .8em; color: var(--ink2); }
.row.done .nm { color: var(--ink2); text-decoration: line-through; text-decoration-color: var(--gold); text-decoration-thickness: 1.5px; }
.chk { width: 44px; height: 44px; flex: none; display: grid; place-items: center; }
.chk svg { width: 36px; height: 36px; }
.chk .bgc { fill: #FFFFFF; stroke: var(--sand); stroke-width: 1.8; transition: fill .3s, stroke .3s; }
.chk.on .bgc { fill: var(--acc-m); stroke: var(--acc-m); }
.chk .tick { stroke-dasharray: 30; stroke-dashoffset: 30; transition: stroke-dashoffset .4s .05s var(--soft); }
.chk.on .tick { stroke-dashoffset: 0; }
.count-pill { font-size: .78em; font-weight: 900; padding: 1px 9px; border-radius: 8px; --fill: var(--gold-l); }
.loz-row { display: flex; justify-content: space-between; gap: 4px; }
.loz-b { display: flex; flex-direction: column; align-items: center; gap: 2px; min-width: 52px; padding: 4px 0; font-size: .8em; font-weight: 800; color: var(--ink2); }
.loz-b.on { color: var(--ink); }
.loz { width: 42px; height: 42px; }

/* ---------- شخصیت‌ها ---------- */
.avatars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.avatars button { display: flex; flex-direction: column; align-items: center; gap: 3px; font-size: .74em; font-weight: 800; color: var(--ink2); padding: 4px 0; border-radius: 16px; }
.avatars .av { width: 62px; height: 62px; transition: box-shadow .25s; }
.avatars button.on { color: var(--ink); }
.avatars button.on .av { box-shadow: 0 0 0 2.5px var(--gold); }

/* ---------- رمضان‌ها ---------- */
.ram { padding: 12px 14px; border-radius: var(--r-s); --fill: #FFFFFF; box-shadow: inset 0 0 0 1.5px var(--line); margin-bottom: 8px; }
.ram h4 { margin: 0 0 8px; font-size: .95em; font-weight: 900; display: flex; justify-content: space-between; gap: 6px; }
.ram h4 span { font-weight: 600; font-size: .85em; color: var(--ink2); }
.ram .opts { margin-top: 8px; }
.ram .opt { min-height: 36px; padding: 6px 11px; font-size: .82em; }

/* ---------- تقویم ---------- */
.cal-h { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.cal-h b { font-size: 1.05em; font-weight: 900; }
.cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; text-align: center; }
.cal > span { font-size: .78em; color: var(--ink2); font-weight: 800; padding: 4px 0; }
.cal button { aspect-ratio: 1; border-radius: 12px 14px 11px 15px; font-weight: 800; font-size: .95em; display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1.1; position: relative; }
.cal button small { font-size: .6em; font-weight: 600; color: var(--ink2); }
.cal button.today { box-shadow: inset 0 0 0 1.5px var(--gold); }
.cal button.fri { color: var(--rose-d); }
.cal button.per { background-color: var(--rose-l); background-image: var(--grain); background-size: 90px 90px; }
.cal button.sel { background-color: var(--acc); background-image: var(--grain); background-size: 90px 90px; }
.cal button i { position: absolute; bottom: 4px; width: 5px; height: 5px; border-radius: 50%; background: var(--acc-m); }
.cal button i.f { background: var(--gold); left: calc(50% - 8px); }

/* ---------- شیت پایین / پنجره ---------- */
.sheet { position: fixed; inset: 0; z-index: 90; display: flex; align-items: flex-end; justify-content: center; pointer-events: none; }
.sheet .back { position: absolute; inset: 0; background: rgba(250, 245, 238, .72); -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); opacity: 0; transition: opacity .35s; }
.sheet .panel { position: relative; width: 100%; max-width: 560px; max-height: 92vh; overflow-y: auto; -webkit-overflow-scrolling: touch; padding: 10px 18px calc(22px + env(safe-area-inset-bottom)); border-radius: 0; background: #fff; border-top: 1.5px solid var(--line); box-shadow: 0 -10px 30px rgba(140, 127, 116, .10); transform: translateY(105%); transition: transform .45s var(--soft), opacity .35s; overscroll-behavior: contain; }
.sheet:not(.open) .panel { visibility: hidden; opacity: 0; transition: transform .45s var(--soft), opacity .3s, visibility 0s .45s; }
.sheet.open { pointer-events: auto; }
.sheet.open .back { opacity: 1; }
.sheet.open .panel { transform: none; opacity: 1; }
.x-btn { position: absolute; top: 12px; left: 12px; width: 36px; height: 36px; display: grid; place-items: center; color: var(--ink2); }
.x-btn .li { width: 20px; height: 20px; }
.sheet h3 { margin: 8px 40px 16px; font-size: 1.15em; font-weight: 900; text-align: center; }
.sheet .actions { display: flex; gap: 10px; margin-top: 16px; position: sticky; bottom: -22px; padding: 10px 0 4px; background: linear-gradient(rgba(255,255,255,0), #fff 30%); }
.sheet .actions .btn { flex: 1; }

/* چرخ تاریخ */
.wheels { display: flex; gap: 8px; margin: 8px 0; }
.wcol { flex: 1; display: flex; flex-direction: column; gap: 4px; }
.wcol > span { text-align: center; font-size: .78em; color: var(--ink2); font-weight: 800; }
.wheel { height: 150px; overflow-y: auto; scroll-snap-type: y mandatory; border-radius: var(--r-s); background: #fff; box-shadow: inset 0 0 0 1.5px var(--line); scrollbar-width: none; overscroll-behavior: contain; position: relative; -webkit-mask-image: linear-gradient(transparent, #000 30%, #000 70%, transparent); mask-image: linear-gradient(transparent, #000 30%, #000 70%, transparent); }
.wheel::-webkit-scrollbar { display: none; }
.wheel div { height: 50px; scroll-snap-align: center; display: flex; flex-direction: column; align-items: center; justify-content: center; font-weight: 700; color: #B4ABA0; line-height: 1.2; }
.wheel div.sel { color: var(--ink); font-weight: 900; font-size: 1.08em; }
.wheel div small { font-size: .62em; color: var(--acc-d); font-weight: 600; }
.wheel .pad { scroll-snap-align: none; }

/* ---------- پیام کوتاه ---------- */
#toast { position: fixed; left: 50%; bottom: calc(var(--nav-h) + 30px + env(safe-area-inset-bottom)); transform: translate(-50%, 20px); opacity: 0; z-index: 99; padding: 10px 16px; --fill: #FFFFFF; color: var(--ink); border: 1.5px solid var(--line); border-right: 4px solid var(--acc-m); box-shadow: 0 6px 20px rgba(140, 127, 116, .14); font-size: .9em; font-weight: 800; transition: opacity .3s, transform .35s var(--soft); display: flex; align-items: center; gap: 12px; width: max-content; max-width: min(380px, calc(100% - 28px)); pointer-events: none; }
#toast.show { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
#toast button { color: var(--acc-d); text-decoration: underline; font-weight: 900; padding: 4px; }

/* ---------- اولین ورود ---------- */
#onb { position: fixed; inset: 0; z-index: 80; background: var(--bg); overflow-y: auto; }
#onb .wrap { max-width: 460px; min-height: 100%; margin: 0 auto; display: flex; flex-direction: column; padding: calc(18px + env(safe-area-inset-top)) 22px calc(22px + env(safe-area-inset-bottom)); }
#onb .skip { align-self: flex-start; font-size: 14px; color: var(--ink2); font-weight: 800; padding: 8px 4px; }
#onb .slide { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; animation: screenIn .5s var(--soft) both; }
#onb .art { width: min(270px, 70vw); height: min(270px, 70vw); }
#onb h2 { font-size: 1.5em; font-weight: 900; margin: 18px 0 6px; line-height: 1.6; }
#onb p { margin: 0; color: var(--ink2); font-size: .97em; line-height: 2.05; max-width: 330px; }
.dots { display: flex; gap: 7px; justify-content: center; margin: 14px 0 16px; }
.dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--sand); transition: all .4s var(--soft); }
.dots i.on { width: 26px; background: var(--acc); border-radius: 6px; }
.float { animation: floaty 5s ease-in-out infinite; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
.empty { text-align: center; padding: 20px 10px; color: var(--ink2); font-size: .9em; line-height: 2; }
.empty .ic { width: 80px; height: 80px; margin: 0 auto 6px; }
.fab { position: fixed; bottom: calc(var(--nav-h) + 22px + env(safe-area-inset-bottom)); left: max(16px, calc(50% - 254px)); width: 58px; height: 58px; border-radius: 29px 31px 28px 32px; --fill: var(--acc); z-index: 20; display: grid; place-items: center; }
.fab .li { width: 26px; height: 26px; }
.steps-list { list-style: none; padding: 0; margin: 0; counter-reset: s; }
.steps-list li { counter-increment: s; position: relative; padding: 9px 40px 9px 0; border-top: 1.5px solid var(--line); font-size: .92em; line-height: 1.9; }
.steps-list li:first-child { border-top: 0; }
.steps-list li::before { content: counter(s); position: absolute; right: 0; top: 10px; width: 28px; height: 28px; border-radius: 10px 12px 9px 13px; background: var(--acc-l); display: grid; place-items: center; font-weight: 900; font-size: .85em; }
.steps-list .src { display: block; font-size: .8em; color: var(--ink2); }
.badge { display: inline-block; font-size: .72em; font-weight: 900; padding: 0 7px; border-radius: 7px; margin-right: 4px; }
.badge.ok { background: var(--sage-l); color: #5E7357; } .badge.rev { background: var(--gold-l); color: #8A6A2E; }
.set-row { display: flex; align-items: center; gap: 12px; padding: 12px 2px; border-top: 1.5px solid var(--line); width: 100%; text-align: right; font-size: .97em; font-weight: 800; }
.set-row:first-child { border-top: 0; }
.set-row .ic { width: 36px; height: 36px; }
.set-row > span { flex: 1; }
.set-row small { display: block; color: var(--ink2); font-weight: 500; font-size: .8em; }
.set-row .li { color: var(--ink2); }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; } }

/* ---------- نسخهٔ ۲٫۱ ---------- */
/* همهٔ دکمه‌ها و کادرها: مستطیل نوک‌تیز (فقط شکلک‌ها گرد می‌مانند) */
*, *::before, *::after { border-radius: 0 !important; }
.av, .avatars .av, .av-top .av, .stat .k i { border-radius: 50% !important; }
.date-btn > span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-align: right; }
.dates { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.dates .field { margin-bottom: 0; }
@media (max-width: 360px) { .dates { grid-template-columns: 1fr; } }
.g2 > .opt { justify-content: center; text-align: center; }
.opt { border: 0; }
.prof-top { text-align: center; margin-bottom: 14px; }
.prof-top h2 { margin: 10px 0 0; font-size: 1.3em; font-weight: 900; }
.prof-top p { margin: 2px auto 0; color: var(--ink2); font-size: .88em; min-height: 1.6em; }
.av-top { width: 92px; height: 92px; margin: 0 auto; transition: transform .45s var(--soft); }
.av-top.on { animation: pop .5s var(--soft); }
.av-top .av { width: 92px; height: 92px; }
@keyframes pop { from { transform: scale(.82); opacity: .3; } to { transform: none; opacity: 1; } }
.mlist { display: grid; border-top: 1.5px solid var(--line); }
.mlist button { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 12px 6px; border-bottom: 1.5px solid var(--line); font-weight: 800; font-size: .95em; min-height: 48px; }
.mlist button.on { background: var(--acc-l); }
.mlist .li { color: var(--acc-d); }
.wdays { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.wdays .opt { padding: 8px 0; justify-content: center; font-size: .78em; min-height: 44px; }
.mrow { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.mrow > span { flex: 0 0 82px; font-weight: 800; font-size: .9em; }
.mrow .stepper { flex: 1; }
.daynav { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: -4px; }
.daynav b { font-size: .95em; font-weight: 900; text-align: center; }
.daynav .btn { gap: 4px; padding: 0 10px; }
.card-h { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.card-h b { font-size: 1.03em; }
.sub-q { margin-top: 16px; padding-top: 14px; border-top: 1.5px solid var(--line); }
.sub-q > b { font-weight: 900; }
.switch { width: 46px; height: 26px; background: var(--sand); position: relative; flex: none; transition: background .25s; }
.switch i { position: absolute; top: 3px; right: 3px; width: 20px; height: 20px; background: #fff; transition: right .25s var(--soft); }
.switch.on { background: var(--acc-m); }
.switch.on i { right: 23px; }
.err { color: #9A5E57; font-weight: 800; font-size: .88em; margin: 8px 0 0 !important; }
#onb .act .slide { gap: 4px; }
#onb .act .ic { width: 84px; height: 84px; }
.act-in { width: 100%; max-width: 330px; margin-top: 16px; }
.act-in .inp { text-align: center; font-size: 20px; font-weight: 900; letter-spacing: .12em; font-family: ui-monospace, Menlo, Consolas, monospace; }
.tab.on { box-shadow: inset 0 -3px 0 var(--acc-m); }
@media (min-width: 860px) { .tab.on { box-shadow: inset -3px 0 0 var(--acc-m); } }
.step-tag { --fill: var(--acc-l); }
.ram { border-right: 3px solid var(--acc); }

.note.rep { width: 100%; text-align: right; align-items: center; }
.note.rep > div { flex: 1; }
.note.rep .li { color: var(--ink2); }

/* ---------- خانهٔ بدون اسکرول ---------- */
.home { display: flex; flex-direction: column; gap: 8px; padding-top: calc(10px + env(safe-area-inset-top)); }
.h-top { display: flex; align-items: center; gap: 10px; }
.h-top .av { width: 46px; height: 46px; }
.h-hi { flex: 1; min-width: 0; line-height: 1.5; }
.h-hi b { display: block; font-size: 1.1em; font-weight: 900; }
.h-hi span { font-size: .78em; color: var(--ink2); }
.h-top .btn { min-height: 38px; padding: 0 10px; gap: 4px; }
.strip { display: flex; align-items: center; gap: 8px; padding: 8px 12px; font-size: .84em; font-weight: 800; width: 100%; text-align: right; --fill: var(--acc-l); }
.strip.gold { --fill: var(--gold-l); }
.strip > span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.strip .li { width: 18px; height: 18px; color: var(--ink2); }
.h-prog { padding: 10px 14px; }
.h-prog .row1 { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; font-size: .86em; }
.h-prog .row1 span { color: var(--ink2); font-size: .9em; }
.h-prog .weave { height: 14px; margin-top: 6px; }
.h-day { padding: 8px 14px 10px; }
.dnav { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.dnav b { font-size: .98em; font-weight: 900; }
.dnav button { width: 36px; height: 36px; display: grid; place-items: center; --fill: var(--sand-l); background: var(--sand-l); }
.dnav button[disabled] { opacity: .3; }
.qz-row { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.qz { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 6px 0 4px; background: #fff; box-shadow: inset 0 0 0 1.5px var(--line); font-size: .78em; font-weight: 800; }
.qz svg { width: 30px; height: 30px; }
.qz .bgc { fill: #fff; stroke: var(--sand); stroke-width: 1.8; transition: fill .3s; }
.qz.on { background: var(--acc-l); box-shadow: inset 0 0 0 1.5px var(--acc-m); }
.qz.on .bgc { fill: var(--acc-m); stroke: var(--acc-m); }
.qz .tick { stroke-dasharray: 30; stroke-dashoffset: 30; transition: stroke-dashoffset .4s var(--soft); }
.qz.on .tick { stroke-dashoffset: 0; }
.h-day .row { padding: 5px 0; }
.h-day .row .nm { font-size: .9em; }
.h-day .chk { width: 36px; height: 36px; } .h-day .chk svg { width: 30px; height: 30px; }
.h-day .loz { width: 34px; height: 34px; }
.h-day .loz-b { min-width: 0; padding: 0; }
.h-per { display: flex; align-items: center; gap: 10px; padding: 8px; background: var(--rose-l); font-size: .86em; line-height: 1.7; }
.h-per > div { flex: 1; }
.h-ram { padding: 10px 14px; } .h-ram .g2 { margin-top: 6px; } .h-ram .opt { min-height: 36px; padding: 4px 8px; }
@media (max-height: 700px) { .home { gap: 6px; } .h-top .av { width: 40px; height: 40px; } .h-prog .weave { display: none; } .h-day .loz { width: 30px; height: 30px; } }

/* ---------- تقویم بدون اسکرول ---------- */
.cal-scr .card { padding: 10px 12px; }
.cal-scr .cal { gap: 3px; }
.cal-scr .cal button { aspect-ratio: auto; height: min(46px, calc((100svh - 330px) / 6)); min-height: 34px; font-size: .9em; }
.cal-scr .cal > span { padding: 0; }
.cal-scr .cal-h { margin-bottom: 6px; }
.occ-list { display: grid; max-height: calc(100svh - 560px); min-height: 60px; overflow-y: auto; padding: 4px 12px !important; }
.occ-list button { display: flex; align-items: center; gap: 10px; padding: 5px 0; border-top: 1px solid var(--line); font-size: .82em; text-align: right; }
.occ-list button:first-child { border-top: 0; }
.occ-list b { flex: 0 0 26px; text-align: center; font-weight: 900; }
.occ-list span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.occ-list i { font-style: normal; color: var(--rose-d); font-size: .9em; }
@media (min-width: 860px) { .home { padding-top: 0; } .occ-list { max-height: calc(100vh - 560px); } }

.rev-dot { display: block; margin-top: 3px; font-size: .9em; color: #A77A3A; font-weight: 700; }
.incomplete { display: inline-block; margin-right: 6px; padding: 1px 6px; font-size: .38em; vertical-align: middle; background: #F6E3DF; color: #9A5E57; font-weight: 900; }
.demo-tag { display: inline-block; margin-top: 10px !important; padding: 3px 10px; background: var(--gold-l); color: #8A6A2A; font-size: .8em; font-weight: 900; }

/* ---------- همه‌چیز داخل کادر ---------- */
.h-top.card { padding: 10px 12px; }
.hdr { background: var(--card); box-shadow: inset 0 0 0 1.5px var(--line); padding: calc(12px + env(safe-area-inset-top)) 12px 12px; margin: 10px 0 12px; }
.hdr-wrap .back-btn { z-index: 2; }
#onb .slide.card { padding: 22px 18px; box-shadow: inset 0 0 0 1.5px var(--line); }
#onb .prof-top { background: var(--card); box-shadow: inset 0 0 0 1.5px var(--line); padding: 16px 12px 12px; }
.cal-scr .cal-h { background: var(--card); }
.daynav, .dnav { background: transparent; }
.act .buy { margin-top: 10px; gap: 8px; text-decoration: none; color: var(--acc-d); font-weight: 900; }
.act .buy .ic { width: 30px; height: 30px; }
.act .slide a { color: var(--acc-d); font-weight: 900; text-decoration: none; border-bottom: 1.5px solid var(--acc-m); }

/* ---------- صفحهٔ ورود ---------- */
#onb .wrap.act { justify-content: center; }
.act-card { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 26px 22px 24px !important; box-shadow: inset 0 0 0 1.5px var(--line); }
.act-card h2 { margin: 6px 0 4px; font-size: 1.3em; font-weight: 900; }
.act-card .lead { margin: 0 0 18px; color: var(--ink2); font-size: .9em; }
.act-box { width: 100%; max-width: 280px; display: grid; gap: 10px; }
.act-box .act-in { margin: 0; }
.act-box .act-in .inp { height: 50px; font-size: 18px; letter-spacing: .14em; text-align: center; }
.act-box .tiny, .act-box .err { margin: -4px 0 6px !important; font-size: .78em; color: var(--ink2); }
.act-box .err { color: #9A5E57; }
.act-btn { width: 100%; height: 50px; padding: 0 16px; font-size: .95em; font-weight: 900; display: flex; align-items: center; justify-content: center; text-decoration: none; box-sizing: border-box; }
.act-buy { color: var(--acc-d) !important; }
.act-card .demo-tag { margin-top: 16px !important; font-size: .72em; }
.loom { width: 176px; height: 167px; margin-bottom: 4px; overflow: visible; }
.loom .row { opacity: 0; transform: translateY(6px); animation: weaveIn .5s var(--soft) forwards; }
.loom .spin { transform-origin: 100px 89px; animation: spin 14s linear infinite, popIn .6s 2.2s var(--soft) both; }
.loom .fringe { stroke-dasharray: 12; stroke-dashoffset: 12; animation: drawF .4s 2.4s ease-out forwards; }
@keyframes weaveIn { to { opacity: 1; transform: none; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes popIn { from { opacity: 0; scale: .4; } to { opacity: 1; scale: 1; } }
@keyframes drawF { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) { .loom .row, .loom .fringe { animation: none; opacity: 1; stroke-dashoffset: 0; transform: none; } .loom .spin { animation: none; } }
#onb .slide p, #onb .slide h2 { text-wrap: balance; max-width: 340px; margin-left: auto; margin-right: auto; }

/* ---------- لوگو (آبرنگی) ---------- */
.hdr .logo { display: block; margin: -4px auto 0; }
.act-card .logo { margin: 0 0 6px; }
.logo.draw .wash { opacity: 0; animation: washIn 1.2s ease-out forwards; }
.logo.draw .rug { opacity: 0; transform: translateY(8px); transform-origin: 70px 70px; animation: rugIn .9s .4s var(--soft) forwards; }
.logo.draw .fr { opacity: 0; animation: frIn .4s var(--soft) forwards; }
.logo.draw .fr:nth-of-type(1) { animation-delay: 1.10s; }
.logo.draw .fr:nth-of-type(2) { animation-delay: 1.17s; }
.logo.draw .fr:nth-of-type(3) { animation-delay: 1.24s; }
.logo.draw .fr:nth-of-type(4) { animation-delay: 1.31s; }
.logo.draw .fr:nth-of-type(5) { animation-delay: 1.38s; }
.logo.draw .fr:nth-of-type(6) { animation-delay: 1.45s; }
.logo.draw .fr:nth-of-type(7) { animation-delay: 1.52s; }
@keyframes washIn { to { opacity: .28; } }
@keyframes rugIn { to { opacity: 1; transform: none; } }
@keyframes frIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .logo.draw .wash, .logo.draw .rug, .logo.draw .fr { animation: none; opacity: 1; transform: none; } .logo.draw .wash { opacity: .28; } }

/* ---------- تم سرمه‌ای و عاجی (از لوگوی ترنج) ---------- */
.btn:not(.ghost):not(.soft):not(.danger):not(.rose), .opt.on, .cal button.sel, .fab { color: var(--on-acc); }
.btn.ghost { color: var(--acc-d); }
.btn.soft { color: var(--acc-d); }
.opt.on { box-shadow: none; }
.tab.on { color: var(--acc-d); }
.tab.on .li { color: var(--acc); }
.hdr h1 { color: var(--acc-d); letter-spacing: -.2px; }
.big-num { color: var(--acc-d); }
.chk.on .bgc, .qz.on .bgc { fill: var(--acc); stroke: var(--acc); }
.qz.on { background: var(--acc-l); box-shadow: inset 0 0 0 1.5px var(--acc); }
.step-tag { color: var(--acc-d); }
body { background-color: var(--cream); background-image: var(--paper, none); background-size: 240px 240px; }

/* سبک مداد شمعی روی کاغذ: کادرها بدون خط دور، فقط رنگ و بافت */
.hdr, .h-top.card, #onb .slide.card, #onb .prof-top, .act-card { box-shadow: none !important; }
#onb { background-color: var(--cream); background-image: var(--paper, none); background-size: 240px 240px; }
.inpw { box-shadow: none; background-color: var(--card); background-image: var(--grain); background-size: 90px 90px; }
.date-btn { box-shadow: none; }

/* =====================================================================
   سبک تصویرسازی مداد شمعی (مرجع: نقاشی عروس و داماد)
   هر سطح رنگی یک «لکهٔ مداد شمعی» است: لبه‌های کمی ناصاف، بافت دانه‌دار، بدون خط دور؛ فضای خالی زیاد.
   ===================================================================== */
:root {
  --cream: #EFEEEA; --card: #FBFAF7; --line: #E2DED7;
  --acc: #464D5C; --acc-l: #E9E8EA; --acc-m: #8B8F9A; --acc-d: #3A404D;   /* زغالیِ کتِ داماد */
  --gold: #E9A9A1; --gold-l: #F7E4E0;                                         /* صورتیِ گونه */
  --rose: #EFC7C1; --rose-l: #F8E9E6; --rose-d: #C98880;
  --sage: #9DB59A; --sage-l: #E6EEE3;                                         /* برگِ گل یقه */
  --sand: #D8D3CA; --sand-l: #E6E3DD;
  --ink: #3A3F4B; --ink2: #8D8E94; --on-acc: #F9F8F5;
}
body.male { --acc: #464D5C; --acc-l: #E8E9EC; --acc-m: #8B909B; --acc-d: #383E4A; --gold: #9DB59A; --gold-l: #E6EEE3; --ink: #363B46; }
:where(.cr) { position: relative; }
.cr { isolation: isolate; background: none !important; box-shadow: none !important; }
.cr::before { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-color: var(--fill, var(--card)); background-image: var(--grain); background-size: 90px 90px; filter: url(#rough); }
.card, .acc, .note, .h-top, .hdr { --fill: var(--card); }
.inpw.cr { --fill: #FCFBF9; }
.btn.ghost { --fill: var(--sand-l); }
.btn.soft { --fill: var(--acc-l); }
.opt.cr { --fill: var(--sand-l); }
.opt.white.cr { --fill: #FCFBF9; }
.opt.on.cr, .opt.white.on.cr { --fill: var(--acc); color: var(--on-acc); }
.note.gold { --fill: var(--gold-l); } .note.ok { --fill: var(--sage-l); } .note.rose { --fill: var(--rose-l); }
.hdr { background: none !important; box-shadow: none !important; padding-top: calc(18px + env(safe-area-inset-top)); }
.hdr h1 { font-weight: 800; color: var(--ink); }
h2, .big-num, .nm, b { font-weight: 800; }
.screen.grid, .screen { gap: 14px; }
.card { padding: 16px 18px; }
.btn { font-weight: 700; letter-spacing: .1px; }
.tab.on { background: none !important; color: var(--ink); }
.tab.on .li { color: var(--acc); }
nav.tabs.cr { --fill: var(--card); }
.qz { background: none; box-shadow: none; position: relative; isolation: isolate; }
.qz::before { content: ''; position: absolute; inset: 0; z-index: -1; background-color: #FCFBF9; background-image: var(--grain); background-size: 90px 90px; filter: url(#rough); }
.qz.on::before { background-color: var(--acc-l); }
.ptable td, .ptable th { border-color: var(--line); }
#toast.cr { --fill: #FCFBF9; border: 0 !important; }
.sheet .panel { border: 0 !important; box-shadow: 0 -8px 30px rgba(60,60,70,.08); background-color: var(--cream); background-image: var(--paper, none); background-size: 240px 240px; }
.mlist button { border-bottom-color: var(--line); }
.strip.cr { --fill: var(--acc-l); } .strip.gold.cr { --fill: var(--gold-l); }

/* ---------- بدون دانه‌های نقطه‌ای؛ رنگ صاف با لبهٔ نرم ---------- */
:root { --grain: none !important; --paper: none !important; }
.cr::before { background-image: none !important; filter: url(#soft) !important; }
.qz::before { background-image: none !important; filter: url(#soft) !important; }
body, #onb { background-image: none !important; }
/* ---------- موشن ریز و مینیمال ---------- */
.screen > * { animation: rise .42s var(--soft) both; }
.screen > *:nth-child(2) { animation-delay: .04s; } .screen > *:nth-child(3) { animation-delay: .08s; } .screen > *:nth-child(4) { animation-delay: .12s; } .screen > *:nth-child(5) { animation-delay: .16s; } .screen > *:nth-child(n+6) { animation-delay: .2s; }
@keyframes rise { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.btn, .opt, .tab, .qz, .chk, .set-row, .mlist button { transition: transform .18s var(--soft), opacity .18s, color .2s; }
.btn:active, .opt:active, .qz:active, .chk:active, .set-row:active { transform: scale(.97); }
@media (hover: hover) { .btn:hover, .opt:hover, .set-row:hover { transform: translateY(-1px); } }
.opt.on, .qz.on { animation: tap .28s var(--soft); }
@keyframes tap { 50% { transform: scale(1.04); } }
.acc-b { transition: grid-template-rows .3s var(--soft); }
#toast { transition: transform .3s var(--soft), opacity .3s; }
@media (prefers-reduced-motion: reduce) { .screen > *, .opt.on, .qz.on { animation: none !important; } }
/* متن‌ها: خوانا و مرتب */
.hint, .note > div, .slide p, .lead, .lbl2 { line-height: 2; }
.inpw.cr { --fill: #FFFFFF; }

.daysel { display: grid; grid-template-columns: repeat(auto-fit, minmax(40px, 1fr)); gap: 6px; margin-top: 6px; }
.daysel .opt { justify-content: center; padding: 8px 0; min-height: 42px; font-size: .9em; }
.daysel { grid-template-columns: repeat(auto-fit, minmax(34px, 1fr)); }
.daysel .opt { padding: 8px 0; }

.inpw.money { display: flex; align-items: center; }
.inpw.money .inp { flex: 1; text-align: left; direction: ltr; }
.inpw.money .unit { padding: 0 12px; color: var(--muted, #777); font-size: .9em; }

.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.tile { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; padding: 10px 4px; min-height: 0; background: transparent; border: 0; font: inherit; color: var(--ink); cursor: pointer; text-align: center; --fill: #FFFFFF; }
.tile .ic, .tile svg:first-child { width: 30px; height: 30px; }
.tile b { font-size: .86em; line-height: 1.5; }
.tile small { font-size: .72em; color: var(--muted, #777); line-height: 1.4; }
.tile .switch { position: absolute; top: 6px; left: 6px; transform: scale(.6); transform-origin: top left; }
@media (max-height: 820px) {
  #onb .art { width: min(200px, 54vw, 28vh); height: min(200px, 54vw, 28vh); }
  #onb .slide.card { padding: 14px 14px; }
  #onb .slide h2 { margin: 6px auto; font-size: 1.15em; }
  #onb .slide p { line-height: 1.8; font-size: .92em; }
}
body:not(.notabs) #app { padding-bottom: calc(var(--nav-h) + 22px + env(safe-area-inset-bottom)); }
@media (max-height: 700px) {
  .tile { padding: 6px 4px; } .tile .ic, .tile svg:first-child { width: 24px; height: 24px; }
  .tiles { gap: 6px; }
  .screen.grid { gap: 8px; }
  #onb .art { width: min(170px, 24vh); height: min(170px, 24vh); }
}
body > svg:first-child { position: absolute; width: 0; height: 0; overflow: hidden; }
#sheet:not(.open) { overflow: hidden; } html, body { overflow-x: hidden; }
@media (max-height: 700px) {
  .prog-top .av, .prog-top svg { width: 46px !important; height: 46px !important; }
  .screen.grid > .card:first-child { padding-top: 10px; padding-bottom: 10px; }
  .tile small { display: none; }
  .hdr { padding-top: 6px; padding-bottom: 4px; }
}
#onb .slide p { max-width: 350px; }

.me-foot { font-size: .78em; line-height: 1.7; }
