/* SK MOBILES V5.12.8 - final UI corrections (presentation only, loaded LAST).
   Fixes: stat-card icons, icon/text spacing, Tools note layout, round action buttons,
   5-tab bars that fit the screen, 3-line text limit. No business logic touched. */

/* ---------- 1. Stat cards: icon circle sits INSIDE the card, centred, bigger ---------- */
html:not(#q1#q2#q3) :is(.skcp-stat,.sk-credit-stat){
  position:relative!important;box-sizing:border-box!important;min-width:0!important;
  min-height:96px!important;padding:14px 58px 14px 14px!important;
  display:flex!important;flex-direction:column-reverse!important;align-items:flex-start!important;justify-content:flex-end!important;gap:4px!important;
  text-align:left!important;overflow:hidden!important}
html:not(#q1#q2#q3) :is(.skcp-stat,.sk-credit-stat)::before{
  content:""!important;position:absolute!important;left:auto!important;right:12px!important;top:12px!important;bottom:auto!important;
  width:40px!important;height:40px!important;margin:0!important;transform:none!important;border-radius:50%!important;box-sizing:border-box!important}
html:not(#q1#q2#q3) :is(.skcp-stat,.sk-credit-stat)::after{
  content:""!important;position:absolute!important;left:auto!important;right:22px!important;top:22px!important;bottom:auto!important;
  width:20px!important;height:20px!important;margin:0!important;transform:none!important;box-sizing:border-box!important}
html:not(#q1#q2#q3) :is(.skcp-stat,.sk-credit-stat) b{
  display:block!important;max-width:100%!important;margin:0!important;padding:0!important;text-align:left!important;
  font-size:clamp(17px,5.2vw,22px)!important;line-height:1.15!important;white-space:nowrap!important}
html:not(#q1#q2#q3) :is(.skcp-stat,.sk-credit-stat) span{
  display:block!important;max-width:100%!important;margin:0!important;text-align:left!important;
  font-size:clamp(9.5px,2.8vw,11px)!important;line-height:1.25!important;letter-spacing:.2px!important;white-space:normal!important;overflow-wrap:anywhere}

