/* Compact navigation markers with deliberate contrast. */
:root #sidebar .nav-hub-badge{gap:3px;padding:1px 5px;font-size:10px;font-weight:550;line-height:1.4;letter-spacing:0;min-width:0;flex-shrink:0;border-width:1px}
:root #sidebar .nav-hub-badge svg{width:10px!important;height:10px!important;stroke-width:1.3!important;opacity:1;fill:none}
:root #sidebar .nav-hub-badge svg *{stroke-width:1.3!important}
:root #sidebar .nav-item.is-locked{opacity:1}
:root #sidebar .nav-pro-badge,:root .hub-tool-title .nav-pro-badge{background:#145747!important;color:#ffffff!important;border:1px solid #145747!important;font-size:10px;font-weight:750;letter-spacing:.06em;line-height:1.5;padding:1px 7px;border-radius:6px;text-shadow:none;opacity:1}
:root:is([data-theme=dark],[data-theme=navy],[data-theme=noir]) #sidebar .nav-pro-badge,:root:is([data-theme=dark],[data-theme=navy],[data-theme=noir]) .hub-tool-title .nav-pro-badge{background:#ebcc80!important;color:#173b2c!important;border-color:#ebcc80!important}
:root #sidebar .nav-item.active .nav-pro-badge{background:#ffffff!important;color:#145747!important;border-color:#ffffff!important}
:root,:root[data-theme=light]{--kl-cursor:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2218%22%20height%3D%2222%22%20viewBox%3D%220%200%2018%2022%22%3E%3Cpath%20d%3D%22M2%202v16l4-4%203%206%203-1-3-6%206-1Z%22%20fill%3D%22%23145747%22%20stroke%3D%22%23fffef6%22%20stroke-width%3D%221%22%20stroke-linejoin%3D%22round%22%2F%3E%3C%2Fsvg%3E") 2 2,auto;--kl-pointer:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2220%22%20height%3D%2222%22%20viewBox%3D%220%200%2030%2032%22%3E%3Cpath%20d%3D%22M9%2017V5a2.4%202.4%200%200%201%204.8%200v9-3a2.3%202.3%200%200%201%204.6%200v3-1a2.2%202.2%200%200%201%204.4%200v2a2.2%202.2%200%200%201%204.4%200v6c0%204-3%207-3%208H12c-1-3-6-7-8-10-2-3%201-6%203-3l2%202Z%22%20fill%3D%22%23fffef6%22%20stroke%3D%22%23145747%22%20stroke-width%3D%221.6%22%20stroke-linejoin%3D%22round%22%2F%3E%3C%2Fsvg%3E") 8 3,pointer;--kl-text:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2214%22%20height%3D%2220%22%20viewBox%3D%220%200%2014%2020%22%3E%3Cpath%20d%3D%22M4%202h6M7%202v16M4%2018h6%22%20fill%3D%22none%22%20stroke%3D%22%23fffef6%22%20stroke-width%3D%223%22%2F%3E%3Cpath%20d%3D%22M4%202h6M7%202v16M4%2018h6%22%20fill%3D%22none%22%20stroke%3D%22%23145747%22%20stroke-width%3D%221.2%22%2F%3E%3C%2Fsvg%3E") 7 10,text}
:root[data-theme=sepia]{--kl-cursor:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2218%22%20height%3D%2222%22%20viewBox%3D%220%200%2018%2022%22%3E%3Cpath%20d%3D%22M2%202v16l4-4%203%206%203-1-3-6%206-1Z%22%20fill%3D%22%2379502e%22%20stroke%3D%22%23fffaf0%22%20stroke-width%3D%221%22%20stroke-linejoin%3D%22round%22%2F%3E%3C%2Fsvg%3E") 2 2,auto;--kl-pointer:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2220%22%20height%3D%2222%22%20viewBox%3D%220%200%2030%2032%22%3E%3Cpath%20d%3D%22M9%2017V5a2.4%202.4%200%200%201%204.8%200v9-3a2.3%202.3%200%200%201%204.6%200v3-1a2.2%202.2%200%200%201%204.4%200v2a2.2%202.2%200%200%201%204.4%200v6c0%204-3%207-3%208H12c-1-3-6-7-8-10-2-3%201-6%203-3l2%202Z%22%20fill%3D%22%23fffaf0%22%20stroke%3D%22%2379502e%22%20stroke-width%3D%221.6%22%20stroke-linejoin%3D%22round%22%2F%3E%3C%2Fsvg%3E") 8 3,pointer;--kl-text:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2214%22%20height%3D%2220%22%20viewBox%3D%220%200%2014%2020%22%3E%3Cpath%20d%3D%22M4%202h6M7%202v16M4%2018h6%22%20fill%3D%22none%22%20stroke%3D%22%23fffaf0%22%20stroke-width%3D%223%22%2F%3E%3Cpath%20d%3D%22M4%202h6M7%202v16M4%2018h6%22%20fill%3D%22none%22%20stroke%3D%22%2379502e%22%20stroke-width%3D%221.2%22%2F%3E%3C%2Fsvg%3E") 7 10,text}
:root[data-theme=dark]{--kl-cursor:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2218%22%20height%3D%2222%22%20viewBox%3D%220%200%2018%2022%22%3E%3Cpath%20d%3D%22M2%202v16l4-4%203%206%203-1-3-6%206-1Z%22%20fill%3D%22%23d8bc76%22%20stroke%3D%22%23152d24%22%20stroke-width%3D%221%22%20stroke-linejoin%3D%22round%22%2F%3E%3C%2Fsvg%3E") 2 2,auto;--kl-pointer:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2220%22%20height%3D%2222%22%20viewBox%3D%220%200%2030%2032%22%3E%3Cpath%20d%3D%22M9%2017V5a2.4%202.4%200%200%201%204.8%200v9-3a2.3%202.3%200%200%201%204.6%200v3-1a2.2%202.2%200%200%201%204.4%200v2a2.2%202.2%200%200%201%204.4%200v6c0%204-3%207-3%208H12c-1-3-6-7-8-10-2-3%201-6%203-3l2%202Z%22%20fill%3D%22%23152d24%22%20stroke%3D%22%23d8bc76%22%20stroke-width%3D%221.6%22%20stroke-linejoin%3D%22round%22%2F%3E%3C%2Fsvg%3E") 8 3,pointer;--kl-text:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2214%22%20height%3D%2220%22%20viewBox%3D%220%200%2014%2020%22%3E%3Cpath%20d%3D%22M4%202h6M7%202v16M4%2018h6%22%20fill%3D%22none%22%20stroke%3D%22%23152d24%22%20stroke-width%3D%223%22%2F%3E%3Cpath%20d%3D%22M4%202h6M7%202v16M4%2018h6%22%20fill%3D%22none%22%20stroke%3D%22%23d8bc76%22%20stroke-width%3D%221.2%22%2F%3E%3C%2Fsvg%3E") 7 10,text}
:root[data-theme=navy]{--kl-cursor:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2218%22%20height%3D%2222%22%20viewBox%3D%220%200%2018%2022%22%3E%3Cpath%20d%3D%22M2%202v16l4-4%203%206%203-1-3-6%206-1Z%22%20fill%3D%22%23a9caff%22%20stroke%3D%22%23122b48%22%20stroke-width%3D%221%22%20stroke-linejoin%3D%22round%22%2F%3E%3C%2Fsvg%3E") 2 2,auto;--kl-pointer:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2220%22%20height%3D%2222%22%20viewBox%3D%220%200%2030%2032%22%3E%3Cpath%20d%3D%22M9%2017V5a2.4%202.4%200%200%201%204.8%200v9-3a2.3%202.3%200%200%201%204.6%200v3-1a2.2%202.2%200%200%201%204.4%200v2a2.2%202.2%200%200%201%204.4%200v6c0%204-3%207-3%208H12c-1-3-6-7-8-10-2-3%201-6%203-3l2%202Z%22%20fill%3D%22%23122b48%22%20stroke%3D%22%23a9caff%22%20stroke-width%3D%221.6%22%20stroke-linejoin%3D%22round%22%2F%3E%3C%2Fsvg%3E") 8 3,pointer;--kl-text:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2214%22%20height%3D%2220%22%20viewBox%3D%220%200%2014%2020%22%3E%3Cpath%20d%3D%22M4%202h6M7%202v16M4%2018h6%22%20fill%3D%22none%22%20stroke%3D%22%23122b48%22%20stroke-width%3D%223%22%2F%3E%3Cpath%20d%3D%22M4%202h6M7%202v16M4%2018h6%22%20fill%3D%22none%22%20stroke%3D%22%23a9caff%22%20stroke-width%3D%221.2%22%2F%3E%3C%2Fsvg%3E") 7 10,text}
:root[data-theme=deped-green]{--kl-cursor:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2218%22%20height%3D%2222%22%20viewBox%3D%220%200%2018%2022%22%3E%3Cpath%20d%3D%22M2%202v16l4-4%203%206%203-1-3-6%206-1Z%22%20fill%3D%22%23126943%22%20stroke%3D%22%23ffffff%22%20stroke-width%3D%221%22%20stroke-linejoin%3D%22round%22%2F%3E%3C%2Fsvg%3E") 2 2,auto;--kl-pointer:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2220%22%20height%3D%2222%22%20viewBox%3D%220%200%2030%2032%22%3E%3Cpath%20d%3D%22M9%2017V5a2.4%202.4%200%200%201%204.8%200v9-3a2.3%202.3%200%200%201%204.6%200v3-1a2.2%202.2%200%200%201%204.4%200v2a2.2%202.2%200%200%201%204.4%200v6c0%204-3%207-3%208H12c-1-3-6-7-8-10-2-3%201-6%203-3l2%202Z%22%20fill%3D%22%23ffffff%22%20stroke%3D%22%23126943%22%20stroke-width%3D%221.6%22%20stroke-linejoin%3D%22round%22%2F%3E%3C%2Fsvg%3E") 8 3,pointer;--kl-text:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2214%22%20height%3D%2220%22%20viewBox%3D%220%200%2014%2020%22%3E%3Cpath%20d%3D%22M4%202h6M7%202v16M4%2018h6%22%20fill%3D%22none%22%20stroke%3D%22%23ffffff%22%20stroke-width%3D%223%22%2F%3E%3Cpath%20d%3D%22M4%202h6M7%202v16M4%2018h6%22%20fill%3D%22none%22%20stroke%3D%22%23126943%22%20stroke-width%3D%221.2%22%2F%3E%3C%2Fsvg%3E") 7 10,text}
:root[data-theme=noir]{--kl-cursor:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2218%22%20height%3D%2222%22%20viewBox%3D%220%200%2018%2022%22%3E%3Cpath%20d%3D%22M2%202v16l4-4%203%206%203-1-3-6%206-1Z%22%20fill%3D%22%23f26872%22%20stroke%3D%22%23220c10%22%20stroke-width%3D%221%22%20stroke-linejoin%3D%22round%22%2F%3E%3C%2Fsvg%3E") 2 2,auto;--kl-pointer:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2220%22%20height%3D%2222%22%20viewBox%3D%220%200%2030%2032%22%3E%3Cpath%20d%3D%22M9%2017V5a2.4%202.4%200%200%201%204.8%200v9-3a2.3%202.3%200%200%201%204.6%200v3-1a2.2%202.2%200%200%201%204.4%200v2a2.2%202.2%200%200%201%204.4%200v6c0%204-3%207-3%208H12c-1-3-6-7-8-10-2-3%201-6%203-3l2%202Z%22%20fill%3D%22%23220c10%22%20stroke%3D%22%23f26872%22%20stroke-width%3D%221.6%22%20stroke-linejoin%3D%22round%22%2F%3E%3C%2Fsvg%3E") 8 3,pointer;--kl-text:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2214%22%20height%3D%2220%22%20viewBox%3D%220%200%2014%2020%22%3E%3Cpath%20d%3D%22M4%202h6M7%202v16M4%2018h6%22%20fill%3D%22none%22%20stroke%3D%22%23220c10%22%20stroke-width%3D%223%22%2F%3E%3Cpath%20d%3D%22M4%202h6M7%202v16M4%2018h6%22%20fill%3D%22none%22%20stroke%3D%22%23f26872%22%20stroke-width%3D%221.2%22%2F%3E%3C%2Fsvg%3E") 7 10,text}

