/* v5: amber actions, distinguishable badges and native-feeling mobile navigation. */
#notifBtn svg,#notifBtn i{color:#fbbf24!important;filter:drop-shadow(0 0 6px #f59e0b30)}#notifBtn{background:#f59e0b0d!important;border-color:#f59e0b35!important}body.theme-minimal #notifBtn svg,body.theme-minimal #notifBtn i{color:#a16207!important}body.theme-minimal #notifBtn{background:#fffbeb!important;border-color:#fcd34d!important}.rs-brand-logo{width:76px!important;max-width:76px!important;height:48px!important;padding:5px 7px!important;object-fit:contain!important;background:#fff!important;border-radius:12px!important}.rs-header-brand{min-width:0;gap:10px}.rs-brand-text{font-size:18px!important}
.rs-action-edit,.editBtn,button[title="Edit"],button[onclick*="editSelectedBusiness"]{color:#fbbf24!important;background:#f59e0b14!important;border-color:#f59e0b45!important}body.theme-minimal :is(.rs-action-edit,.editBtn,button[title="Edit"],button[onclick*="editSelectedBusiness"]){color:#92400e!important;background:#fffbeb!important;border-color:#fcd34d!important}.rs-action-edit svg,.editBtn svg{color:inherit!important}
.rs-pill-violet{color:#c4b5fd!important;background:#8b5cf619!important;border-color:#8b5cf650!important}.rs-pill-business{color:#a5b4fc!important;background:#6366f11a!important;border-color:#6366f150!important}.rs-pill-type{color:#67e8f9!important;background:#06b6d41a!important;border-color:#06b6d450!important}.rs-pill-method{color:#6ee7b7!important;background:#10b9811a!important;border-color:#10b98150!important}.rs-pill-service{color:#f0abfc!important;background:#d946ef1a!important;border-color:#d946ef50!important}.rs-pill-rank{color:#fcd34d!important;background:#f59e0b18!important;border-color:#f59e0b45!important}.rs-pill-cash{color:#6ee7b7!important;background:#10b98118!important}.rs-pill-upi{color:#c4b5fd!important;background:#8b5cf618!important}.rs-pill-bank{color:#7dd3fc!important;background:#0ea5e918!important}.rs-pill-card{color:#f9a8d4!important;background:#ec489918!important}
body.theme-minimal .rs-pill-business{color:#4338ca!important;background:#eef2ff!important;border-color:#c7d2fe!important}body.theme-minimal .rs-pill-type{color:#0e7490!important;background:#ecfeff!important;border-color:#a5f3fc!important}body.theme-minimal .rs-pill-method,body.theme-minimal .rs-pill-cash{color:#047857!important;background:#ecfdf5!important;border-color:#a7f3d0!important}body.theme-minimal .rs-pill-service{color:#a21caf!important;background:#fdf4ff!important;border-color:#f5d0fe!important}body.theme-minimal .rs-pill-rank{color:#92400e!important;background:#fffbeb!important;border-color:#fde68a!important}body.theme-minimal .rs-pill-violet,body.theme-minimal .rs-pill-upi{color:#6d28d9!important;background:#f5f3ff!important}body.theme-minimal .rs-pill-bank{color:#0369a1!important;background:#f0f9ff!important}body.theme-minimal .rs-pill-card{color:#be185d!important;background:#fdf2f8!important}
.rs-site-footer{display:grid;grid-template-columns:1fr auto 1fr;gap:16px;align-items:center;max-width:1800px;margin:12px auto 0;padding:20px 24px;border-top:1px solid var(--rs-outline);color:var(--rs-soft);font-size:11px}.rs-site-footer>span:last-child{text-align:right}.rs-site-footer a{color:var(--rs-info);text-decoration:none}.rs-site-footer a:hover{text-decoration:underline}.rs-site-footer strong{font-weight:600;color:var(--rs-ink)}.rs-commission-business{display:flex;align-items:center;gap:8px}.rs-commission-business select{max-width:250px}.rs-filter-hint{font-size:12px;color:var(--rs-soft)}.rs-rail-business{display:none}.rs-business-trigger{width:48px;min-height:44px;display:flex;align-items:center;justify-content:center;border-radius:12px;background:#6366f11a;color:var(--rs-info);border:1px solid #6366f145;font-size:20px}.rs-business-popover{position:fixed;z-index:18000;left:100px;top:calc(var(--rs-header-height,96px) + 70px);width:min(300px,calc(100vw - 120px));padding:18px;background:var(--rs-panel);color:var(--rs-ink);border:1px solid var(--rs-outline);border-radius:16px;box-shadow:0 16px 48px #0005}.rs-business-popover[hidden]{display:none}.rs-business-popover select{width:100%;margin-top:10px}.rs-bottom-nav{display:none}.rs-menu svg{width:22px;height:22px}
@media(min-width:1024px){body.rs-sidebar-collapsed #sidebar .rs-rail-business{display:block!important;margin:12px 0}body.rs-sidebar-collapsed #sidebar .rs-rail-business button{width:100%}}
@media(max-width:1023px){body{padding-bottom:calc(76px + env(safe-area-inset-bottom))!important}body>header>div{padding:10px 12px!important;gap:10px!important}.rs-menu{position:static!important;display:inline-flex!important;align-items:center;justify-content:center;flex:0 0 42px;width:42px;height:42px;margin:0;background:#182238;color:var(--rs-ink);border:1px solid var(--rs-outline);z-index:auto!important;border-radius:12px}.rs-header-brand{flex:1!important}.rs-brand-logo{width:58px!important;max-width:58px!important;height:40px!important;padding:3px!important}.rs-brand-text{font-size:15px!important}.rs-brand-text small{font-size:8px!important}.rs-overlay.rs-open{display:block!important;z-index:10010!important;background:#020617a8!important;backdrop-filter:blur(4px)}#sidebar{position:fixed!important;display:block!important;inset:0 auto 0 0!important;width:min(320px,88vw)!important;max-height:100dvh!important;height:100dvh!important;z-index:10020!important;transform:translateX(-110%)!important;visibility:hidden;transition:transform .22s,visibility .22s;background:#111824!important;overflow-y:auto!important;padding-bottom:calc(24px + env(safe-area-inset-bottom))!important}#sidebar.rs-open{transform:translateX(0)!important;visibility:visible}#sidebar .rs-close{display:block!important;width:100%;text-align:right;margin-bottom:16px}.rs-bottom-nav{display:flex;position:fixed;inset:auto 0 0;z-index:90;background:#0e1524f5;backdrop-filter:blur(20px);border-top:1px solid var(--rs-outline);padding:6px 8px calc(6px + env(safe-area-inset-bottom));justify-content:space-around;gap:4px}.rs-bottom-nav button{flex:1;min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;border:0;background:transparent;color:var(--rs-soft);font-size:10px;min-height:52px;border-radius:12px}.rs-bottom-nav svg{width:21px;height:21px}.rs-bottom-nav button[aria-current=page]{background:#818cf818;color:var(--rs-info)}body.rs-drawer-open{overflow:hidden!important}.rs-site-footer{grid-template-columns:1fr;text-align:center;padding:18px 14px;gap:8px}.rs-site-footer>span:last-child{text-align:center}.rs-business-popover{left:12px;top:calc(var(--rs-header-height,96px) + 12px);width:calc(100vw - 24px)}.rs-modal{padding:8px!important}.rs-modal-card{max-height:calc(100dvh - 16px)!important;scroll-padding:20px}.rs-table-scroll{scrollbar-width:thin;overscroll-behavior-x:contain}.rs-table-scroll table{min-width:620px}.rs-modal-card input:not([type=checkbox]),.rs-modal-card select{min-height:46px}label:has(input[type=checkbox]:not(.env-switch)){min-height:44px!important}input[type=checkbox]:not(.env-switch){width:24px!important;height:24px!important;min-width:24px!important;flex:0 0 24px!important}.rs-modal-card [class*="flex"]{min-width:0}body.theme-minimal .rs-bottom-nav{background:#fffffff5}body.theme-minimal #sidebar{background:#fff!important}body.theme-minimal .rs-menu{background:#eef2ff!important;color:#4338ca!important}}
@media(max-width:480px){body>header>div>div:last-child{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr) 44px 52px;gap:6px!important;width:100%}#themeSelect,#colorSelect{width:100%!important;max-width:100%!important;font-size:11px!important}#profileBtn{padding:4px!important;min-width:46px}#profileBtn>svg{display:none}#profileBtn img{width:30px;height:30px}.rs-brand-text small{display:none}.rs-commission-business{width:100%;flex-wrap:wrap}.rs-commission-business select{flex:1;min-width:0}.rs-report-period{gap:10px;padding:12px}.rs-report-period>select{width:100%}.rs-modal-card .flex:has(.rs-close-action){flex-wrap:nowrap!important}}
@media print{.rs-site-footer,.rs-bottom-nav,.rs-business-popover{display:none!important}}
/* Preserve the supplied portrait logo's proportions and its original dark tile. */
.rs-brand-logo{width:48px!important;max-width:48px!important;height:56px!important;object-fit:contain!important;background:#170c2c!important;padding:0!important;border:1px solid #8b5cf645!important;border-radius:10px!important}body.theme-minimal .rs-brand-logo{background:#170c2c!important;box-shadow:0 3px 10px #4c1d9520}
@media(max-width:1023px){.rs-brand-logo{width:36px!important;max-width:36px!important;height:44px!important}}
/* v6: count badge, viewport-aware desktop shell, measured fixed desktop footer. */
#notifBadge{display:inline-flex;align-items:center;justify-content:center;position:absolute;top:-5px;right:-6px;width:auto!important;height:20px!important;min-width:20px;padding:0 5px;background:#fbbf24!important;color:#422006!important;font-size:10px;font-weight:800;line-height:20px;border:2px solid #121824;box-shadow:none!important;white-space:nowrap}#notifBadge.hidden{display:none!important}body.theme-minimal #notifBadge{border-color:#fff!important;color:#422006!important}.rs-notification-heading{display:flex;align-items:center;justify-content:space-between;gap:10px}.rs-notification-summary{font-size:12px;color:var(--rs-soft);line-height:1.6;margin:8px 0 12px}.rs-notification-row{padding:0!important;background:transparent!important}.rs-notification-item{width:100%;display:flex;align-items:center;justify-content:space-between;gap:12px;text-align:left;padding:12px;border-radius:12px;border:0;background:transparent;color:var(--rs-ink)}.rs-notification-item:hover{background:#818cf810}.rs-notification-item>span:first-child{min-width:0}.rs-notification-item strong{display:block;font-size:13px}.rs-notification-item small{display:block;color:var(--rs-soft);font-size:11px;overflow-wrap:anywhere;margin-top:3px}.rs-notification-item>.rs-pill{flex-shrink:0;font-size:10px}.rs-notification-item::before{display:none}
@media(min-width:1024px){body:has(>.rs-shell){min-height:100dvh;padding-bottom:calc(var(--rs-footer-height,54px) + 16px)!important}body>.rs-shell{width:100%;max-width:1920px!important;margin:0 auto;grid-template-columns:clamp(232px,18vw,288px) minmax(0,1fr)!important;gap:clamp(12px,1.25vw,24px)!important;padding:16px clamp(12px,1.25vw,24px)!important}body.rs-sidebar-collapsed>.rs-shell{grid-template-columns:80px minmax(0,1fr)!important}body>header>div{max-width:1920px!important;width:100%}#sidebar{top:calc(var(--rs-header-height,96px) + 12px)!important;max-height:calc(100dvh - var(--rs-header-height,96px) - var(--rs-footer-height,54px) - 32px)!important;scrollbar-gutter:stable;min-width:0}#sidebar nav .btn{gap:6px}#sidebar nav .btn>.chip{font-size:10px;padding:3px 6px}#sidebar nav .btn>span:first-child{min-width:0}#sidebar nav .label{white-space:normal;overflow-wrap:anywhere}.rs-site-footer{position:fixed;inset:auto 0 0;z-index:70;width:100%;max-width:none!important;margin:0!important;padding:12px clamp(16px,2vw,40px)!important;background:#0c1220f5;backdrop-filter:blur(18px);border-top:1px solid var(--rs-outline)}body.theme-minimal .rs-site-footer{background:#fffffff5!important}.rs-business-popover{max-height:calc(100dvh - var(--rs-header-height,96px) - var(--rs-footer-height,54px) - 90px);overflow:auto}}
@media(min-width:1024px) and (max-width:1279px){#sidebar{padding:14px!important}#sidebar nav .btn>.chip{display:none!important}#sidebar nav .btn{padding:9px 10px;font-size:13px}body>header>div{gap:10px!important;padding:10px 16px!important}#themeSelect,#colorSelect{max-width:122px;font-size:11px!important}}
@media(max-width:1023px){.rs-site-footer{position:static!important;width:auto;max-width:100%!important;margin:12px 0 0}.rs-notification-item{gap:8px;padding:10px}.rs-notification-item>.rs-pill{max-width:84px}.rs-notification-summary{font-size:11px}}
@media print{.rs-site-footer{display:none!important}body{padding-bottom:0!important}}
/* v7: crisp counters, distinct reminder states and restrained footer accents. */
header.sticky #notifBadge,body.theme-minimal header.sticky #notifBadge{background:#e11d48!important;color:#fff!important;text-shadow:none!important;filter:none!important;backdrop-filter:none!important;box-shadow:none!important;font-family:Inter,system-ui,sans-serif;font-size:11px!important;font-weight:800!important;letter-spacing:0!important;font-variant-numeric:tabular-nums;line-height:20px!important;-webkit-text-fill-color:#fff!important;-webkit-font-smoothing:antialiased;border:2px solid #121824!important;min-width:22px;height:22px!important;top:-6px;right:-7px;transform:none!important}body.theme-minimal header.sticky #notifBadge{border-color:#fff!important}#notifPanel #rsNotificationTotal{color:#fde68a!important;background:#f59e0b18!important;border-color:#f59e0b45!important;text-shadow:none!important;filter:none!important;font-variant-numeric:tabular-nums}body.theme-minimal #notifPanel #rsNotificationTotal{color:#92400e!important;background:#fffbeb!important;border-color:#fcd34d!important}
#notifPanel .rs-reminder-business{display:inline-flex;margin:5px 0 2px;padding:3px 8px;border-radius:8px;background:#6366f11a;color:#c7d2fe!important;border:1px solid #818cf845;font-size:10px;font-weight:600;line-height:1.4;text-shadow:none!important;max-width:100%;overflow-wrap:anywhere}#notifPanel .rs-reminder-status{text-shadow:none!important;filter:none!important;white-space:normal;line-height:1.4;box-shadow:none!important}#notifPanel .rs-reminder-overdue{color:#fecdd3!important;background:linear-gradient(135deg,#f43f5e38,#be123c20)!important;border:1px solid #fb718578!important;box-shadow:inset 0 1px #ffffff12!important}#notifPanel .rs-reminder-today{color:#fde68a!important;background:#f59e0b20!important;border-color:#fbbf2455!important}#notifPanel .rs-reminder-tomorrow{color:#a5f3fc!important;background:#06b6d41a!important;border-color:#22d3ee50!important}#notifPanel .rs-reminder-upcoming{color:#ddd6fe!important;background:#8b5cf61a!important;border-color:#a78bfa50!important}body.theme-minimal #notifPanel .rs-reminder-business{color:#4338ca!important;background:#eef2ff!important;border-color:#c7d2fe!important}body.theme-minimal #notifPanel .rs-reminder-overdue{color:#9f1239!important;background:linear-gradient(135deg,#fff1f2,#ffe4e6)!important;border-color:#fda4af!important}body.theme-minimal #notifPanel .rs-reminder-today{color:#92400e!important;background:#fffbeb!important;border-color:#fcd34d!important}body.theme-minimal #notifPanel .rs-reminder-tomorrow{color:#0e7490!important;background:#ecfeff!important;border-color:#67e8f9!important}body.theme-minimal #notifPanel .rs-reminder-upcoming{color:#6d28d9!important;background:#f5f3ff!important;border-color:#c4b5fd!important}
.rs-site-footer{background:linear-gradient(105deg,#11162af8,#0e1b29f8 55%,#17142af8)!important;border-top:1px solid #818cf838;box-shadow:0 -4px 20px #02061720;color:#b8c5d9}.rs-site-footer>.rs-footer-brand,.rs-site-footer>.rs-footer-credit,.rs-site-footer>.rs-footer-website{display:flex;align-items:center;gap:8px;min-width:0}.rs-site-footer>.rs-footer-credit{justify-content:flex-end}.rs-site-footer>.rs-footer-website{color:#67e8f9!important;justify-content:center;border-radius:9px;padding:3px 8px}.rs-site-footer>.rs-footer-website:hover{background:#22d3ee0c;text-decoration:none}.rs-footer-icon{display:inline-flex;align-items:center;justify-content:center;flex:0 0 26px;width:26px;height:26px;border-radius:8px;background:#818cf818;color:#c4b5fd;border:1px solid #818cf82c}.rs-footer-icon svg{width:15px;height:15px}.rs-footer-website .rs-footer-icon{color:#67e8f9;background:#22d3ee10;border-color:#22d3ee30}.rs-footer-credit .rs-footer-icon{color:#6ee7b7;background:#10b98110;border-color:#10b98130}.rs-site-footer strong{color:#edf2ff!important;font-weight:600}body.theme-minimal .rs-site-footer{background:linear-gradient(105deg,#fafafff8,#f0f9fff8 55%,#faf5fff8)!important;border-color:#c7d2fe!important;color:#51627d!important;box-shadow:0 -4px 20px #24395908}body.theme-minimal .rs-site-footer strong{color:#24344f!important}body.theme-minimal .rs-footer-icon{color:#6d28d9;background:#ede9fe;border-color:#ddd6fe}body.theme-minimal .rs-site-footer>.rs-footer-website{color:#0e7490!important}body.theme-minimal .rs-footer-website .rs-footer-icon{color:#0e7490;background:#ecfeff;border-color:#a5f3fc}body.theme-minimal .rs-footer-credit .rs-footer-icon{color:#047857;background:#ecfdf5;border-color:#a7f3d0}
@media(max-width:1023px){.rs-site-footer>.rs-footer-brand,.rs-site-footer>.rs-footer-credit,.rs-site-footer>.rs-footer-website{justify-content:center;text-align:center}.rs-site-footer{gap:9px}.rs-footer-icon{flex-basis:24px;width:24px;height:24px}.rs-site-footer>.rs-footer-credit>span:last-child{max-width:260px}}
