/* SK MOBILES V5.16.3 — Daily Ledger page + "Customize Bottom Menu" screen.
   Uses the app's theme variables so every theme and dark mode works. New selectors only (skld-, sknc-). */

/* ---------- bottom-menu icon colours for the new buttons (same idea as the old Tempered / Display colours) ---------- */
html body nav.bottom-nav > #navLedger svg{color:#0ea5e9}
html body nav.bottom-nav > #navAccessories svg{color:#a855f7}
html body nav.bottom-nav > #navRepairs svg{color:#ef4444}
html body nav.bottom-nav > #navCredit svg{color:#f59e0b}
html body nav.bottom-nav > #navToday svg{color:#14b8a6}
html body nav.bottom-nav > #navMonth svg{color:#6366f1}
html body nav.bottom-nav > #navUsed svg{color:#8b5cf6}
html body nav.bottom-nav > #navDealer svg{color:#ec4899}
html body nav.bottom-nav > #navLedger.active svg{background:rgba(14,165,233,.15)}
html body nav.bottom-nav > #navAccessories.active svg{background:rgba(168,85,247,.15)}
html body nav.bottom-nav > #navRepairs.active svg{background:rgba(239,68,68,.15)}
html body nav.bottom-nav > #navCredit.active svg{background:rgba(245,158,11,.15)}
html body nav.bottom-nav > #navToday.active svg{background:rgba(20,184,166,.15)}
html body nav.bottom-nav > #navMonth.active svg{background:rgba(99,102,241,.15)}
html body nav.bottom-nav > #navUsed.active svg{background:rgba(139,92,246,.15)}
html body nav.bottom-nav > #navDealer.active svg{background:rgba(236,72,153,.15)}
html body nav.bottom-nav > .nav-item:not(#navHome) svg{stroke-width:2;box-sizing:content-box;padding:4px 7px;margin:-4px 0 -1px;border-radius:10px;transition:background-color .2s}

/* ---------- Customize Bottom Menu ---------- */
#skNavCustomModal .sknc-sheet{max-width:520px}
.sknc-body{padding:12px 14px 18px}
.sknc-hint{margin:0 0 12px;font-size:.82rem;color:var(--text-muted,#64748b);line-height:1.4}
.sknc-preview{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px;margin-bottom:14px}
.sknc-chip{display:flex;align-items:center;justify-content:center;min-height:38px;padding:4px 6px;border-radius:999px;border:1px solid var(--card-border,#e2e8f0);background:var(--model-bg,#f8fafc);font-size:.6rem;word-break:keep-all;font-weight:700;text-align:center;color:var(--text,#0f172a)}
.sknc-chip.sknc-home{background:var(--primary,#2563eb);color:#fff;border-color:transparent}
.sknc-row{display:flex;align-items:center;gap:10px;margin-bottom:10px}
.sknc-row>span{flex:0 0 64px;font-size:.8rem;font-weight:700;color:var(--text-muted,#64748b)}
.sknc-row select{flex:1 1 auto;min-width:0}
.sknc-actions{display:flex;gap:8px;margin-top:14px}
.sknc-actions .submit-btn{flex:1 1 0}
.sknc-reset{background:var(--model-bg,#f1f5f9)!important;color:var(--text,#0f172a)!important}

/* ---------- Daily Ledger ---------- */
#skLedgerPage .skld-sheet,#skLedgerForm .skld-sheet{max-width:560px;max-height:94vh;display:flex;flex-direction:column;overflow:hidden}
#skLedgerPage .skld-body,#skLedgerForm .skld-body{flex:1 1 auto;min-height:0;padding:10px 12px calc(96px + env(safe-area-inset-bottom,0px));overflow-y:auto;-webkit-overflow-scrolling:touch}
#skLedgerForm .skld-body{padding-bottom:28px}
.skld-f{display:block;margin-bottom:10px}
.skld-f>span,.skld-lbl{display:block;margin-bottom:4px;font-size:.74rem;font-weight:800;color:var(--text-muted,#64748b)}
.skld-f .form-input{width:100%;box-sizing:border-box}
.skld-lines{margin-bottom:8px}
.skld-line{display:flex;gap:6px;margin-bottom:6px}
.skld-line .skld-msel{flex:0 0 38%}
.skld-line .skld-lamt{flex:1 1 auto;min-width:0}
.skld-x{flex:0 0 38px;border-radius:10px;border:1px solid var(--card-border,#e2e8f0);background:var(--card-bg,#fff);color:var(--danger,#e11d48)}