@media(hover:hover) and (pointer:fine){
html,body{cursor:var(--kl-cursor)}
body :is(main,section,article,header,footer,nav,aside,div,p,span,h1,h2,h3,h4,li,td,th,svg,img){cursor:inherit}
body :is(a,button,[role=button],[role=tab],summary,label[for],select,input[type=checkbox],input[type=radio],.nav-item,.quick-tool,.hub-tool,.tc-tile){cursor:var(--kl-pointer)!important}
body :is(a,button,[role=button],[role=tab],summary,.nav-item) *{cursor:inherit!important}
body :is(input:not([type=checkbox]):not([type=radio]):not([type=button]):not([type=submit]):not([type=range]):not([type=color]):not([type=file]),textarea,[contenteditable=true]){cursor:var(--kl-text)!important}
body :is(button,input,select,textarea):disabled,body [aria-disabled=true]{cursor:not-allowed!important}
body :is([draggable=true],.drag-handle){cursor:grab!important}
}
@media(forced-colors:active){html,body{cursor:auto!important}body :is(a,button,[role=button],[role=tab],summary,select){cursor:pointer!important}body :is(input,textarea,[contenteditable=true]){cursor:text!important}}

/* Use the exact theme accent for Sepia and Noir Pro labels, including active rows. */
:root:is([data-theme=sepia],[data-theme=noir]) #sidebar .nav-item .nav-pro-badge,
:root:is([data-theme=sepia],[data-theme=noir]) .hub-tool-title .nav-pro-badge{
 background:var(--theme-accent)!important;border-color:var(--theme-accent)!important;color:var(--theme-on)!important;border-radius:6px;
}
/* Compact sidebar rhythm: tighter groups and rows, with clear section labels. */
:root #sidebar-nav{padding:4px 10px 10px}
:root #sidebar-nav .nav-section{margin-top:8px;padding-top:0;padding-bottom:8px;border-top:0}
:root #sidebar-nav .nav-section:first-child{margin-top:4px}
:root #sidebar-nav .nav-section-title{padding:6px 12px 4px;line-height:1.3;margin:0}
:root #sidebar-nav .nav-item{padding:8px 12px;min-height:38px;line-height:1.3;margin-top:0;margin-bottom:2px;gap:10px}
:root #sidebar-nav .nav-item>svg{width:18px;height:18px;flex-shrink:0}
@media(pointer:coarse){:root #sidebar-nav .nav-item{min-height:44px;padding-top:10px;padding-bottom:10px}}

/* Count badges use opaque theme surfaces instead of inheriting menu text. */
:root #sidebar .nav-item .nav-hub-badge{
 color:var(--theme-ink,#203e32)!important;background:var(--theme-opaque,#fffef9)!important;border:1px solid var(--theme-muted,#657867)!important;opacity:1;
}
:root #sidebar .nav-item .nav-hub-badge svg{color:inherit!important;stroke:currentColor!important;opacity:1}
:root #sidebar-nav .nav-section{margin-top:6px;padding-bottom:6px}
:root #sidebar-nav .nav-section-title{padding-top:5px;padding-bottom:3px;line-height:1.2}
:root #sidebar-nav .nav-item{min-height:36px;padding-top:7px;padding-bottom:7px;margin-bottom:1px}
:root #sidebar-nav .nav-item>svg{stroke-width:1.65}
@media(pointer:coarse){:root #sidebar-nav .nav-item{min-height:44px;padding-top:10px;padding-bottom:10px}}
:root #sidebar-nav .nav-item>svg{color:inherit!important;opacity:1;filter:none!important;transform:none!important}
/* Minimal dashboard Pro action: readable type, flat surface, quiet icon. */
:root .hero-pro-badge,:root .hero-pro-badge.active{
 background:var(--theme-action,#145747)!important;background-image:none!important;color:var(--theme-on,#ffffff)!important;border:1px solid var(--theme-action-hover,#104632)!important;border-radius:10px!important;padding:0!important;box-shadow:none!important;filter:none!important;transform:none!important;animation:none!important;min-height:44px;
}
:root .hero-pro-badge::before,:root .hero-pro-badge::after,:root .hero-pro-badge .hpb-inner::after,:root .hero-pro-badge .hpb-shine,:root .hero-pro-badge .hpb-sparkles{display:none!important}
:root .hero-pro-badge .hpb-inner{background:none!important;border:0!important;box-shadow:none!important;gap:9px;padding:8px 12px;border-radius:9px;min-height:42px}
:root .hero-pro-badge .hpb-crown{width:20px;height:20px;border:0!important;border-radius:0!important;background:none!important;box-shadow:none!important;filter:none!important;color:inherit!important;-webkit-text-fill-color:currentColor!important;animation:none!important}
:root .hero-pro-badge .hpb-crown svg{width:17px;height:17px;filter:none!important;stroke-width:1.6;color:inherit!important}
:root .hero-pro-badge .hpb-text{display:flex;flex-direction:column;gap:2px;text-align:left}
:root .hero-pro-badge .hpb-label,:root .hero-pro-badge.active .hpb-label,:root .hero-pro-badge .hpb-sub,:root .hero-pro-badge.active .hpb-sub{
 color:inherit!important;-webkit-text-fill-color:currentColor!important;background:none!important;background-clip:border-box!important;-webkit-background-clip:border-box!important;text-shadow:none!important;opacity:1!important;animation:none!important;text-transform:none!important;letter-spacing:0!important;
}
:root .hero-pro-badge .hpb-label{font-size:13px;font-weight:650;line-height:1.25}
:root .hero-pro-badge .hpb-sub{font-size:11px;font-weight:450;line-height:1.3}
:root .hero-pro-badge:hover,:root .hero-pro-badge.active:hover{background:var(--theme-action-hover,#104632)!important;transform:none!important;box-shadow:none!important}
