/* מנוע המערכות של קלוד לעצלנים: רכיבים מובייל פירסט + חמש ערכות נושא (library/styles.md).
   כל ערכת נושא מגדירה את אותם משתנים. המבנה זהה, והאופי משתנה. */

:root, [data-theme="clean-pro"] {
  --bg: #F4F5F7;
  --bg-fx: none;
  --surface: #FFFFFF;
  --surface-2: #F1F2F5;
  --text: #111827;
  --muted: #6B7280;
  --line: #E5E7EB;
  --accent: #2563EB;
  --on-accent: #FFFFFF;
  --hero: #111827;
  --on-hero: #FFFFFF;
  --radius: 14px;
  --radius-lg: 20px;
  --shadow: 0 1px 2px rgb(17 24 39 / .05), 0 8px 22px rgb(17 24 39 / .06);
  --glass: none;
  --nav-bg: #FFFFFF;
  --nav-text: #9CA3AF;
  --nav-active: #111827;
  --nav-active-bg: transparent;
  --font-head: 'Heebo', system-ui, sans-serif;
  --head-weight: 800;
  --num-weight: 800;
  --tile-1: var(--surface); --tile-2: var(--surface); --tile-3: var(--surface); --tile-4: var(--surface);
}

[data-theme="bold-dark"] {
  --bg: #0C0C0F;
  --surface: #18181D;
  --surface-2: #232329;
  --text: #F4F4F6;
  --muted: #8E8E99;
  --line: #2B2B33;
  --accent: #FFE14D;
  --on-accent: #111111;
  --hero: var(--accent);
  --on-hero: var(--on-accent);
  --radius: 18px;
  --radius-lg: 26px;
  --shadow: 0 12px 30px rgb(0 0 0 / .35);
  --nav-bg: #1E1E24;
  --nav-text: #8E8E99;
  --nav-active: var(--on-accent);
  --nav-active-bg: var(--accent);
  --font-head: 'Rubik', 'Heebo', sans-serif;
  --head-weight: 900;
  --num-weight: 900;
}