/* Home metric cards use the same icon pod: keep it inside its card too */
html:not(#q1#q2#q3) .sk-home-v2-metric{position:relative;overflow:hidden}

/* ---------- 2. Icon + text never touch (buttons, chips, pills, tabs) ---------- */
html:not(#q1#q2#q3) :is(button,.st-chip,.skcp-btn,.sk-credit-btn,.billing-tab-btn,.tools-others-label,.repair-spares-label):has(> svg,> .ski,> i){
  display:inline-flex;align-items:center;justify-content:center;gap:8px}
html:not(#q1#q2#q3) :is(button,.st-chip,.skcp-btn,.sk-credit-btn,.billing-tab-btn):has(> svg,> .ski) > :is(svg,.ski,i){flex:0 0 auto}
html:not(#q1#q2#q3) :is(button,.st-chip,.skcp-btn,.sk-credit-btn,.billing-tab-btn):has(> svg,> .ski) > span{min-width:0}
html:not(#q1#q2#q3) .st-chip{padding:9px 14px!important;min-height:40px;white-space:nowrap}
html:not(#q1#q2#q3) .st-note{margin:10px 0 14px!important;align-items:flex-start;gap:10px}
html:not(#q1#q2#q3) .st-note > span{flex:1 1 auto;min-width:0;line-height:1.45;text-align:left}

/* ---------- 3. Tools & Others / Repair Spares note label row ---------- */
html:not(#q1#q2#q3) body #toolsOthersNoteModal .st-label-row{
  display:flex!important;flex-wrap:nowrap!important;align-items:flex-start!important;justify-content:space-between!important;gap:10px!important;margin:16px 0 10px!important}
html:not(#q1#q2#q3) body #toolsOthersNoteModal .tools-others-label{
  flex:1 1 auto!important;min-width:0!important;display:flex!important;flex-wrap:wrap!important;align-items:center!important;justify-content:flex-start!important;
  gap:6px 8px!important;margin:0!important;text-align:left!important;font-size:.88rem!important;line-height:1.3}
html:not(#q1#q2#q3) body #toolsOthersNoteModal .tools-others-label > svg{flex:0 0 20px;width:20px;height:20px}
html:not(#q1#q2#q3) body #toolsOthersNoteModal .tools-others-label > span{flex:1 1 calc(100% - 32px);min-width:0;text-align:left}
html:not(#q1#q2#q3) body #toolsOthersNoteModal .tools-others-label::after{margin:0 0 0 28px!important;flex:0 0 auto!important}
html:not(#q1#q2#q3) body #toolsOthersNoteModal .st-label-row > .st-chip{flex:0 0 auto;align-self:flex-start;margin:0}

/* ---------- 4. Round icon-only action buttons are always perfect circles ---------- */
html:not(#q1#q2#q3) body #billingModal #billHistoryView .bill-history-actions{display:flex!important;align-items:center;gap:10px!important}
html:not(#q1#q2#q3) body #billingModal #billHistoryView .bill-history-actions button,
html:not(#q1#q2#q3) :is(.bill-history-edit,.bill-history-delete,.sk-credit-entry-edit,.skcp-customer-entry-edit,.skcl-edit,.skag-edit,.skwl-del,.skdl-del){
  box-sizing:border-box!important;width:44px!important;height:44px!important;min-width:44px!important;min-height:44px!important;max-width:44px!important;max-height:44px!important;
  flex:0 0 44px!important;aspect-ratio:1/1!important;border-radius:50%!important;padding:0!important;margin:0!important;
  display:inline-grid!important;place-items:center!important;line-height:1!important;overflow:hidden}
html:not(#q1#q2#q3) :is(.bill-history-edit,.bill-history-delete,.skcl-edit) :is(svg,.ski){width:22px!important;height:22px!important;margin:0!important}

/* ---------- 5. Tab bars with 5 or fewer tabs: equal width, all visible, no sideways scroll ---------- */
html:not(#q1#q2#q3) :is(.mobile-type-tabs,.sk-rj-tabs,.billing-tabs,.skot-tabs,.skw-tabs,.skspr-segs,.skpl-seg,.skdl2-tabs,.sk-used-view-chips,.skcp-filters):not(:has(> :nth-child(6))){
  display:grid!important;grid-auto-flow:column!important;grid-auto-columns:minmax(0,1fr)!important;gap:2px!important;overflow:hidden!important;
  padding:4px!important;box-sizing:border-box!important;width:100%!important}
html:not(#q1#q2#q3) :is(.mobile-type-tabs,.sk-rj-tabs,.billing-tabs,.skot-tabs,.skw-tabs,.skspr-segs,.skpl-seg,.skdl2-tabs,.sk-used-view-chips,.skcp-filters):not(:has(> :nth-child(6))) > *{
  flex:none!important;min-width:0!important;width:auto!important;max-width:none!important;box-sizing:border-box!important;
  /* V5.20.82: 2px side padding let the label's letters poke past the pill's rounded (999px) corners - 7px gives the capsule shape breathing room */
  padding:9px 7px!important;text-align:center!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:clip!important;
  font-size:clamp(9.5px,2.85vw,12.5px)!important;letter-spacing:-.1px!important;justify-content:center}
html:not(#q1#q2#q3) #skCreditLedgerPage .skcp-filters > *{padding:9px 1px!important}

/* ---------- 6. Max 3 lines of text everywhere (set by js/features/text-clamp-3.js) ---------- */
.sk-clamp3{display:-webkit-box!important;-webkit-box-orient:vertical!important;-webkit-line-clamp:3!important;line-clamp:3!important;
  overflow:hidden!important;text-overflow:ellipsis!important;overflow-wrap:anywhere;word-break:normal}
/* Popups / toasts / dialogs: message text is limited to 3 lines too */
:is(#toast,.toast,#skToast,.sk-toast,.sk-dialog-msg,.sk-confirm-msg,.sk-alert-msg,.modal-message,.popup-message,.sk-popup-text,.swal2-html-container){
  display:-webkit-box!important;-webkit-box-orient:vertical!important;-webkit-line-clamp:3!important;line-clamp:3!important;overflow:hidden!important;text-overflow:ellipsis!important;overflow-wrap:anywhere}
/* Never clamp invoices, receipts, previews or PDF export areas */
:is(.invoice,.invoice-page,#invoicePreview,#billPreview,[id*="nvoice"],[class*="invoice"],.receipt,[class*="receipt"],.sk-no-clamp,.sk-no-clamp *) .sk-clamp3{
  display:revert!important;-webkit-line-clamp:unset!important;overflow:visible!important}

/* ---------- 7. Solid primary buttons always keep readable (white) text, icon included, in every theme ---------- */
html:not(#q1#q2#q3) :is(.tools-others-action,.repair-spares-action):not(.tools-others-share):not(.repair-spares-share),
html:not(#q1#q2#q3) :is(.tools-others-action,.repair-spares-action):not(.tools-others-share):not(.repair-spares-share) *{color:#fff!important}

/* round buttons: very high specificity so older rules cannot square them */
html:not(#q1#q2#q3#q4#q5#q6#q7#q8#q9#q10#q11#q12#q13#q14#q15#q16#q17#q18#q19#q20#q21#q22#q23#q24#q25#q26#q27#q28#q29#q30#q31#q32#q33#q34#q35#q36#q37#q38#q39#q40#q41#q42#q43#q44#q45#q46#q47#q48#q49#q50#q51#q52#q53#q54#q55#q56#q57#q58#q59#q60#q61#q62#q63#q64#q65#q66#q67#q68#q69#q70#q71#q72#q73#q74#q75#q76#q77#q78#q79#q80#q81#q82#q83#q84#q85#q86#q87#q88#q89#q90#q91#q92#q93#q94#q95#q96#q97#q98#q99#q100#q101#q102#q103#q104#q105#q106#q107#q108#q109#q110#q111#q112#q113#q114#q115#q116#q117#q118#q119#q120#q121#q122#q123#q124#q125#q126#q127#q128#q129#q130#q131#q132#q133#q134#q135#q136#q137#q138#q139#q140#q141#q142#q143#q144#q145#q146#q147#q148#q149#q150#q151#q152#q153#q154#q155#q156#q157#q158#q159#q160#q161#q162#q163#q164#q165#q166#q167#q168#q169#q170#q171#q172#q173#q174#q175#q176#q177#q178#q179#q180#q181#q182#q183#q184#q185#q186#q187#q188#q189#q190#q191#q192#q193#q194#q195#q196#q197#q198#q199#q200#q201#q202#q203#q204#q205#q206#q207#q208#q209#q210#q211#q212#q213#q214#q215#q216#q217#q218#q219#q220#q221#q222#q223#q224#q225#q226#q227#q228#q229#q230#q231#q232#q233#q234#q235#q236#q237#q238#q239#q240#q241#q242#q243#q244#q245#q246#q247#q248#q249#q250#q251#q252#q253#q254#q255#q256#q257#q258#q259#q260#q261#q262#q263#q264#q265#q266#q267#q268#q269#q270#q271#q272#q273#q274#q275#q276#q277#q278#q279#q280#q281#q282#q283#q284#q285#q286#q287#q288#q289#q290#q291#q292#q293#q294#q295#q296#q297#q298#q299#q300#q301#q302#q303#q304#q305#q306#q307#q308#q309#q310#q311#q312#q313#q314#q315#q316#q317#q318#q319#q320#q321#q322#q323#q324#q325#q326#q327#q328#q329#q330#q331#q332#q333#q334#q335#q336#q337#q338#q339#q340#q341#q342#q343#q344#q345#q346#q347#q348#q349#q350#q351#q352#q353#q354#q355#q356#q357#q358#q359#q360#q361#q362#q363#q364#q365#q366#q367#q368#q369#q370#q371#q372#q373#q374#q375#q376#q377#q378#q379#q380#q381#q382#q383#q384#q385#q386#q387#q388#q389#q390#q391#q392#q393#q394#q395#q396#q397#q398#q399#q400#q401#q402#q403#q404#q405#q406#q407#q408#q409#q410#q411#q412#q413#q414#q415#q416#q417#q418#q419#q420#q421#q422#q423#q424#q425#q426#q427#q428#q429#q430#q431#q432#q433#q434#q435#q436#q437#q438#q439#q440#q441#q442#q443#q444#q445#q446#q447#q448#q449#q450#q451#q452#q453#q454#q455) body :is(.bill-history-edit,.bill-history-delete,.sk-credit-entry-edit,.skcp-customer-entry-edit,.skcl-edit,.skag-edit,.skwl-del,.skdl-del){border-radius:50%!important}


/* =====================================================================================
   V5.12.9 - presentation-only corrections (loaded LAST; no business logic touched)
   1) One type scale for Settings + popups (no tiny text, same colours as the other pages)
   2) Tempered / Display long-press: the tick box is now INSIDE every card (it used to sit off-screen)
   3) Customer Credit Ledger list: no grey shadow bands / curved shapes behind the rows
   ===================================================================================== */

/* ---------- 3. Credit ledger list rows stay flat in EVERY card-surface style (ios / shadow / blur) ---------- */
html:not(#z1#z2#z3#z4#z5#z6#z7#z8#z9#z10#z11#z12#z13#z14#z15#z16#z17#z18#z19#z20#z21#z22#z23#z24#z25#z26#z27#z28#z29#z30#z31#z32#z33#z34#z35#z36#z37#z38#z39#z40#z41#z42#z43#z44#z45#z46#z47#z48#z49#z50#z51#z52#z53#z54#z55#z56#z57#z58#z59#z60) body #skCreditLedgerPage #skCPMainView #skCPList .skcp-row,
html:not(#z1#z2#z3#z4#z5#z6#z7#z8#z9#z10#z11#z12#z13#z14#z15#z16#z17#z18#z19#z20#z21#z22#z23#z24#z25#z26#z27#z28#z29#z30#z31#z32#z33#z34#z35#z36#z37#z38#z39#z40#z41#z42#z43#z44#z45#z46#z47#z48#z49#z50#z51#z52#z53#z54#z55#z56#z57#z58#z59#z60) body #skCreditLedgerPage #skCPDetailView .skcl-row,
html:not(#z1#z2#z3#z4#z5#z6#z7#z8#z9#z10#z11#z12#z13#z14#z15#z16#z17#z18#z19#z20#z21#z22#z23#z24#z25#z26#z27#z28#z29#z30#z31#z32#z33#z34#z35#z36#z37#z38#z39#z40#z41#z42#z43#z44#z45#z46#z47#z48#z49#z50#z51#z52#z53#z54#z55#z56#z57#z58#z59#z60) body #skCreditLedgerPage #skCPMainView #skCPList .skcp-row:hover,
html:not(#z1#z2#z3#z4#z5#z6#z7#z8#z9#z10#z11#z12#z13#z14#z15#z16#z17#z18#z19#z20#z21#z22#z23#z24#z25#z26#z27#z28#z29#z30#z31#z32#z33#z34#z35#z36#z37#z38#z39#z40#z41#z42#z43#z44#z45#z46#z47#z48#z49#z50#z51#z52#z53#z54#z55#z56#z57#z58#z59#z60) body #skCreditLedgerPage #skCPMainView #skCPList .skcp-row:active{
  box-shadow:none!important;-webkit-box-shadow:none!important;
  backdrop-filter:none!important;-webkit-backdrop-filter:none!important;
  background-color:transparent!important;background-image:none!important;
  filter:none!important;mix-blend-mode:normal!important;
  -webkit-mask-image:none!important;mask-image:none!important;transform:none!important;border-radius:0!important}
html:not(#z1#z2#z3#z4#z5#z6#z7#z8#z9#z10#z11#z12#z13#z14#z15#z16#z17#z18#z19#z20#z21#z22#z23#z24#z25#z26#z27#z28#z29#z30#z31#z32#z33#z34#z35#z36#z37#z38#z39#z40#z41#z42#z43#z44#z45#z46#z47#z48#z49#z50#z51#z52#z53#z54#z55#z56#z57#z58#z59#z60) body #skCreditLedgerPage #skCPMainView #skCPList,
html:not(#z1#z2#z3#z4#z5#z6#z7#z8#z9#z10#z11#z12#z13#z14#z15#z16#z17#z18#z19#z20#z21#z22#z23#z24#z25#z26#z27#z28#z29#z30#z31#z32#z33#z34#z35#z36#z37#z38#z39#z40#z41#z42#z43#z44#z45#z46#z47#z48#z49#z50#z51#z52#z53#z54#z55#z56#z57#z58#z59#z60) body #skCreditLedgerPage #skCPDetailView .skcl-list{
  box-shadow:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;background-image:none!important}

/* ---------- 2. Tempered / Display long-press selection: tick box inside the card, always visible ---------- */
html:not(#z1#z2#z3#z4#z5#z6#z7#z8#z9#z10#z11#z12#z13#z14#z15#z16#z17#z18#z19#z20#z21#z22#z23#z24#z25#z26#z27#z28#z29#z30#z31#z32#z33#z34#z35#z36#z37#z38#z39#z40#z41#z42#z43#z44#z45#z46#z47#z48#z49#z50#z51#z52#z53#z54#z55#z56#z57#z58#z59#z60) body #cardsContainer.sk-tempered-selection-mode .glass-card{
  position:relative!important;width:auto!important;max-width:none!important;margin-right:0!important;
  -webkit-user-select:none!important;user-select:none!important;-webkit-touch-callout:none!important}
html:not(#z1#z2#z3#z4#z5#z6#z7#z8#z9#z10#z11#z12#z13#z14#z15#z16#z17#z18#z19#z20#z21#z22#z23#z24#z25#z26#z27#z28#z29#z30#z31#z32#z33#z34#z35#z36#z37#z38#z39#z40#z41#z42#z43#z44#z45#z46#z47#z48#z49#z50#z51#z52#z53#z54#z55#z56#z57#z58#z59#z60) body #cardsContainer .glass-card{-webkit-touch-callout:none;-webkit-tap-highlight-color:transparent}
html:not(#z1#z2#z3#z4#z5#z6#z7#z8#z9#z10#z11#z12#z13#z14#z15#z16#z17#z18#z19#z20#z21#z22#z23#z24#z25#z26#z27#z28#z29#z30#z31#z32#z33#z34#z35#z36#z37#z38#z39#z40#z41#z42#z43#z44#z45#z46#z47#z48#z49#z50#z51#z52#z53#z54#z55#z56#z57#z58#z59#z60) body #cardsContainer.sk-tempered-selection-mode .sk-tempered-check-wrap{
  position:absolute!important;left:auto!important;right:12px!important;top:12px!important;bottom:auto!important;
  transform:none!important;margin:0!important;width:28px!important;height:28px!important;border-radius:50%!important;
  display:flex!important;align-items:center!important;justify-content:center!important;
  background:var(--card-bg,#fff)!important;border:2px solid var(--primary,#2563eb)!important;
  box-shadow:0 2px 10px rgba(15,23,42,.28)!important;z-index:60!important;pointer-events:auto!important;opacity:1!important;visibility:visible!important}
html:not(#z1#z2#z3#z4#z5#z6#z7#z8#z9#z10#z11#z12#z13#z14#z15#z16#z17#z18#z19#z20#z21#z22#z23#z24#z25#z26#z27#z28#z29#z30#z31#z32#z33#z34#z35#z36#z37#z38#z39#z40#z41#z42#z43#z44#z45#z46#z47#z48#z49#z50#z51#z52#z53#z54#z55#z56#z57#z58#z59#z60) body #cardsContainer.sk-tempered-selection-mode .sk-tempered-check{
  display:block!important;width:16px!important;height:16px!important;margin:0!important;accent-color:var(--primary,#2563eb)}
html:not(#z1#z2#z3#z4#z5#z6#z7#z8#z9#z10#z11#z12#z13#z14#z15#z16#z17#z18#z19#z20#z21#z22#z23#z24#z25#z26#z27#z28#z29#z30#z31#z32#z33#z34#z35#z36#z37#z38#z39#z40#z41#z42#z43#z44#z45#z46#z47#z48#z49#z50#z51#z52#z53#z54#z55#z56#z57#z58#z59#z60) body #cardsContainer.sk-tempered-selection-mode .glass-card.sk-tempered-selected{
  outline:3px solid var(--primary,#2563eb)!important;outline-offset:-3px!important}

/* ---------- 1. One type scale.  Title 16 / row title 16 / option title 14 / description 12.5-13 / minimum 12 ---------- */
/* Settings list (main page): same size as the Credit Ledger / bill rows (16px) */
html:not(#z1#z2#z3#z4#z5#z6#z7#z8#z9#z10#z11#z12#z13#z14#z15#z16#z17#z18#z19#z20#z21#z22#z23#z24#z25#z26#z27#z28#z29#z30#z31#z32#z33#z34#z35#z36#z37#z38#z39#z40#z41#z42#z43#z44#z45#z46#z47#z48#z49#z50#z51#z52#z53#z54#z55#z56#z57#z58#z59#z60) body #settingsModal .skst-l{font-size:16px!important;color:var(--text)!important}
html:not(#z1#z2#z3#z4#z5#z6#z7#z8#z9#z10#z11#z12#z13#z14#z15#z16#z17#z18#z19#z20#z21#z22#z23#z24#z25#z26#z27#z28#z29#z30#z31#z32#z33#z34#z35#z36#z37#z38#z39#z40#z41#z42#z43#z44#z45#z46#z47#z48#z49#z50#z51#z52#z53#z54#z55#z56#z57#z58#z59#z60) body #settingsModal .skst-v{font-size:15px!important}
/* Settings sub-pages: headings, option titles, descriptions */
html:not(#z1#z2#z3#z4#z5#z6#z7#z8#z9#z10#z11#z12#z13#z14#z15#z16#z17#z18#z19#z20#z21#z22#z23#z24#z25#z26#z27#z28#z29#z30#z31#z32#z33#z34#z35#z36#z37#z38#z39#z40#z41#z42#z43#z44#z45#z46#z47#z48#z49#z50#z51#z52#z53#z54#z55#z56#z57#z58#z59#z60) body #settingsModal .st-head h3{font-size:15.5px!important;color:var(--text)!important}
html:not(#z1#z2#z3#z4#z5#z6#z7#z8#z9#z10#z11#z12#z13#z14#z15#z16#z17#z18#z19#z20#z21#z22#z23#z24#z25#z26#z27#z28#z29#z30#z31#z32#z33#z34#z35#z36#z37#z38#z39#z40#z41#z42#z43#z44#z45#z46#z47#z48#z49#z50#z51#z52#z53#z54#z55#z56#z57#z58#z59#z60) body #settingsModal :is(.st-head p,.st-head-copy p){font-size:13px!important;color:var(--text-muted)!important;line-height:1.35!important}
html:not(#z1#z2#z3#z4#z5#z6#z7#z8#z9#z10#z11#z12#z13#z14#z15#z16#z17#z18#z19#z20#z21#z22#z23#z24#z25#z26#z27#z28#z29#z30#z31#z32#z33#z34#z35#z36#z37#z38#z39#z40#z41#z42#z43#z44#z45#z46#z47#z48#z49#z50#z51#z52#z53#z54#z55#z56#z57#z58#z59#z60) body #settingsModal :is(.st-label,.st-custom b,.sk-v40-label,.skst-h){font-size:14px!important;color:var(--text)!important}
html:not(#z1#z2#z3#z4#z5#z6#z7#z8#z9#z10#z11#z12#z13#z14#z15#z16#z17#z18#z19#z20#z21#z22#z23#z24#z25#z26#z27#z28#z29#z30#z31#z32#z33#z34#z35#z36#z37#z38#z39#z40#z41#z42#z43#z44#z45#z46#z47#z48#z49#z50#z51#z52#z53#z54#z55#z56#z57#z58#z59#z60) body #settingsModal .skst-h{font-size:13px!important;color:var(--text-muted)!important}
html:not(#z1#z2#z3#z4#z5#z6#z7#z8#z9#z10#z11#z12#z13#z14#z15#z16#z17#z18#z19#z20#z21#z22#z23#z24#z25#z26#z27#z28#z29#z30#z31#z32#z33#z34#z35#z36#z37#z38#z39#z40#z41#z42#z43#z44#z45#z46#z47#z48#z49#z50#z51#z52#z53#z54#z55#z56#z57#z58#z59#z60) body #settingsModal :is(.st-ptext b,.st-ctext b,.st-row-copy b,.st-rad b,.st-tilecard b,.st-logo-copy b,.sk-perm-title,.st-note b,.st-note > span,.st-note span){
  font-size:14px!important;color:var(--text)!important;line-height:1.25!important}
html:not(#z1#z2#z3#z4#z5#z6#z7#z8#z9#z10#z11#z12#z13#z14#z15#z16#z17#z18#z19#z20#z21#z22#z23#z24#z25#z26#z27#z28#z29#z30#z31#z32#z33#z34#z35#z36#z37#z38#z39#z40#z41#z42#z43#z44#z45#z46#z47#z48#z49#z50#z51#z52#z53#z54#z55#z56#z57#z58#z59#z60) body #settingsModal :is(.st-ptext small,.st-ctext small,.st-row-copy small,.st-rad small,.st-tilecard small,.st-logo-copy small,.st-custom small,.sk-perm-status,.st-note.small,.st-note.small span,.skspr-note,.skspr-tx small,.sk-clamp3,.st-count){
  font-size:12.5px!important;color:var(--text-muted)!important;line-height:1.35!important}
html:not(#z1#z2#z3#z4#z5#z6#z7#z8#z9#z10#z11#z12#z13#z14#z15#z16#z17#z18#z19#z20#z21#z22#z23#z24#z25#z26#z27#z28#z29#z30#z31#z32#z33#z34#z35#z36#z37#z38#z39#z40#z41#z42#z43#z44#z45#z46#z47#z48#z49#z50#z51#z52#z53#z54#z55#z56#z57#z58#z59#z60) body #settingsModal :is(.st-flabel){font-size:13px!important;color:var(--text-muted)!important}
html:not(#z1#z2#z3#z4#z5#z6#z7#z8#z9#z10#z11#z12#z13#z14#z15#z16#z17#z18#z19#z20#z21#z22#z23#z24#z25#z26#z27#z28#z29#z30#z31#z32#z33#z34#z35#z36#z37#z38#z39#z40#z41#z42#z43#z44#z45#z46#z47#z48#z49#z50#z51#z52#z53#z54#z55#z56#z57#z58#z59#z60) body #settingsModal :is(.st-status,.skspr-seg,.st-custom code,.st-btn span,.st-btn,.sk-perm-btn){font-size:13.5px!important}
html:not(#z1#z2#z3#z4#z5#z6#z7#z8#z9#z10#z11#z12#z13#z14#z15#z16#z17#z18#z19#z20#z21#z22#z23#z24#z25#z26#z27#z28#z29#z30#z31#z32#z33#z34#z35#z36#z37#z38#z39#z40#z41#z42#z43#z44#z45#z46#z47#z48#z49#z50#z51#z52#z53#z54#z55#z56#z57#z58#z59#z60) body #settingsModal .st-custom code{color:var(--text)!important}
html:not(#z1#z2#z3#z4#z5#z6#z7#z8#z9#z10#z11#z12#z13#z14#z15#z16#z17#z18#z19#z20#z21#z22#z23#z24#z25#z26#z27#z28#z29#z30#z31#z32#z33#z34#z35#z36#z37#z38#z39#z40#z41#z42#z43#z44#z45#z46#z47#z48#z49#z50#z51#z52#z53#z54#z55#z56#z57#z58#z59#z60) body #settingsModal :is(.st-field .form-input,.st-field textarea,.st-terms,.sk-v40-row select,#skAutoSyncBoxV40 select){font-size:15px!important;color:var(--text)!important}
/* descriptions must not be cut to nothing by the 3-line limit on the bigger text */
html:not(#z1#z2#z3#z4#z5#z6#z7#z8#z9#z10#z11#z12#z13#z14#z15#z16#z17#z18#z19#z20#z21#z22#z23#z24#z25#z26#z27#z28#z29#z30#z31#z32#z33#z34#z35#z36#z37#z38#z39#z40#z41#z42#z43#z44#z45#z46#z47#z48#z49#z50#z51#z52#z53#z54#z55#z56#z57#z58#z59#z60) body #settingsModal .st-ptext small,html:not(#z1#z2#z3#z4#z5#z6#z7#z8#z9#z10#z11#z12#z13#z14#z15#z16#z17#z18#z19#z20#z21#z22#z23#z24#z25#z26#z27#z28#z29#z30#z31#z32#z33#z34#z35#z36#z37#z38#z39#z40#z41#z42#z43#z44#z45#z46#z47#z48#z49#z50#z51#z52#z53#z54#z55#z56#z57#z58#z59#z60) body #settingsModal .st-ctext small{line-height:1.3!important}

/* Tools & Others / Repair Spares popup */
html:not(#z1#z2#z3#z4#z5#z6#z7#z8#z9#z10#z11#z12#z13#z14#z15#z16#z17#z18#z19#z20#z21#z22#z23#z24#z25#z26#z27#z28#z29#z30#z31#z32#z33#z34#z35#z36#z37#z38#z39#z40#z41#z42#z43#z44#z45#z46#z47#z48#z49#z50#z51#z52#z53#z54#z55#z56#z57#z58#z59#z60) body #toolsOthersNoteModal :is(.skot-tab b,.skot-tab){font-size:13.5px!important}
html:not(#z1#z2#z3#z4#z5#z6#z7#z8#z9#z10#z11#z12#z13#z14#z15#z16#z17#z18#z19#z20#z21#z22#z23#z24#z25#z26#z27#z28#z29#z30#z31#z32#z33#z34#z35#z36#z37#z38#z39#z40#z41#z42#z43#z44#z45#z46#z47#z48#z49#z50#z51#z52#z53#z54#z55#z56#z57#z58#z59#z60) body #toolsOthersNoteModal .st-tpl .st-ptext b{font-size:13px!important;color:var(--text)!important}
html:not(#z1#z2#z3#z4#z5#z6#z7#z8#z9#z10#z11#z12#z13#z14#z15#z16#z17#z18#z19#z20#z21#z22#z23#z24#z25#z26#z27#z28#z29#z30#z31#z32#z33#z34#z35#z36#z37#z38#z39#z40#z41#z42#z43#z44#z45#z46#z47#z48#z49#z50#z51#z52#z53#z54#z55#z56#z57#z58#z59#z60) body #toolsOthersNoteModal .st-tpl .st-ptext small{font-size:12.5px!important;color:var(--text-muted)!important}
html:not(#z1#z2#z3#z4#z5#z6#z7#z8#z9#z10#z11#z12#z13#z14#z15#z16#z17#z18#z19#z20#z21#z22#z23#z24#z25#z26#z27#z28#z29#z30#z31#z32#z33#z34#z35#z36#z37#z38#z39#z40#z41#z42#z43#z44#z45#z46#z47#z48#z49#z50#z51#z52#z53#z54#z55#z56#z57#z58#z59#z60) body #toolsOthersNoteModal :is(.st-count,.st-head-copy p,.st-title-text small){font-size:12.5px!important;color:var(--text-muted)!important}
html:not(#z1#z2#z3#z4#z5#z6#z7#z8#z9#z10#z11#z12#z13#z14#z15#z16#z17#z18#z19#z20#z21#z22#z23#z24#z25#z26#z27#z28#z29#z30#z31#z32#z33#z34#z35#z36#z37#z38#z39#z40#z41#z42#z43#z44#z45#z46#z47#z48#z49#z50#z51#z52#z53#z54#z55#z56#z57#z58#z59#z60) body #toolsOthersNoteModal .tools-others-action,
html:not(#z1#z2#z3#z4#z5#z6#z7#z8#z9#z10#z11#z12#z13#z14#z15#z16#z17#z18#z19#z20#z21#z22#z23#z24#z25#z26#z27#z28#z29#z30#z31#z32#z33#z34#z35#z36#z37#z38#z39#z40#z41#z42#z43#z44#z45#z46#z47#z48#z49#z50#z51#z52#z53#z54#z55#z56#z57#z58#z59#z60) body #toolsOthersNoteModal .tools-others-action span{font-size:13.5px!important}
html:not(#z1#z2#z3#z4#z5#z6#z7#z8#z9#z10#z11#z12#z13#z14#z15#z16#z17#z18#z19#z20#z21#z22#z23#z24#z25#z26#z27#z28#z29#z30#z31#z32#z33#z34#z35#z36#z37#z38#z39#z40#z41#z42#z43#z44#z45#z46#z47#z48#z49#z50#z51#z52#z53#z54#z55#z56#z57#z58#z59#z60) body #toolsOthersNoteModal .st-note,html:not(#z1#z2#z3#z4#z5#z6#z7#z8#z9#z10#z11#z12#z13#z14#z15#z16#z17#z18#z19#z20#z21#z22#z23#z24#z25#z26#z27#z28#z29#z30#z31#z32#z33#z34#z35#z36#z37#z38#z39#z40#z41#z42#z43#z44#z45#z46#z47#z48#z49#z50#z51#z52#z53#z54#z55#z56#z57#z58#z59#z60) body #toolsOthersNoteModal .st-note span{font-size:13px!important}

/* Add / Edit item popup (Tempered / Display): inline 0.68-0.75rem text raised to the same scale */
html:not(#z1#z2#z3#z4#z5#z6#z7#z8#z9#z10#z11#z12#z13#z14#z15#z16#z17#z18#z19#z20#z21#z22#z23#z24#z25#z26#z27#z28#z29#z30#z31#z32#z33#z34#z35#z36#z37#z38#z39#z40#z41#z42#z43#z44#z45#z46#z47#z48#z49#z50#z51#z52#z53#z54#z55#z56#z57#z58#z59#z60) body #itemEditorModal [style*="font-size:0.72rem"],html:not(#z1#z2#z3#z4#z5#z6#z7#z8#z9#z10#z11#z12#z13#z14#z15#z16#z17#z18#z19#z20#z21#z22#z23#z24#z25#z26#z27#z28#z29#z30#z31#z32#z33#z34#z35#z36#z37#z38#z39#z40#z41#z42#z43#z44#z45#z46#z47#z48#z49#z50#z51#z52#z53#z54#z55#z56#z57#z58#z59#z60) body #itemEditorModal [style*="font-size: 0.72rem"],
html:not(#z1#z2#z3#z4#z5#z6#z7#z8#z9#z10#z11#z12#z13#z14#z15#z16#z17#z18#z19#z20#z21#z22#z23#z24#z25#z26#z27#z28#z29#z30#z31#z32#z33#z34#z35#z36#z37#z38#z39#z40#z41#z42#z43#z44#z45#z46#z47#z48#z49#z50#z51#z52#z53#z54#z55#z56#z57#z58#z59#z60) body #itemEditorModal [style*="font-size:.68rem"],html:not(#z1#z2#z3#z4#z5#z6#z7#z8#z9#z10#z11#z12#z13#z14#z15#z16#z17#z18#z19#z20#z21#z22#z23#z24#z25#z26#z27#z28#z29#z30#z31#z32#z33#z34#z35#z36#z37#z38#z39#z40#z41#z42#z43#z44#z45#z46#z47#z48#z49#z50#z51#z52#z53#z54#z55#z56#z57#z58#z59#z60) body #itemEditorModal [style*="font-size:0.75rem"],
html:not(#z1#z2#z3#z4#z5#z6#z7#z8#z9#z10#z11#z12#z13#z14#z15#z16#z17#z18#z19#z20#z21#z22#z23#z24#z25#z26#z27#z28#z29#z30#z31#z32#z33#z34#z35#z36#z37#z38#z39#z40#z41#z42#z43#z44#z45#z46#z47#z48#z49#z50#z51#z52#z53#z54#z55#z56#z57#z58#z59#z60) body #itemEditorModal [style*="font-size:.72rem"]{font-size:12.5px!important;line-height:1.45!important}
html:not(#z1#z2#z3#z4#z5#z6#z7#z8#z9#z10#z11#z12#z13#z14#z15#z16#z17#z18#z19#z20#z21#z22#z23#z24#z25#z26#z27#z28#z29#z30#z31#z32#z33#z34#z35#z36#z37#z38#z39#z40#z41#z42#z43#z44#z45#z46#z47#z48#z49#z50#z51#z52#z53#z54#z55#z56#z57#z58#z59#z60) body #itemEditorModal :is(b,strong){font-size:13px!important}
html:not(#z1#z2#z3#z4#z5#z6#z7#z8#z9#z10#z11#z12#z13#z14#z15#z16#z17#z18#z19#z20#z21#z22#z23#z24#z25#z26#z27#z28#z29#z30#z31#z32#z33#z34#z35#z36#z37#z38#z39#z40#z41#z42#z43#z44#z45#z46#z47#z48#z49#z50#z51#z52#z53#z54#z55#z56#z57#z58#z59#z60) body #itemEditorModal .submit-btn{font-size:14px!important}

/* Accessories, Admin panel, Customer credit popup, Billing signature box, Used stock note */
html:not(#z1#z2#z3#z4#z5#z6#z7#z8#z9#z10#z11#z12#z13#z14#z15#z16#z17#z18#z19#z20#z21#z22#z23#z24#z25#z26#z27#z28#z29#z30#z31#z32#z33#z34#z35#z36#z37#z38#z39#z40#z41#z42#z43#z44#z45#z46#z47#z48#z49#z50#z51#z52#z53#z54#z55#z56#z57#z58#z59#z60) body #skAccessoriesPage .submit-btn{font-size:13.5px!important}
html:not(#z1#z2#z3#z4#z5#z6#z7#z8#z9#z10#z11#z12#z13#z14#z15#z16#z17#z18#z19#z20#z21#z22#z23#z24#z25#z26#z27#z28#z29#z30#z31#z32#z33#z34#z35#z36#z37#z38#z39#z40#z41#z42#z43#z44#z45#z46#z47#z48#z49#z50#z51#z52#z53#z54#z55#z56#z57#z58#z59#z60) body :is(#skAccessoriesPage,#skCreditCustomerModal,#skAdminPanelModal,#billingModal .sk-signature-panel,#skUsedStockModal) :is(.sk-clamp3,.sk-used-storage-note,.sk-signature-status,.sk-admin-title){
  font-size:12.5px!important;color:var(--text-muted)!important}
html:not(#z1#z2#z3#z4#z5#z6#z7#z8#z9#z10#z11#z12#z13#z14#z15#z16#z17#z18#z19#z20#z21#z22#z23#z24#z25#z26#z27#z28#z29#z30#z31#z32#z33#z34#z35#z36#z37#z38#z39#z40#z41#z42#z43#z44#z45#z46#z47#z48#z49#z50#z51#z52#z53#z54#z55#z56#z57#z58#z59#z60) body #skAdminPanelModal .sk-admin-title{font-size:12.5px!important;letter-spacing:.06em}
html:not(#z1#z2#z3#z4#z5#z6#z7#z8#z9#z10#z11#z12#z13#z14#z15#z16#z17#z18#z19#z20#z21#z22#z23#z24#z25#z26#z27#z28#z29#z30#z31#z32#z33#z34#z35#z36#z37#z38#z39#z40#z41#z42#z43#z44#z45#z46#z47#z48#z49#z50#z51#z52#z53#z54#z55#z56#z57#z58#z59#z60) body #billingModal .sk-signature-panel :is(.sk-signature-panel-head span,.sk-signature-panel-head strong){font-size:13px!important}
html:not(#z1#z2#z3#z4#z5#z6#z7#z8#z9#z10#z11#z12#z13#z14#z15#z16#z17#z18#z19#z20#z21#z22#z23#z24#z25#z26#z27#z28#z29#z30#z31#z32#z33#z34#z35#z36#z37#z38#z39#z40#z41#z42#z43#z44#z45#z46#z47#z48#z49#z50#z51#z52#z53#z54#z55#z56#z57#z58#z59#z60) body #billingModal .sk-exch-toggle small{font-size:12.5px!important}
html:not(#z1#z2#z3#z4#z5#z6#z7#z8#z9#z10#z11#z12#z13#z14#z15#z16#z17#z18#z19#z20#z21#z22#z23#z24#z25#z26#z27#z28#z29#z30#z31#z32#z33#z34#z35#z36#z37#z38#z39#z40#z41#z42#z43#z44#z45#z46#z47#z48#z49#z50#z51#z52#z53#z54#z55#z56#z57#z58#z59#z60) body #skUsedStockModal .sk-used-empty-cell{color:var(--text-muted)!important}

/* Credit ledger stat boxes: labels no smaller than 12px (were 11 - 11.5px) */
html:not(#q1#q2#q3) :is(.skcp-stat,.sk-credit-stat) span{font-size:clamp(11.5px,3.1vw,12.5px)!important}

/* V5.12.9: 5-across radius pickers - text must never break inside a word */
html:not(#z1#z2#z3#z4#z5#z6#z7#z8#z9#z10#z11#z12#z13#z14#z15#z16#z17#z18#z19#z20) body #settingsModal .st-rad b{font-size:12.5px!important;overflow-wrap:normal!important;word-break:keep-all!important;letter-spacing:-.2px}
html:not(#z1#z2#z3#z4#z5#z6#z7#z8#z9#z10#z11#z12#z13#z14#z15#z16#z17#z18#z19#z20) body #settingsModal .st-rad small{font-size:12px!important}

/* =====================================================================================
   V5.12.10 - presentation-only corrections (loaded LAST; no business logic touched)
   1) Bottom navigation: selected item follows the real page (see js/features/nav-sync.js)
   2) Bigger icons inside the round icon badges on every page (Home cards, Credit Ledger, Used Stock...)
   3) Credit Ledger filter tabs (All / EMI / Credit / Outstanding / Completed) always fit the screen - no sideways scroll
   4) Credit Ledger customer list: separate capsule rows with a soft tinted block, page background visible between them
   ===================================================================================== */
@layer v51210{

/* ---------- 2. bigger icons in their round badges ---------- */
body .sk-home-v2-metric .sk-home-v2-metric-icon{width:44px!important;height:44px!important;flex:0 0 44px!important;min-width:44px!important}
body .sk-home-v2-metric .sk-home-v2-metric-icon svg{width:26px!important;height:26px!important;flex:0 0 26px!important}
body .sk-home-v2-metric .sk-home-v2-metric-copy{min-width:0!important}
body .sk-home-v2-metric .sk-home-v2-metric-copy > b{display:block!important;padding-right:50px!important;overflow-wrap:normal!important;word-break:normal!important;hyphens:none!important}
body .sk-home-v2-metric .sk-home-v2-metric-sub{display:block!important;margin-top:8px!important}
body .sk-home-v2-feature .sk-home-v2-feature-icon{width:58px!important;height:58px!important}
body .sk-home-v2-feature .sk-home-v2-feature-icon svg{width:30px!important;height:30px!important}
body .sk-home-v2-quick > span{width:50px!important;height:50px!important}
body .sk-home-v2-quick > span svg{width:26px!important;height:26px!important}
body #skCreditLedgerPage .skcp-stat::before{width:44px!important;height:44px!important;right:12px!important;top:12px!important}
body #skCreditLedgerPage .skcp-stat::after{width:26px!important;height:26px!important;right:21px!important;top:21px!important}
body #skCreditLedgerPage .skcp-stat{padding-right:62px!important}
body #skUsedStockModal #skUsedStatsGrid .sk-used-stat-icon{width:30px!important;height:30px!important;flex:0 0 30px!important}
body #skUsedStockModal #skUsedStatsGrid .sk-used-stat-icon svg{width:19px!important;height:19px!important}

/* ---------- 3. ledger filter tabs: all five fit on one line ---------- */
body #skCreditLedgerPage #skCPMainView .skcp-filters{
  display:flex!important;flex-wrap:nowrap!important;justify-content:space-between!important;align-items:center!important;
  gap:2px!important;overflow:hidden!important;overflow-x:hidden!important;padding:4px!important;box-sizing:border-box!important;
  width:100%!important;max-width:100%!important;container-type:inline-size}
body #skCreditLedgerPage #skCPMainView .skcp-filter{
  flex:1 1 auto!important;min-width:0!important;width:auto!important;padding:9px 4px!important;min-height:36px!important;
  margin:0!important;text-align:center!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:clip!important;
  font-size:clamp(10.5px,3.1vw,13px)!important;font-size:clamp(10.5px,3.35cqw,13.5px)!important;letter-spacing:-.2px!important;line-height:1.1!important;border-radius:999px!important}
body #skCreditLedgerPage #skCPMainView .skcp-filter[data-f="outstanding"],
body #skCreditLedgerPage #skCPMainView .skcp-filter[data-f="complete"]{flex-grow:1.5!important}

/* ---------- 4. ledger customer rows: capsule blocks with soft colour, background visible between ---------- */
body #skCreditLedgerPage #skCPMainView #skCPList{display:flex!important;flex-direction:column!important;gap:10px!important;padding:2px 0 6px!important;background:transparent!important}
body #skCreditLedgerPage #skCPMainView #skCPList .skcp-row{
  --cap-a:color-mix(in srgb,var(--primary,#2563eb) 9%,var(--card-bg,#fff));
  --cap-b:color-mix(in srgb,var(--skp-pri,var(--primary,#2563eb)) 3.5%,var(--card-bg,#fff));
  display:flex!important;align-items:center!important;gap:10px!important;box-sizing:border-box!important;width:100%!important;min-width:0!important;
  padding:9px 12px 9px 9px!important;border-radius:999px!important;
  background-color:var(--cap-a)!important;background-image:none!important;
  border:1px solid color-mix(in srgb,var(--primary,#2563eb) 16%,transparent)!important;
  box-shadow:0 2px 8px rgba(15,23,42,.06)!important;-webkit-box-shadow:0 2px 8px rgba(15,23,42,.06)!important;
  backdrop-filter:none!important;-webkit-backdrop-filter:none!important;filter:none!important;
  -webkit-mask-image:none!important;mask-image:none!important;transform:none!important;overflow:hidden!important}
body #skCreditLedgerPage #skCPMainView #skCPList .skcp-row:nth-child(even){background-color:var(--cap-b)!important}
body #skCreditLedgerPage #skCPMainView #skCPList .skcp-row::before,
body #skCreditLedgerPage #skCPMainView #skCPList .skcp-row::after{content:none!important;display:none!important}
body #skCreditLedgerPage #skCPMainView #skCPList .skcp-row:hover,
body #skCreditLedgerPage #skCPMainView #skCPList .skcp-row:active{
  background-color:color-mix(in srgb,var(--primary,#2563eb) 14%,var(--card-bg,#fff))!important;
  box-shadow:0 2px 8px rgba(15,23,42,.06)!important;border-radius:999px!important;transform:none!important}
body #skCreditLedgerPage #skCPMainView #skCPList .skcp-row .sk-credit-avatar{flex:0 0 42px!important;width:42px!important;height:42px!important}
/* ---------- 5. Customer detail header: title on one line, customer bar on its own row ---------- */
body #skCreditLedgerPage .modal-title:has(> .skcl-bar){flex-wrap:wrap!important;row-gap:8px!important;align-items:center!important}
body #skCreditLedgerPage .modal-title:has(> .skcl-bar) > span{flex:1 1 0!important;min-width:0!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
body #skCreditLedgerPage .modal-title:has(> .skcl-bar) > .skcl-bar{order:5!important;flex:0 0 100%!important;width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important}

/* ---------- 6. Speed: cards far below the screen are not styled/laid out until you scroll to them (Tempered / Display tap was slow) ---------- */
body #cardsContainer > .glass-card{content-visibility:auto!important;contain-intrinsic-size:auto 330px!important}

}

/* V5.12.10: bottom bar answers a tap at once (short transitions, no tap flash, no double-tap zoom delay) */
@layer v51210{
  html body nav.bottom-nav > .nav-item{touch-action:manipulation!important;-webkit-tap-highlight-color:transparent!important;transition:transform .09s ease,color .09s ease!important}
  html body nav.bottom-nav > .nav-item svg{transition:none!important}
  html body nav.bottom-nav > .nav-item:active{transform:scale(.95)!important}
}
