:root { --ds-page: #fdfcfb; --ds-ink: #251f21; --ds-ink-2: #585254; --ds-ink-4: #c0bebf; --ds-hairline: #eae9ea; --ds-teal: #73a89a; }
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--ds-page); color: var(--ds-ink); font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans Hebrew", "Arial Hebrew", Arial, sans-serif; font-size: 16px; line-height: 1.4; -webkit-text-size-adjust: 100%; }
.sa-card { max-width: 640px; margin: 0 auto; padding: 16px 16px 40px; }
.sa-group { margin-top: 12px; }
.sa-group-head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; border-bottom: 1px solid var(--ds-hairline); padding-bottom: 6px; }
.sa-group-head h2 { margin: 0; font-size: 18px; }
.sa-group-head span { color: var(--ds-ink-2); font-size: 13px; }
.sa-p { margin: 8px 0; }
.sa-callout { margin-top: 12px; padding: 10px 12px; background: #f4efec; border-radius: 6px; font-size: 13px; color: var(--ds-ink-2); }
.sa-callout p { margin: 4px 0 0; }
.sa-btn { font: inherit; min-height: 44px; padding: 0 14px; border-radius: 6px; border: 1px solid var(--ds-ink); background: var(--ds-page); color: var(--ds-ink); cursor: pointer; }
.sa-primary { background: var(--ds-ink); color: var(--ds-page); }
.sa-ghost { border-color: var(--ds-hairline); }
.sa-btn:disabled { color: var(--ds-ink-4); border-color: var(--ds-hairline); background: var(--ds-page); cursor: default; }
button { font-family: inherit; font-size: inherit; }
html, body, #root { margin: 0; min-height: 100%; }
body { background: var(--ds-page); }
.tk-bar { height: 8px; background: var(--ds-hairline); border-radius: 4px; overflow: hidden; }
.tk-bar-fill { height: 100%; background: var(--ds-teal); }
.tk-pct { margin: 8px 0 0; color: var(--ds-ink-2); }
.tk-books { list-style: none; margin: 0; padding: 0; }
.tk-book { border-bottom: 1px solid var(--ds-hairline); }
.tk-head { all: unset; box-sizing: border-box; width: 100%; min-height: 56px; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 2px 12px; padding: 8px 0; cursor: pointer; }
.tk-head:focus-visible { outline: 2px solid var(--ds-ink); outline-offset: 2px; }
.tk-name { font-weight: 600; }
.tk-count { color: var(--ds-ink-2); font-size: 13px; }
.tk-mini { grid-column: 1 / -1; height: 3px; background: var(--ds-hairline); border-radius: 2px; overflow: hidden; }
.tk-mini span { display: block; height: 100%; background: var(--ds-teal); }
.tk-panel { padding: 8px 0 16px; display: flex; flex-direction: column; gap: 16px; }
.tk-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(44px, 1fr)); gap: 6px; }
.tk-ch { all: unset; box-sizing: border-box; min-height: 44px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--ds-hairline); border-radius: 4px; cursor: pointer; color: var(--ds-ink); }
.tk-ch[aria-pressed="true"] { background: var(--ds-teal); border-color: var(--ds-teal); color: #fff; font-weight: 600; }
.tk-ch:focus-visible { outline: 2px solid var(--ds-ink); outline-offset: 2px; }
.tk-range { display: flex; flex-direction: column; gap: 8px; }
.tk-range-label { font-weight: 600; }
.tk-range-row { display: flex; gap: 12px; }
.tk-num { display: flex; flex-direction: column; gap: 4px; color: var(--ds-ink-2); flex: 1; }
.tk-num input { font: inherit; color: var(--ds-ink); min-height: 44px; box-sizing: border-box; width: 100%; padding: 0 10px; border: 1px solid var(--ds-hairline); border-radius: 4px; background: var(--ds-page); direction: ltr; text-align: right; }
.tk-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.tk-next, .tk-msg { margin: 0; color: var(--ds-ink-2); }
.tk-backup { display: flex; flex-direction: column; gap: 8px; }
.tk-text { font: inherit; font-size: 12px; direction: ltr; text-align: left; box-sizing: border-box; width: 100%; padding: 8px; border: 1px solid var(--ds-hairline); border-radius: 4px; background: var(--ds-page); color: var(--ds-ink); }
.tk-today { margin: 0; font-size: 22px; font-weight: 600; }
.tk-day-run { display: flex; flex-direction: column; gap: 6px; }
.tk-day-book { color: var(--ds-ink-2); font-size: 13px; }
.tk-day-chips { display: grid; grid-template-columns: repeat(auto-fill, minmax(56px, 1fr)); gap: 6px; max-width: 240px; }
.tk-tabs { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--ds-ink); border-radius: 6px; overflow: hidden; margin: 12px 0; }
.tk-tab-btn { all: unset; box-sizing: border-box; min-height: 48px; display: flex; align-items: center; justify-content: center; cursor: pointer; font-weight: 600; color: var(--ds-ink); }
.tk-tab-btn + .tk-tab-btn { border-inline-start: 1px solid var(--ds-ink); }
.tk-tab-btn[aria-selected="true"] { background: var(--ds-ink); color: var(--ds-page); }
.tk-tab-btn:focus-visible { outline: 2px solid var(--ds-teal); outline-offset: -4px; }
.tk-tab { display: flex; flex-direction: column; gap: 12px; }
.tk-date { display: flex; flex-direction: column; gap: 2px; }
.tk-date-main { font-size: 26px; font-weight: 600; }
.tk-date-sub { color: var(--ds-ink-2); }
.tk-nav { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
.tk-nav-btn { all: unset; box-sizing: border-box; min-height: 44px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--ds-hairline); border-radius: 6px; cursor: pointer; color: var(--ds-ink); }
.tk-nav-btn:disabled { color: var(--ds-ink-4); cursor: default; }
.tk-nav-btn:focus-visible, .tk-big:focus-visible, .tk-al:focus-visible, .tk-par-head:focus-visible { outline: 2px solid var(--ds-ink); outline-offset: 2px; }
.tk-card { border: 1px solid var(--ds-hairline); border-radius: 8px; padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.tk-h2 { margin: 0; font-size: 15px; font-weight: 600; color: var(--ds-ink-2); }
.tk-item { display: flex; flex-direction: column; gap: 6px; }
.tk-item-title { font-size: 18px; font-weight: 600; }
.tk-item-title-lg { font-size: 22px; }
.tk-item-sub { color: var(--ds-ink-2); }
.tk-note { margin: 0; color: var(--ds-ink-2); font-size: 13px; }
.tk-big { all: unset; box-sizing: border-box; width: 100%; min-height: 52px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--ds-ink); border-radius: 6px; cursor: pointer; font-weight: 600; color: var(--ds-ink); background: var(--ds-page); }
.tk-big[aria-pressed="true"] { background: var(--ds-teal); border-color: var(--ds-teal); color: #fff; }
.tk-parashot { display: flex; flex-direction: column; gap: 6px; padding-top: 8px; }
.tk-par { border: 1px solid var(--ds-hairline); border-radius: 6px; }
.tk-par-head { all: unset; box-sizing: border-box; width: 100%; min-height: 48px; padding: 0 12px; display: flex; align-items: center; justify-content: space-between; cursor: pointer; }
.tk-al-list { display: flex; flex-direction: column; gap: 6px; padding: 0 10px 12px; }
.tk-al { all: unset; box-sizing: border-box; min-height: 48px; padding: 6px 12px; display: grid; grid-template-columns: 64px 1fr auto; align-items: center; gap: 8px; border: 1px solid var(--ds-hairline); border-radius: 6px; cursor: pointer; }
.tk-al[aria-pressed="true"] { background: var(--ds-teal); border-color: var(--ds-teal); color: #fff; }
.tk-al-ord { font-weight: 600; }
.tk-al-mark { font-size: 12px; }
.tk-top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.tk-title { margin: 0; font-size: 28px; font-weight: 600; }
.tk-top-sub { color: var(--ds-ink-2); font-size: 14px; }
.tk-pct { margin: 6px 0 0; color: var(--ds-ink-2); font-size: 13px; }
.tk-tabs { margin: 10px 0; }
.tk-root { display: flex; flex-direction: column; gap: 10px; }
.tk-root > * { margin-top: 0; margin-bottom: 0; }
