/* تكافل 1.1 — تعديلات المراجعة على tokens.css وbundle.css */
@font-face { font-family: "TK Digits"; font-weight: 100 600; src: local("Arial"), local("ArialMT"), local("Helvetica Neue"), local("HelveticaNeue"), local("Roboto"), local("Segoe UI"); unicode-range: U+0030-0039, U+002C, U+002E, U+003A; }
@font-face { font-family: "TK Digits"; font-weight: 700 900; src: local("Arial Bold"), local("Arial-BoldMT"), local("Helvetica Neue Bold"), local("HelveticaNeue-Bold"), local("Roboto Bold"), local("Roboto-Bold"), local("Segoe UI Bold"); unicode-range: U+0030-0039, U+002C, U+002E, U+003A; }
:root, [data-theme="light"] {
  --font-sans: "TK Digits", Tajawal, system-ui, -apple-system, "Segoe UI", Tahoma, sans-serif;
  --canvas: #ebeff4; --line-soft: #dce2ea; --line: #b8c2cf; --surface-soft: #e9edf3; --line-input: #7b8699; --soft-hover: #dde3ea;
  --radius-xs: 4px; --radius-sm: 6px; --radius-md: 6px; --radius-lg: 12px; --radius-xl: 12px; --radius-2xl: 12px;
  --chart-1: #1f3d60; --chart-2: #029daf; --chart-3: #0a8a6e; --chart-4: #a86b12;
}
:root[data-theme="dark"], [data-theme="dark"] {
  --canvas: #08111e; --line-soft: #2a4060; --line: #3a5276; --surface-soft: #1a2c47; --line-input: #8da0b8; --soft-hover: #22385a;
  --chart-1: #7fa8dc; --chart-2: #3cc3d6; --chart-3: #3fd3a8; --chart-4: #f5b84a;
}
.tk-btn { box-shadow: none; }
.tk-btn:not(.tk-btn--lg), .tk-chip, .tk-field__label, .tk-field__affix, .tk-check, .tk-table, .tk-sidebar__item, .tk-alert, .tk-card__sub, .tk-stat__label, .tk-progress__head, .tk-pager, .tk-topbar__name, .tk-tabs--segment .tk-tab, .tk-dialog__desc { font-size: 14px; }
.tk-badge, .tk-topbar__crumbs, .tk-topbar__role, .tk-tab__count, .tk-stat__foot, .tk-sidebar__section, .tk-sidebar__tagline, .tk-sidebar__badge { font-size: 13px; }
.tk-badge { padding: 4px 10px; line-height: 1.4; }
.tk-field__hint { font-size: 14px; }
.tk-topbar__title { font-size: 22px; }
.tk-table .tk-num { text-align: start; }
.tk-progress__bar { background: var(--accent-strong); }
.tk-btn--soft:hover { background: var(--soft-hover); color: var(--ink-brand); }
.tk-btn--outline { border-color: var(--line-input); }
.tk-btn--outline:hover { border-color: var(--ink-muted); background: var(--surface-soft); }
.tk-tab[aria-selected="true"] { color: var(--accent-strong); border-bottom-color: var(--accent-strong); }
.tk-chip[aria-pressed="true"], .tk-chip[aria-pressed="true"]:hover { background: var(--accent-strong); color: var(--on-accent-strong); }
.tk-table__check { width: 24px; }
.tk-check__input { width: 24px; height: 24px; margin: -3px; }
.tk-sidebar__brand img { display: block; width: 196px; height: auto; }
.tk-topbar__crumbs { white-space: nowrap; overflow: hidden; }
.tk-topbar__titles { flex: 0 1 auto; }
@media (max-width: 1240px) { .tk-topbar__search { display: none; } .tk-topbar__search + .tk-topbar__actions { margin-inline-start: auto; } }
.tk-sidebar { align-self: flex-start; height: auto; min-height: 100%; }
.tk-sidebar > * { flex-shrink: 0; }