[data-theme="soft-air"] {
  --bg: #EEECF5;
  --bg-fx: linear-gradient(165deg, #E7E4F1 0%, #F7F6FB 55%, #ECE9F5 100%);
  --surface: rgb(255 255 255 / .62);
  --surface-2: rgb(255 255 255 / .45);
  --text: #1F1C2E;
  --muted: #7B7792;
  --line: rgb(31 28 46 / .08);
  --accent: #5B5BD6;
  --on-accent: #FFFFFF;
  --hero: rgb(255 255 255 / .72);
  --on-hero: #1F1C2E;
  --radius: 20px;
  --radius-lg: 28px;
  --shadow: 0 10px 30px rgb(80 70 140 / .10);
  --glass: blur(16px);
  --nav-bg: rgb(255 255 255 / .82);
  --nav-text: #8E8AA5;
  --nav-active: #FFFFFF;
  --nav-active-bg: #1F1C2E;
  --font-head: 'Heebo', system-ui, sans-serif;
  --head-weight: 700;
  --num-weight: 300;
}

[data-theme="photo-immersive"] {
  --bg: #0E1714;
  --surface: rgb(255 255 255 / .08);
  --surface-2: rgb(255 255 255 / .13);
  --text: #F3F6F4;
  --muted: #A9B8B1;
  --line: rgb(255 255 255 / .12);
  --accent: #FFFFFF;
  --on-accent: #0E1714;
  --hero: rgb(255 255 255 / .1);
  --on-hero: #FFFFFF;
  --radius: 22px;
  --radius-lg: 30px;
  --shadow: 0 16px 40px rgb(0 0 0 / .35);
  --glass: blur(14px);
  --nav-bg: rgb(20 32 28 / .72);
  --nav-text: #A9B8B1;
  --nav-active: var(--on-accent);
  --nav-active-bg: var(--accent);
  --font-head: 'Heebo', system-ui, sans-serif;
  --head-weight: 500;
  --num-weight: 300;
}

[data-theme="playful-blocks"] {
  --bg: #FFF9EF;
  --surface: #FFFFFF;
  --surface-2: #FFF1DC;
  --text: #1C1B1F;
  --muted: #6E6A75;
  --line: #F0E6D6;
  --accent: #1C1B1F;
  --on-accent: #FFFFFF;
  --hero: #FFE48A;
  --on-hero: #1C1B1F;
  --radius: 22px;
  --radius-lg: 30px;
  --shadow: 0 2px 0 rgb(28 27 31 / .06), 0 10px 24px rgb(120 90 40 / .08);
  --nav-bg: #FFFFFF;
  --nav-text: #9A95A2;
  --nav-active: #FFFFFF;
  --nav-active-bg: #1C1B1F;
  --font-head: 'Rubik', 'Heebo', sans-serif;
  --head-weight: 800;
  --num-weight: 800;
  --tile-1: #FFE48A; --tile-2: #E3DAFF; --tile-3: #CDEFDF; --tile-4: #FFD8C6;
}

/* חם ומסורתי: צבעי המותג של מסילת ישרים. שמנת, כחול כהה וזהב, כותרות בפונט ספרותי */
[data-theme="warm-heritage"] {
  --bg: #F7EFD9;
  --bg-fx: linear-gradient(180deg, #F9F3E3 0%, #F4EAD0 100%);
  --surface: #FFFCF5;
  --surface-2: #F2E7CA;
  --text: #1C2E55;
  --muted: #74684E;
  --line: #E7D9B5;
  --accent: #1C2E55;
  --on-accent: #FFFFFF;
  --gold: #C9A24A;
  --hero: #1C2E55;
  --on-hero: #F7EFD9;
  --radius: 16px;
  --radius-lg: 22px;
  --shadow: 0 1px 2px rgb(122 74 34 / .06), 0 10px 26px rgb(122 74 34 / .09);
  --nav-bg: #FFFCF5;
  --nav-text: #9A8D6E;
  --nav-active: #1C2E55;
  --nav-active-bg: #F2E3B6;
  --font-head: 'Frank Ruhl Libre', 'Heebo', serif;
  --head-weight: 800;
  --num-weight: 800;
}
[data-theme="warm-heritage"] .kpi:first-child b { color: var(--gold); }
[data-theme="warm-heritage"] .nav a.on { color: var(--nav-active); }

/* צבעי סטטוס */
:root { --c-red: #E5484D; --c-orange: #F76B15; --c-yellow: #E0A100; --c-green: #12A150; --c-teal: #0E9F9A; --c-blue: #3B6CF6; --c-purple: #8E4EC6; --c-gray: #8B8D98; }

/* ---------- בסיס ---------- */
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { background: var(--bg); }
body {
  margin: 0;
  min-height: 100vh;
  font-family: 'Heebo', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: var(--text);
  background: var(--bg-fx, none), var(--bg);
  background-attachment: fixed;
  overflow-x: clip;
}
button, input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-family: var(--font-head); font-weight: var(--head-weight); line-height: 1.15; text-wrap: balance; }
.i { width: 22px; height: 22px; flex: none; }
.ltr { direction: ltr; unicode-bidi: isolate; display: inline-block; }
.muted { color: var(--muted); }
[hidden] { display: none !important; }

/* ---------- מבנה ---------- */
.app { padding: 0 16px calc(110px + env(safe-area-inset-bottom)); max-width: 640px; margin: 0 auto; }
.top { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 12px; min-height: 64px; padding: 10px 0; margin-bottom: 4px; background: linear-gradient(var(--bg) 70%, transparent); }
[data-theme="soft-air"] .top { background: transparent; backdrop-filter: blur(10px); }
[data-theme="photo-immersive"] .top { background: linear-gradient(rgb(14 23 20 / .9) 60%, transparent); }
.top__title { flex: 1; min-width: 0; }
.top__title h1 { font-size: 22px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.top__title small { display: block; font-size: 13px; color: var(--muted); }
.icon-btn { display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--surface); color: var(--text); box-shadow: var(--shadow); backdrop-filter: var(--glass); cursor: pointer; }
.avatar { display: grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: 50%; font-weight: 800; color: var(--on-accent); background: var(--accent); }
.brand-logo { height: 34px; width: auto; }

/* ---------- ניווט ---------- */
.nav { position: fixed; z-index: 30; display: flex; justify-content: space-around; gap: 4px; }
.nav a { display: grid; justify-items: center; gap: 2px; min-width: 56px; padding: 8px 10px; border-radius: 999px; font-size: 11.5px; font-weight: 700; color: var(--nav-text); }
.nav a.on { color: var(--nav-active); background: var(--nav-active-bg); }
/* סרגל מלא: נקי וצבעוני */
.nav { left: 0; right: 0; bottom: 0; padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); background: var(--nav-bg); border-top: 1px solid var(--line); }
[data-theme="clean-pro"] .nav a.on { color: var(--accent); }
/* גלולה צפה: כהה, רך, תמונתי */
[data-theme="bold-dark"] .nav, [data-theme="soft-air"] .nav, [data-theme="photo-immersive"] .nav {
  left: 16px; right: 16px; bottom: calc(14px + env(safe-area-inset-bottom)); max-width: 460px; margin: 0 auto;
  padding: 8px; border: 1px solid var(--line); border-radius: 999px; box-shadow: var(--shadow); backdrop-filter: blur(16px);
}
[data-theme="bold-dark"] .nav a span, [data-theme="soft-air"] .nav a span, [data-theme="photo-immersive"] .nav a span { display: none; }
[data-theme="bold-dark"] .nav a, [data-theme="soft-air"] .nav a, [data-theme="photo-immersive"] .nav a { min-width: 52px; height: 52px; place-content: center; }
[data-theme="soft-air"] .nav a.on { border-radius: 16px; }
[data-theme="playful-blocks"] .nav a.on { padding-inline: 14px; }

/* כפתור צף */
.fab { position: fixed; z-index: 31; left: 18px; bottom: calc(92px + env(safe-area-inset-bottom)); display: inline-flex; align-items: center; gap: 8px; height: 58px; padding: 0 22px; border: 0; border-radius: 999px; font-weight: 800; font-size: 16px; color: var(--on-accent); background: var(--accent); box-shadow: 0 12px 28px color-mix(in srgb, var(--accent) 45%, transparent); cursor: pointer; }
[data-theme="bold-dark"] .fab, [data-theme="soft-air"] .fab, [data-theme="photo-immersive"] .fab { bottom: calc(96px + env(safe-area-inset-bottom)); }

/* ---------- כרטיסים ---------- */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); backdrop-filter: var(--glass); }
.section { margin-top: 26px; }
.section__head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.section__head h2 { font-size: 19px; }
.section__head a { font-size: 14px; font-weight: 700; color: var(--accent); }
[data-theme="photo-immersive"] .section__head a, [data-theme="playful-blocks"] .section__head a { color: var(--text); text-decoration: underline; }

/* ---------- דשבורד ---------- */
.greet h1 { font-size: 28px; }
.greet p { margin-top: 4px; color: var(--muted); }
.cover { position: relative; margin: 0 -16px; padding: 90px 20px 24px; min-height: 240px; border-radius: 0 0 var(--radius-lg) var(--radius-lg); background: linear-gradient(180deg, rgb(0 0 0 / .1), rgb(0 0 0 / .65)), var(--cover, linear-gradient(135deg, #1D3A30, #0E1714)); background-size: cover; background-position: center; color: #fff; overflow: hidden; }
.cover h1 { font-size: 36px; font-weight: 300; line-height: 1.05; }
.cover h1 b { font-weight: 700; }
.cover p { margin-top: 8px; color: rgb(255 255 255 / .8); }
.kpis { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 18px; }
.kpi { padding: 16px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); backdrop-filter: var(--glass); }
.kpi b { display: block; font-family: var(--font-head); font-weight: var(--num-weight); font-size: 32px; line-height: 1.1; letter-spacing: -.5px; }
.kpi span { font-size: 13.5px; font-weight: 600; color: var(--muted); }
.kpi:first-child { grid-column: 1 / -1; background: var(--hero); color: var(--on-hero); border-color: transparent; }
.kpi:first-child span { color: color-mix(in srgb, var(--on-hero) 72%, transparent); }
.kpi:first-child b { font-size: 42px; }
.kpis:has(.kpi:nth-child(4)) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.kpis:has(.kpi:nth-child(4)) .kpi:not(:first-child) { padding: 14px 12px; }
.kpis:has(.kpi:nth-child(4)) .kpi:not(:first-child) b { font-size: 28px; }
[data-theme="playful-blocks"] .kpi:nth-child(1) { background: var(--tile-1); }
[data-theme="playful-blocks"] .kpi:nth-child(2) { background: var(--tile-2); }
[data-theme="playful-blocks"] .kpi:nth-child(3) { background: var(--tile-3); }
[data-theme="playful-blocks"] .kpi:nth-child(4) { background: var(--tile-4); }
[data-theme="playful-blocks"] .kpi span { color: color-mix(in srgb, var(--text) 70%, transparent); }
[data-theme="soft-air"] .kpi b { font-size: 38px; }
[data-theme="soft-air"] .kpi:first-child b { font-size: 52px; }
.quick { display: flex; gap: 8px; overflow-x: auto; margin: 18px -16px 0; padding: 2px 16px 4px; scrollbar-width: none; }
.quick::-webkit-scrollbar { display: none; }

/* ---------- רשימות ---------- */
.search { position: relative; margin-top: 4px; }
.search input { width: 100%; height: 50px; padding: 0 46px 0 16px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); box-shadow: var(--shadow); backdrop-filter: var(--glass); outline: none; }
.search input:focus { border-color: var(--accent); }
.search .i { position: absolute; top: 14px; right: 16px; color: var(--muted); }
.chips { display: flex; gap: 8px; overflow-x: auto; margin: 12px -16px 0; padding: 2px 16px 6px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip-btn { display: inline-flex; align-items: center; gap: 6px; flex: none; height: 38px; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); font-size: 14px; font-weight: 700; color: var(--text); cursor: pointer; white-space: nowrap; backdrop-filter: var(--glass); }
.chip-btn.on { color: var(--on-accent); background: var(--accent); border-color: transparent; }
.chip-btn em { font-style: normal; font-size: 12px; opacity: .7; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--c); }
.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 8px; }
.toolbar small { color: var(--muted); font-weight: 600; }
.seg-view { display: inline-flex; padding: 3px; border-radius: 999px; background: var(--surface-2); }
.seg-view button { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 12px; border: 0; border-radius: 999px; background: transparent; font-size: 13.5px; font-weight: 700; color: var(--muted); cursor: pointer; }
.seg-view button.on { color: var(--text); background: var(--surface); box-shadow: var(--shadow); }
.seg-view .i { width: 18px; height: 18px; }

.list { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; margin-top: 12px; }
.item { display: flex; align-items: center; gap: 12px; min-width: 0; padding: 14px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); backdrop-filter: var(--glass); cursor: pointer; }
.item__av { display: grid; place-items: center; width: 46px; height: 46px; flex: none; border-radius: 14px; font-weight: 800; color: var(--text); background: var(--surface-2); overflow: hidden; }
.item__av img { width: 100%; height: 100%; object-fit: cover; }
[data-theme="bold-dark"] .item__av { border-radius: 50%; }
.item__main { flex: 1; min-width: 0; }
.item__main b { display: block; font-size: 16px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.item__main small { display: block; font-size: 13.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.item__end { display: grid; justify-items: end; gap: 6px; flex: none; }
.item__end small { font-size: 12.5px; color: var(--muted); font-weight: 600; }
.money { font-family: var(--font-head); font-weight: 800; }

.status { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 10px; border-radius: 999px; font-size: 12.5px; font-weight: 800; white-space: nowrap; color: color-mix(in srgb, var(--c) 78%, var(--text)); background: color-mix(in srgb, var(--c) 16%, transparent); }
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--c); }
[data-theme="bold-dark"] .status { color: #fff; background: var(--c); }
[data-theme="bold-dark"] .status::before { background: rgb(255 255 255 / .8); }

.empty { padding: 40px 20px; text-align: center; border: 1.5px dashed var(--line); border-radius: var(--radius-lg); color: var(--muted); }
.empty b { display: block; margin-bottom: 6px; font-size: 18px; color: var(--text); }

/* לוח עמודות */
.board { display: flex; gap: 12px; overflow-x: auto; margin: 14px -16px 0; padding: 2px 16px 10px; scroll-snap-type: x mandatory; scrollbar-width: none; }
.board::-webkit-scrollbar { display: none; }
.col { flex: none; width: 78%; max-width: 320px; scroll-snap-align: start; padding: 12px; border-radius: var(--radius-lg); background: var(--surface-2); }
.col__head { display: flex; align-items: center; gap: 8px; margin: 2px 4px 12px; font-weight: 800; }
.col__head em { margin-inline-start: auto; font-style: normal; font-size: 13px; color: var(--muted); }
.col .item { padding: 12px; margin-bottom: 8px; box-shadow: none; }
.col .empty { padding: 20px 10px; font-size: 14px; }

/* ---------- כרטיס פרטים ---------- */
.detail-hero { padding: 20px; margin-top: 6px; }
.detail-hero h2 { font-size: 26px; }
.detail-hero p { margin-top: 4px; color: var(--muted); }
.statuses { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.statuses button { height: 38px; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px; background: transparent; font-weight: 700; font-size: 14px; cursor: pointer; }
.statuses button.on { border-color: transparent; color: #fff; background: var(--c); }
.actions { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 10px; margin-top: 14px; }
.action { display: grid; justify-items: center; gap: 4px; padding: 12px 6px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); font-size: 13px; font-weight: 700; box-shadow: var(--shadow); backdrop-filter: var(--glass); }
.action .i { color: var(--accent); }
[data-theme="photo-immersive"] .action .i, [data-theme="playful-blocks"] .action .i { color: var(--text); }
.action--wa .i { color: #25D366 !important; }
.fields { margin-top: 14px; padding: 4px 16px; }
.fields div { display: flex; justify-content: space-between; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.fields div:last-child { border-bottom: 0; }
.fields dt { color: var(--muted); font-size: 14px; font-weight: 600; flex: none; }
.fields dd { margin: 0; font-weight: 600; text-align: left; overflow-wrap: anywhere; }
.fields dd.long { text-align: right; font-weight: 400; }
.fields img { max-width: 160px; border-radius: 12px; }

/* ---------- טפסים ---------- */
.form { display: grid; gap: 16px; margin-top: 8px; }
.f { display: grid; gap: 7px; }
.f > label, .f > span { font-size: 14px; font-weight: 700; color: var(--muted); }
.f > label i { font-style: normal; color: var(--c-red); }
.f input, .f textarea, .f select { width: 100%; min-height: 52px; padding: 12px 16px; border: 1.5px solid var(--line); border-radius: var(--radius); background: var(--surface); font-size: 17px; outline: none; backdrop-filter: var(--glass); }
.f textarea { min-height: 96px; resize: vertical; }
.f input:focus, .f textarea:focus, .f select:focus { border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 18%, transparent); }
.f select option { color: #111; }
.f .money-in { position: relative; }
.f .money-in input { padding-left: 40px; }
.f .money-in b { position: absolute; left: 16px; top: 14px; color: var(--muted); }
.f .err { font-size: 13.5px; font-weight: 700; color: var(--c-red); }
.f.bad input, .f.bad textarea, .f.bad select { border-color: var(--c-red); }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pills label { position: relative; display: inline-flex; align-items: center; gap: 6px; height: 44px; padding: 0 16px; border: 1.5px solid var(--line); border-radius: 999px; background: var(--surface); font-weight: 700; cursor: pointer; backdrop-filter: var(--glass); }
.pills input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; pointer-events: none; }
html, body { max-width: 100%; overflow-x: clip; }
/* מסך הבית: קוביות שאפשר ללחוץ עליהן */
.kpi--link { display: block; color: inherit; text-decoration: none; transition: transform .15s, box-shadow .15s; }
.kpi--link:hover { transform: translateY(-2px); }
.kpi--link:active { transform: scale(.98); }
.kpi-hero__top { display: flex; align-items: baseline; gap: 10px; }
.kpi-hero__top span { font-size: 16px !important; font-weight: 700 !important; }
.kpi-hero__list { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 6px; }
.kpi-hero__list li { display: flex; justify-content: space-between; gap: 10px; padding: 9px 12px; border-radius: 12px; background: rgb(255 255 255 / .1); font-size: 15px; font-weight: 600; }
.kpi-hero__list li span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: inherit !important; font-size: 15px !important; }
.kpi-hero__list li small { flex: none; opacity: .75; font-size: 13px; }
.kpi-hero__more { display: block; margin-top: 8px; font-size: 13px; opacity: .8; }
.count-pill { display: inline-grid; place-items: center; min-width: 26px; height: 26px; padding: 0 8px; margin-inline-start: 6px; border-radius: 999px; background: var(--surface-2); color: var(--muted); font-style: normal; font-size: 14px; vertical-align: middle; }
.fab-space { height: 84px; }
/* "היום שלי" אצל העובדת */
.myday { margin-top: 16px; padding: 18px 16px 12px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.myday--empty p { margin: 6px 0 4px; color: var(--muted); }
.myday__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.myday__head h2 { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 20px; }
.myday__head h2 .i { color: var(--gold, var(--accent)); }
.myday__count { font-weight: 800; color: var(--muted); font-size: 15px; }
.myday__bar { height: 10px; margin: 12px 0 6px; border-radius: 999px; background: var(--surface-2); overflow: hidden; }
.myday__bar i { display: block; height: 100%; border-radius: inherit; background: var(--c-green); transition: width .4s; }
.myday__list { list-style: none; margin: 0; padding: 0; }
.myday__item { display: flex; align-items: center; gap: 12px; padding: 12px 2px; border-top: 1px solid var(--line); }
.myday__item:first-child { border-top: 0; }
.myday__item a { flex: 1; min-width: 0; color: inherit; text-decoration: none; }
.myday__item b { display: block; font-size: 16px; line-height: 1.35; }
.myday__item small { display: block; margin-top: 2px; color: var(--muted); font-size: 13.5px; }
.myday__item.is-late small { color: var(--c-red); font-weight: 700; }
.myday__check { flex: none; display: grid; place-items: center; width: 34px; height: 34px; padding: 0; border-radius: 50%; border: 2.5px solid var(--c-green); background: transparent; color: var(--c-green); cursor: pointer; }
.myday__check:hover { background: color-mix(in srgb, var(--c-green) 12%, transparent); }
.myday__check.is-on { background: var(--c-green); color: #fff; }
.myday__check--call { border-color: var(--c-yellow); color: var(--c-yellow); cursor: default; }
.myday__check .i { width: 18px; height: 18px; }
.myday__item.is-done b { color: var(--muted); text-decoration: line-through; font-weight: 600; }
.myday__cheer { margin: 8px 0 4px; font-weight: 800; color: var(--c-green); }
.pay-box { border-right: 4px solid var(--c-green); }
.pay-box--bad { border-right-color: var(--c-red); }
.pay-row { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; border-top: 1px solid var(--line); }
.pay-row:first-of-type { border-top: 0; }
.pay-ok { color: var(--c-green); }
.pay-bad { color: var(--c-red); }
.pay-old { color: var(--muted); font-weight: 600; }
.pay-note { margin: 8px 0 0; color: var(--c-red); font-weight: 700; }
.pills label:has(input:checked) { color: var(--on-accent); background: var(--accent); border-color: transparent; }
.pills label.st:has(input:checked) { color: #fff; background: var(--c); }
.switch { display: flex; align-items: center; justify-content: space-between; min-height: 52px; padding: 0 16px; border: 1.5px solid var(--line); border-radius: var(--radius); background: var(--surface); font-weight: 700; }
.switch input { flex: none; width: 48px !important; height: 28px; min-height: 0 !important; padding: 0 !important; border: 0 !important; box-shadow: none !important; appearance: none; border-radius: 999px; background: var(--line); position: relative; cursor: pointer; transition: background .2s; }
.switch input::after { content: ""; position: absolute; top: 3px; right: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; transition: transform .2s; box-shadow: 0 1px 3px rgb(0 0 0 / .2); }
.switch input:checked { background: var(--accent); }
.switch input:checked::after { transform: translateX(-20px); }
.photo-in { display: flex; align-items: center; gap: 12px; }
.photo-in img { width: 72px; height: 72px; object-fit: cover; border-radius: 14px; }
.savebar { position: fixed; z-index: 40; left: 0; right: 0; bottom: 0; display: flex; gap: 10px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: linear-gradient(transparent, var(--bg) 30%); }
.savebar > * { flex: 1; }

/* ---------- כפתורים ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 22px; border: 0; border-radius: 999px; font-weight: 800; font-size: 16px; cursor: pointer; white-space: nowrap; }
.btn--primary { color: var(--on-accent); background: var(--accent); box-shadow: 0 10px 24px color-mix(in srgb, var(--accent) 35%, transparent); }
.btn--ghost { color: var(--text); background: var(--surface); border: 1.5px solid var(--line); backdrop-filter: var(--glass); }
.btn--danger { color: var(--c-red); background: transparent; border: 1.5px solid color-mix(in srgb, var(--c-red) 40%, transparent); }
.btn--sm { min-height: 40px; padding: 0 16px; font-size: 14px; }
.btn-row { display: flex; gap: 10px; margin-top: 18px; }
.btn-row > * { flex: 1; }

/* ---------- הגדרות ---------- */
.set { padding: 16px; margin-top: 12px; display: grid; gap: 14px; }
.set h3 { font-size: 17px; }
.themes { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.theme-card { display: grid; gap: 8px; padding: 12px; border: 2px solid var(--line); border-radius: var(--radius); background: var(--surface-2); cursor: pointer; text-align: right; }
.theme-card.on { border-color: var(--accent); }
.theme-card b { font-size: 14px; }
.swatches { display: flex; gap: 4px; }
.swatches i { width: 22px; height: 22px; border-radius: 50%; border: 1px solid rgb(0 0 0 / .08); }

/* ---------- הודעה ---------- */
.toast { position: fixed; z-index: 60; left: 16px; right: 16px; bottom: calc(96px + env(safe-area-inset-bottom)); max-width: 460px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 18px; border-radius: 999px; color: #fff; background: #1C1B22; box-shadow: 0 12px 30px rgb(0 0 0 / .3); font-weight: 700; transform: translateY(20px); opacity: 0; pointer-events: none; transition: .2s; }
.toast.on { transform: none; opacity: 1; pointer-events: auto; }
.toast button { border: 0; background: none; color: #FFE14D; font-weight: 800; cursor: pointer; }

/* ---------- כניסה ---------- */
.login { min-height: 100vh; display: grid; place-items: center; padding: 20px; }
.login .card { width: min(420px, 100%); padding: 28px 22px; display: grid; gap: 14px; text-align: center; }
.login h1 { font-size: 30px; }
.demo-note { margin-top: 14px; padding: 10px 14px; border-radius: var(--radius); font-size: 13.5px; background: color-mix(in srgb, var(--c-yellow) 16%, transparent); }

/* ---------- מחשב: ניווט בצד ---------- */
@media (min-width: 960px) {
  .app { max-width: 1060px; padding: 0 32px 60px; margin-right: 260px; margin-left: auto; }
  .nav, [data-theme="bold-dark"] .nav, [data-theme="soft-air"] .nav, [data-theme="photo-immersive"] .nav {
    top: 16px; bottom: 16px; right: 16px; left: auto; width: 220px; max-width: none; margin: 0;
    flex-direction: column; justify-content: flex-start; padding: 16px 12px; border: 1px solid var(--line); border-radius: var(--radius-lg);
  }
  .nav a, [data-theme="bold-dark"] .nav a, [data-theme="soft-air"] .nav a, [data-theme="photo-immersive"] .nav a { display: flex; grid-template-columns: none; place-content: initial; align-items: center; gap: 12px; height: 48px; padding: 0 14px; font-size: 15px; border-radius: 14px; }
  .nav a span, [data-theme="bold-dark"] .nav a span, [data-theme="soft-air"] .nav a span, [data-theme="photo-immersive"] .nav a span { display: inline; }
  .fab { bottom: 28px !important; left: 32px; }
  .kpis { grid-template-columns: repeat(4, 1fr); }
  .kpi:first-child { grid-column: auto; }
  .list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .col { width: 300px; }
  .savebar { right: 260px; }
  .toast { bottom: 28px; }
  .cover { margin: 0; border-radius: var(--radius-lg); }
}

@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* ---------- תוספות: משימות מסילת ישרים ---------- */
.item--st { border-inline-start: 5px solid var(--st); }
.item--done { opacity: .72; }
.logo-wrap { display: grid; place-items: center; width: 58px; height: 52px; flex: none; border-radius: 14px; background: #FFFCF5; isolation: isolate; overflow: hidden; }
.logo-wrap i { display: block; width: 54px; aspect-ratio: 1135 / 1020; background: url("logo.webp") center / 124.6% auto no-repeat; mix-blend-mode: multiply; }
.brand-top .top__title h1 { font-size: 20px; }
.dates { margin-top: 4px; color: var(--muted); font-weight: 600; }
.dates em { font-style: normal; color: var(--gold, var(--accent)); font-weight: 800; }
.kpi--c b { color: var(--c) !important; }
.kpi--c { border-top: 4px solid var(--c); }
.kpi:first-child.kpi--c { border-top: 0; }
.kpi:first-child.kpi--c b { color: var(--gold, var(--on-hero)) !important; }
.tcard { position: relative; display: grid; gap: 10px; padding: 14px 16px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); border-inline-start: 6px solid var(--st, var(--line)); box-shadow: var(--shadow); backdrop-filter: var(--glass); }
.tcard--done { opacity: .75; }
.tcard__head { display: flex; align-items: flex-start; gap: 10px; }
.tcard__head a { flex: 1; min-width: 0; }
.tcard__head b { display: block; font-size: 17px; font-weight: 800; line-height: 1.35; }
.tcard--done .tcard__head b { text-decoration: line-through; text-decoration-color: color-mix(in srgb, var(--text) 35%, transparent); }
.meta { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 13.5px; color: var(--muted); font-weight: 600; }
.meta .late { color: var(--c-red); font-weight: 800; }
.meta .urgent { color: var(--c-red); }
.note { padding: 10px 12px; border-radius: var(--radius); font-size: 15px; background: var(--surface-2); }
.note small { display: block; font-size: 12.5px; font-weight: 800; color: var(--muted); margin-bottom: 2px; }
.note--ask { background: color-mix(in srgb, var(--c-purple) 12%, transparent); }
.note--ask small { color: var(--c-purple); }
.qbtns { display: flex; flex-wrap: wrap; gap: 8px; }
.qbtns button { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 14px; border: 1.5px solid var(--line); border-radius: 999px; background: var(--surface); font-weight: 800; font-size: 14.5px; color: var(--text); cursor: pointer; }
.qbtns button .i { width: 18px; height: 18px; }
.qbtns .q-done { color: #fff; background: var(--c-green); border-color: transparent; }
.qbtns .q-part { color: color-mix(in srgb, var(--c-orange) 80%, var(--text)); border-color: color-mix(in srgb, var(--c-orange) 45%, transparent); }
.qbtns .q-wait { color: color-mix(in srgb, var(--c-purple) 80%, var(--text)); border-color: color-mix(in srgb, var(--c-purple) 45%, transparent); }
.qbtns .q-back { color: #fff; background: var(--c-purple); border-color: transparent; }
.qpanel { display: grid; gap: 10px; padding: 12px; border-radius: var(--radius); background: var(--surface-2); }
.qpanel label { font-weight: 800; font-size: 15px; }
.qpanel textarea { width: 100%; min-height: 84px; padding: 12px; border: 1.5px solid var(--line); border-radius: var(--radius); background: var(--surface); font-size: 16px; outline: none; resize: vertical; }
.qpanel textarea:focus { border-color: var(--accent); }
.qpanel .btn-row { margin: 0; }
.group-h { display: flex; align-items: center; gap: 8px; margin: 22px 0 10px; font-size: 17px; }
.group-h .dot { width: 11px; height: 11px; }
.group-h em { font-style: normal; font-size: 14px; color: var(--muted); }
.stack { display: grid; gap: 10px; }
.team-row { display: grid; gap: 8px; padding: 14px 16px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.team-row__top { display: flex; align-items: center; gap: 10px; }
.team-row__top b { flex: 1; font-size: 16.5px; }
.team-row__top .item__av { width: 40px; height: 40px; border-radius: 50%; font-size: 15px; }
.bar { display: flex; height: 10px; border-radius: 999px; overflow: hidden; background: var(--surface-2); }
.bar i { display: block; height: 100%; background: var(--c); }
.team-row small { color: var(--muted); font-weight: 600; font-size: 13.5px; }
.team-row small b { color: var(--text); }
.legend { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 10px; font-size: 13px; color: var(--muted); font-weight: 600; }
.legend span { display: inline-flex; align-items: center; gap: 5px; }
.who-chips { display: flex; gap: 8px; overflow-x: auto; margin: 6px -16px 0; padding: 2px 16px 6px; scrollbar-width: none; }
.who-chips::-webkit-scrollbar { display: none; }
.counts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.counts span { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; font-weight: 800; font-size: 14px; color: color-mix(in srgb, var(--c) 80%, var(--text)); background: color-mix(in srgb, var(--c) 14%, transparent); }
.timeline { list-style: none; margin: 0; padding: 4px 16px; }
.timeline li { position: relative; padding: 10px 18px 10px 0; border-right: 2px solid var(--line); }
.timeline li::before { content: ""; position: absolute; right: -7px; top: 16px; width: 12px; height: 12px; border-radius: 50%; background: var(--c, var(--gold, var(--accent))); border: 2px solid var(--surface); }
.timeline small { display: block; color: var(--muted); font-size: 12.5px; font-weight: 700; }
.recur-next { display: grid; gap: 2px; }
.recur-next b { font-size: 20px; font-family: var(--font-head); }
.recur-next span { color: var(--gold, var(--accent)); font-weight: 800; }
.pre { white-space: pre-wrap; font-size: 15px; line-height: 1.6; padding: 16px; }
.inbox textarea { width: 100%; min-height: 180px; padding: 14px; border: 1.5px solid var(--line); border-radius: var(--radius); background: var(--surface); font-size: 17px; outline: none; resize: vertical; }
.inbox textarea:focus { border-color: var(--accent); }
.steps { margin: 0; padding: 0 20px 0 0; display: grid; gap: 6px; color: var(--muted); font-size: 15px; }
@media (min-width: 960px) {
  .kpis:has(.kpi:nth-child(4)) { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .kpis:has(.kpi--hero):has(.kpi:nth-child(4)) { grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr)); }
  .kpis .kpi--hero { grid-column: auto; }
  .stack.two-col { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .team-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
}
@media (max-width: 959px) { .team-grid { display: grid; gap: 10px; } }

/* ---------- שעון, דרבונים, מצטיינים, תורמים ושכר ---------- */
.clock { display: flex; align-items: center; gap: 12px; margin-top: 16px; padding: 14px 16px; }
.clock__ico { display: grid; place-items: center; width: 46px; height: 46px; flex: none; border-radius: 50%; background: var(--surface-2); color: var(--muted); }
.clock--in .clock__ico { color: #fff; background: var(--c-green); }
.clock__txt { flex: 1; min-width: 0; display: grid; }
.clock__txt small { font-size: 12.5px; font-weight: 800; color: var(--muted); }
.clock__txt b { font-size: 17px; }
.clock__txt span { font-size: 13.5px; color: var(--muted); font-weight: 600; }
.clock .btn { flex: none; min-width: 96px; }
.clock { flex-wrap: wrap; }
.clock__btns { display: flex; gap: 8px; flex-wrap: wrap; width: 100%; }
.clock__btns .btn { flex: 1; min-width: 120px; }
.clock--break .clock__ico { color: #fff; background: var(--c-orange); }
.f .hint { font-size: 13.5px; color: var(--muted); font-weight: 600; }
.pct-pick { display: flex; gap: 8px; flex-wrap: wrap; }
.pct-pick label { flex: 1; min-width: 70px; display: grid; place-items: center; height: 44px; border: 1.5px solid var(--line); border-radius: var(--radius); background: var(--surface); font-weight: 800; cursor: pointer; }
.pct-pick input { position: absolute; opacity: 0; pointer-events: none; }
.pct-pick label:has(input:checked) { border-color: var(--c-orange); background: color-mix(in srgb, var(--c-orange) 14%, var(--surface)); }
.tprog { display: flex; align-items: center; gap: 10px; font-size: 13.5px; font-weight: 800; color: var(--muted); }
.tprog .bar { flex: 1; margin: 0; }
.pts-chip { color: var(--gold, var(--accent)) !important; font-weight: 800; }
.viewas-bar { position: fixed; inset: 0 0 auto 0; z-index: 60; display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; padding: 8px 16px; background: var(--c-purple); color: #fff; font-size: 14.5px; font-weight: 700; }
.viewas-bar button { height: 32px; padding: 0 14px; border: 0; border-radius: 999px; background: #fff; color: var(--c-purple); font-weight: 800; cursor: pointer; }
body.viewing-as { padding-top: 48px; }
.donor-tile { --t: var(--c-red); display: grid; gap: 12px; margin-top: 16px; padding: 16px 18px; border-radius: var(--radius-lg, 18px); background: var(--t); color: #fff; text-decoration: none; box-shadow: 0 8px 22px color-mix(in srgb, var(--t) 35%, transparent); transition: background .4s; }
.donor-tile--orange { --t: var(--c-orange); }
.donor-tile--yellow { --t: color-mix(in srgb, var(--c-yellow) 75%, #8a5a00); }
.donor-tile--teal { --t: var(--c-teal); }
.donor-tile--green { --t: var(--c-green); }
.donor-tile__row { display: flex; align-items: center; gap: 14px; }
.donor-tile__prog { display: grid; gap: 6px; }
.donor-tile__bar { display: block; height: 10px; border-radius: 999px; background: rgba(255,255,255,.3); overflow: hidden; }
.donor-tile__bar i { display: block; height: 100%; border-radius: 999px; background: #fff; transition: width .6s; }
.donor-tile__meta { font-size: 14px; font-weight: 700; }
.donor-tile__meta b { font-size: 16px; font-weight: 900; }
.donor-tile__ico { display: grid; place-items: center; width: 50px; height: 50px; flex: none; border-radius: 50%; background: rgba(255,255,255,.2); }
.donor-tile__ico .i { width: 26px; height: 26px; }
.donor-tile__txt { flex: 1; min-width: 0; display: grid; }
.donor-tile__txt small { font-size: 14px; font-weight: 800; opacity: .95; }
.donor-tile__txt b { font-size: 38px; line-height: 1.1; font-weight: 900; }
.donor-tile__txt span { font-size: 14px; font-weight: 700; opacity: .95; }
.donor-tile__go { display: inline-flex; align-items: center; gap: 4px; flex: none; padding: 8px 14px; border-radius: 999px; background: #fff; color: var(--t); font-weight: 900; font-size: 15px; }
.donor-tile__go .i { width: 16px; height: 16px; transform: scaleX(-1); }
.donor-tile--gold { --t: #B8862B; background: linear-gradient(135deg, #C9A24A, #A87A1F); }
.fr-card--gold { --t: #B8862B; }
.new-tag { display: inline-flex; align-items: center; gap: 4px; margin-inline-start: 6px; padding: 2px 10px; border-radius: 999px; background: #F3E2B3; color: #7A5A12; font-size: 13px; font-weight: 900; white-space: nowrap; }
.fr-card .new-tag { justify-self: start; margin: 0; }
.fr-grid { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.fr-card { --t: var(--c-gray); display: grid; gap: 8px; padding: 14px 16px; border-radius: var(--radius-lg, 18px); background: var(--surface); border: 1px solid var(--line); border-right: 6px solid var(--t); color: var(--text); text-decoration: none; }
.fr-card--red { --t: var(--c-red); } .fr-card--orange { --t: var(--c-orange); } .fr-card--yellow { --t: color-mix(in srgb, var(--c-yellow) 75%, #8a5a00); } .fr-card--teal { --t: var(--c-teal); } .fr-card--green { --t: var(--c-green); }
.fr-card__top { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.fr-card__top b { font-size: 17px; }
.fr-card__pct { font-size: 24px; font-weight: 900; color: var(--t); }
.fr-card__bar { height: 10px; border-radius: 999px; background: var(--surface-2); overflow: hidden; }
.fr-card__bar i { display: block; height: 100%; border-radius: 999px; background: var(--t); }
.fr-card small { font-size: 13.5px; color: var(--muted); font-weight: 600; }
.subs { padding: 12px 14px; }
.subs__list { list-style: none; margin: 0 0 10px; padding: 0; display: grid; gap: 4px; }
.subs__list li { display: flex; align-items: center; gap: 8px; min-height: 44px; border-bottom: 1px solid var(--line); }
.subs__list li:last-child { border-bottom: 0; }
.subs__list label { flex: 1; display: flex; align-items: center; gap: 10px; font-size: 16px; cursor: pointer; }
.subs__list input[type="checkbox"] { width: 22px; height: 22px; accent-color: var(--c-green); flex: none; }
.subs__list li.is-done span { text-decoration: line-through; color: var(--muted); }
.subs__list .icon-btn { width: 36px; height: 36px; color: var(--muted); }
.subs__add { display: flex; gap: 8px; }
.subs__add input { flex: 1; min-width: 0; height: 44px; padding: 0 12px; border: 1.5px solid var(--line); border-radius: var(--radius); background: var(--surface); font-size: 16px; }
.subs__add input:focus { outline: none; border-color: var(--accent); }
.nudges { display: grid; gap: 8px; margin-top: 14px; }
.nudge { display: flex; align-items: flex-start; gap: 10px; padding: 12px 14px; border-radius: var(--radius); font-weight: 700; font-size: 15px; line-height: 1.45; color: var(--text); background: color-mix(in srgb, var(--c) 12%, var(--surface)); border-inline-start: 4px solid var(--c); }
.nudge .i { flex: none; width: 20px; height: 20px; margin-top: 1px; color: var(--c); }
.stars-card { margin-top: 22px; padding: 16px; display: grid; gap: 10px; }
.stars-card__head { display: flex; align-items: center; gap: 8px; }
.stars-card__head .i { color: var(--gold, var(--accent)); }
.stars-card__head h2 { flex: 1; font-size: 19px; }
.stars-card__head a { font-size: 14px; font-weight: 700; color: var(--accent); }
.stars-card .muted b { color: var(--text); }
.star-cells { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.star-cell { display: grid; gap: 2px; padding: 12px 10px; border-radius: var(--radius); background: var(--surface-2); text-align: center; }
.star-cell small { font-size: 12px; font-weight: 800; color: var(--muted); }
.star-cell b { font-size: 15px; line-height: 1.25; }
.star-cell span { font-size: 12.5px; font-weight: 800; color: var(--gold, var(--accent)); }
.star-cell:first-child { color: var(--on-hero); background: var(--hero); }
.star-cell:first-child small { color: color-mix(in srgb, var(--on-hero) 70%, transparent); }
.winner { margin-top: 14px; padding: 22px 18px; display: grid; justify-items: center; gap: 4px; text-align: center; color: var(--on-hero); background: var(--hero); border: 0; }
.winner .i { width: 44px; height: 44px; color: var(--gold, var(--on-hero)); }
.winner small { font-weight: 800; opacity: .8; }
.winner h2 { font-size: 30px; color: var(--gold, var(--on-hero)); }
.winner p { opacity: .9; }
.rank { display: grid; place-items: center; width: 34px; height: 34px; flex: none; border-radius: 50%; font-weight: 900; background: var(--surface-2); }
.team-row:first-child .rank { color: var(--on-hero); background: var(--gold, var(--accent)); }
.pts { font-family: var(--font-head); font-weight: 900; font-size: 22px; }
.sheet-wrap { margin-top: 10px; overflow-x: auto; padding: 0; }
.sheet { width: 100%; min-width: 720px; border-collapse: collapse; font-size: 15px; }
.sheet th { position: sticky; top: 0; padding: 12px 10px; text-align: right; font-size: 13px; font-weight: 800; color: var(--muted); background: var(--surface-2); white-space: nowrap; }
.sheet td { padding: 11px 10px; border-top: 1px solid var(--line); vertical-align: top; white-space: nowrap; }
.sheet td.wrap { white-space: normal; min-width: 160px; max-width: 260px; color: var(--muted); font-size: 14px; }
.sheet td.num { font-weight: 800; }
.sheet td.num small { display: block; font-size: 12px; color: var(--muted); }
.sheet td.due { color: var(--c-red); font-weight: 800; }
.sheet tr[data-href] { cursor: pointer; }
.sheet tbody tr:hover { background: color-mix(in srgb, var(--accent) 5%, transparent); }
.sheet tr.row-due td:first-child { box-shadow: inset -4px 0 0 var(--c-yellow); }
.sheet .tel { color: var(--accent); font-weight: 700; }
.month-nav { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 14px; }
.month-nav b { font-family: var(--font-head); font-size: 20px; }
.flip .i { transform: scaleX(-1); }
.pay { padding: 16px; display: grid; gap: 10px; }
.pay__head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.pay__head b { font-size: 18px; }
.pay__total { font-family: var(--font-head); font-weight: 900; font-size: 28px; color: var(--c-green); }
.pay__rows { margin: 0; display: grid; gap: 0; }
.pay__rows div { display: flex; justify-content: space-between; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.pay__rows dt { color: var(--muted); font-weight: 700; flex: none; }
.pay__rows dd { margin: 0; text-align: left; }
.warn { padding: 8px 12px; border-radius: var(--radius); font-size: 14px; font-weight: 700; background: color-mix(in srgb, var(--c-yellow) 18%, transparent); }
.warn a { color: var(--accent); text-decoration: underline; }
.shift-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.shift-list a { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; padding: 10px 12px; border-radius: var(--radius); background: var(--surface-2); font-size: 14.5px; }
.shift-list a b { margin-inline-start: auto; }
.shift-list em { font-style: normal; font-size: 12px; font-weight: 800; color: var(--c-orange); }
