/* Aranu 1.1.47 — OnTime-inspired mobile-first management shell.
 * Visual reference only: keeps Aranu data, permissions and feature routes.
 */
:root{
  --ot-bg:#14191f;
  --ot-panel:#0f1522;
  --ot-panel-2:#121a2b;
  --ot-panel-3:#171e2a;
  --ot-line:#273142;
  --ot-line-soft:#202938;
  --ot-text:#f6f7f8;
  --ot-muted:#77839c;
  --ot-green:#00bd7d;
  --ot-green-2:#04d79a;
  --ot-green-soft:#0fd4aa;
  --ot-blue:#418cff;
  --ot-purple:#8f5cff;
  --ot-orange:#f6a81a;
  --ot-red:#ff5965;
  --ot-pink:#ec4d9a;
  --ot-cyan:#1eb9d4;
}

/* Default admin appearance is intentionally dark; saved user choice can still override inner pages. */
html[data-panel-theme="dark"] body.admin-body.ui-rahcode{
  --pro-bg:var(--ot-bg);
  --pro-surface:#171d25;
  --pro-surface-soft:#1b222c;
  --pro-surface-muted:#202936;
  --pro-border:#2a3545;
  --pro-border-strong:#3a475c;
  --pro-text:#f7f8fa;
  --pro-muted:#8d99ad;
  --pro-subtle:#707c90;
  --pro-primary:var(--ot-green);
  --pro-primary-hover:var(--ot-green-2);
  --pro-primary-soft:#0b2b24;
}

body.admin-body.page-index.ui-rahcode{
  background:var(--ot-bg)!important;
  color:var(--ot-text)!important;
}
body.admin-body.page-index.ui-rahcode::before{display:none!important}
body.admin-body.page-index.ui-rahcode .page-shell.admin-shell{
  width:min(900px,calc(100% - 36px))!important;
  padding-top:34px!important;
  padding-bottom:130px!important;
}
body.admin-body.page-index.ui-rahcode main :where(h1,h2,h3,strong){color:var(--ot-text)!important}
body.admin-body.page-index.ui-rahcode .site-footer{background:var(--ot-bg)!important;border-color:var(--ot-line-soft)!important;color:var(--ot-muted)!important}

/* Dashboard */
.ontime-dashboard{display:grid;gap:28px;direction:rtl}
.ontime-subscription-card{
  display:grid;grid-template-columns:1fr 1fr;min-height:264px;overflow:hidden;
  border:1px solid #2a3550;border-radius:38px;background:var(--ot-panel);box-shadow:0 26px 70px rgba(0,0,0,.23)
}
.ontime-plan-side,.ontime-sms-side{position:relative;display:flex;flex-direction:column;justify-content:center;padding:30px 38px}
.ontime-plan-side{background:#11182a;border-inline-start:1px solid rgba(255,255,255,.025);align-items:flex-start}
.ontime-sms-side{background:linear-gradient(160deg,#151d30 0%,#11182a 68%,#101726 100%);align-items:flex-start}
.ontime-plan-icon{
  position:absolute;top:28px;inset-inline-start:30px;width:66px;height:66px;border-radius:24px;display:grid;place-items:center;
  background:linear-gradient(145deg,#392f1b,#2a241a);border:1px solid #66502b;color:#ffc400;box-shadow:inset 0 0 22px rgba(255,182,0,.08)
}
.ontime-plan-icon .ui-icon{width:34px;height:34px;fill:currentColor;stroke-width:1.6}
.ontime-plan-copy{display:grid;gap:3px;margin-top:4px}
.ontime-plan-copy small,.ontime-sms-side>small{font-size:18px;font-weight:760;color:#71809b!important}
.ontime-plan-copy strong{font-size:28px!important;line-height:1.25;font-weight:900!important}
.ontime-credit-pill{
  margin-top:40px;display:inline-flex;align-items:center;gap:10px;padding:13px 18px;border-radius:24px;
  background:#1b2232;color:#9ba6b8;font-size:17px;font-weight:780
}
.ontime-credit-pill .ui-icon{width:21px;height:21px;color:#0dd29a}
.ontime-plan-upgrade{
  margin-top:30px;min-height:62px;width:100%;display:flex;align-items:center;justify-content:center;gap:12px;
  border:1px solid #34377f;border-radius:22px;background:#1a1d4a;color:#f4f2ff!important;text-decoration:none;font-size:18px;font-weight:860;box-shadow:inset 0 1px 0 rgba(255,255,255,.035)
}
.ontime-plan-upgrade .ui-icon{width:25px;height:25px;color:#8584ff}
.ontime-card-collapse{
  position:absolute;top:32px;inset-inline-end:30px;width:56px;height:56px;border-radius:20px;display:grid;place-items:center;background:#20283b;color:#8290a8
}
.ontime-card-collapse .ui-icon{width:27px;height:27px}
.ontime-sms-count{margin-top:10px;display:flex;align-items:flex-end;gap:10px;line-height:1}
.ontime-sms-count strong{font-size:56px!important;letter-spacing:-.04em;font-weight:850!important}
.ontime-sms-count span{padding-bottom:9px;color:#72809a;font-size:18px;font-weight:760}
.ontime-sms-meter{height:10px;width:100%;margin-top:28px;overflow:hidden;border-radius:999px;background:#243044}
.ontime-sms-meter i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,var(--ot-green),#14d7cc);box-shadow:0 0 20px rgba(0,189,125,.35)}
.ontime-sms-buy{
  margin-top:34px;min-height:64px;width:100%;display:flex;align-items:center;justify-content:center;gap:14px;
  border-radius:22px;background:linear-gradient(135deg,#00b879,#04cc8b);color:#071d18!important;text-decoration:none;font-size:19px;font-weight:900;box-shadow:0 15px 34px rgba(0,189,125,.18)
}
.ontime-sms-buy .ui-icon{width:26px;height:26px;stroke-width:2.8}

.ontime-new-booking{
  min-height:132px;position:relative;overflow:hidden;display:grid;grid-template-columns:78px 1fr 64px;align-items:center;gap:20px;padding:20px 32px;
  border-radius:68px;background:linear-gradient(110deg,#00b879 0%,#06cc91 55%,#10d3ab 100%);text-decoration:none;color:#fff!important;
  box-shadow:0 28px 62px rgba(0,189,125,.23)
}
.ontime-new-booking::after{content:"";position:absolute;inset:auto 10% -55px auto;width:280px;height:110px;border-radius:50%;background:rgba(255,255,255,.10);filter:blur(18px)}
.ontime-new-booking-icon{z-index:1;width:76px;height:76px;border-radius:28px;display:grid;place-items:center;background:rgba(0,92,70,.19);border:1px solid rgba(255,255,255,.15)}
.ontime-new-booking-icon .ui-icon{width:42px;height:42px;stroke-width:2.6}
.ontime-new-booking-copy{z-index:1;display:grid;text-align:center;gap:4px}
.ontime-new-booking-copy strong{font-size:29px!important;font-weight:900!important;color:#fff!important}
.ontime-new-booking-copy small{font-size:16px;color:#b9eee0!important;font-weight:600}
.ontime-new-booking-spark{z-index:1;display:grid;place-items:center;color:#d9ff83}
.ontime-new-booking-spark .ui-icon{width:44px;height:44px;stroke-width:1.8}

.ontime-shortcuts-section{display:grid;gap:22px;padding-top:30px}
.ontime-section-head{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:0 8px}
.ontime-section-head h1{margin:0;font-size:31px!important;font-weight:900!important;display:flex;align-items:center;gap:16px}
.ontime-section-head h1::before{content:"";width:11px;height:50px;border-radius:999px;background:var(--ot-green)}
.ontime-section-head>span{direction:ltr;display:inline-flex;padding:11px 22px;border-radius:24px;background:#23272f;color:#737d8e;font-size:14px;font-weight:900;letter-spacing:.08em}
.ontime-shortcuts-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.ontime-shortcut{
  min-height:158px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:17px;padding:14px 10px;
  border:1px solid #2a3242;border-radius:20px;background:#171d27;text-decoration:none;color:#aab2c0!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.018)
}
.ontime-shortcut:hover{transform:translateY(-3px);border-color:#3b485f;background:#1b222e}
.ontime-shortcut strong{font-size:15px!important;font-weight:800!important;color:#aab2c0!important;text-align:center;line-height:1.45}
.ontime-shortcut-icon{width:74px;height:74px;border-radius:26px;display:grid;place-items:center;background:#1d2430;color:#7d8ba0}
.ontime-shortcut-icon .ui-icon{width:39px;height:39px;stroke-width:2.1}
.ontime-shortcut.tone-green .ontime-shortcut-icon{background:#123b35;color:#13c99c}
.ontime-shortcut.tone-orange .ontime-shortcut-icon{background:#352c1e;color:#f6a81a}
.ontime-shortcut.tone-blue .ontime-shortcut-icon{background:#192b4a;color:#478dff}
.ontime-shortcut.tone-purple .ontime-shortcut-icon{background:#2b2048;color:#9a64ff}
.ontime-shortcut.tone-pink .ontime-shortcut-icon{background:#362034;color:#ec4d9a}
.ontime-shortcut.tone-red .ontime-shortcut-icon{background:#3b2128;color:#ff5965}
.ontime-shortcut.tone-cyan .ontime-shortcut-icon{background:#14353e;color:#1ec1d7}
.ontime-shortcut.tone-mint .ontime-shortcut-icon{background:#133a35;color:#22cba0}

.ontime-today-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.ontime-today-summary article{min-height:124px;padding:18px;border:1px solid var(--ot-line);border-radius:22px;background:#171d25;display:grid;grid-template-columns:44px 1fr;gap:5px 12px;align-items:center}
.ontime-today-summary article>span{grid-row:1/3;width:44px;height:44px;border-radius:15px;display:grid;place-items:center;background:#10362d;color:var(--ot-green)}
.ontime-today-summary article>span .ui-icon{width:23px;height:23px}
.ontime-today-summary small{color:var(--ot-muted)!important;font-size:12px;font-weight:700}
.ontime-today-summary strong{font-size:23px!important}

.ontime-today-panel{padding:24px;border:1px solid var(--ot-line);border-radius:28px;background:#171d25;box-shadow:0 20px 50px rgba(0,0,0,.12)}
.ontime-today-panel-head{display:flex;justify-content:space-between;align-items:flex-end;gap:16px;margin-bottom:18px}
.ontime-today-panel-head span{display:block;color:var(--ot-green);font-size:12px;font-weight:850}
.ontime-today-panel-head h2{margin:3px 0 0!important;font-size:22px!important}
.ontime-today-panel-head>a{display:inline-flex;align-items:center;gap:5px;color:#8f9aab!important;font-size:12px;font-weight:750;text-decoration:none}
.ontime-today-panel-head>a .ui-icon{width:17px;height:17px}
.ontime-next-appointment{display:grid;grid-template-columns:80px 1fr auto;gap:15px;align-items:center;padding:15px;margin-bottom:14px;border:1px solid #175645;border-radius:19px;background:linear-gradient(125deg,#10251f,#14231f)}
.ontime-next-time{display:grid;place-items:center;height:58px;border-radius:16px;background:var(--ot-green);color:#05291e;font-size:18px;font-weight:900}
.ontime-next-appointment div{display:grid;gap:2px}.ontime-next-appointment small{color:#62bea3!important}.ontime-next-appointment p{margin:0;color:#8794a8;font-size:12px}.ontime-next-appointment>a{color:#bfeede!important;text-decoration:none;font-size:12px;font-weight:800}
.ontime-appointment-list{display:grid;gap:8px}
.ontime-appointment-item{display:grid;grid-template-columns:72px 1fr auto;gap:12px;align-items:center;padding:11px 12px;border:1px solid #252f3e;border-radius:16px;background:#141a22;text-decoration:none}
.ontime-appointment-item:hover{background:#19212b;border-color:#364359}
.ontime-appointment-time{color:#d8dee7;font-size:14px;font-weight:850;direction:ltr;text-align:center}
.ontime-appointment-main{display:grid;gap:2px;min-width:0}.ontime-appointment-main strong{font-size:13px!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ontime-appointment-main small{color:#7f8b9d!important;font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ontime-appointment-status{display:inline-flex;padding:7px 10px;border-radius:999px;font-size:10px;font-weight:800;background:#222b38;color:#a9b4c5}.ontime-appointment-status.status-confirmed{background:#10382e;color:#34d399}.ontime-appointment-status.status-completed{background:#152d42;color:#60a5fa}.ontime-appointment-status.status-cancelled,.ontime-appointment-status.status-no_show{background:#3a2028;color:#fb7185}.ontime-appointment-status.status-pending{background:#3a3020;color:#fbbf24}
.ontime-empty{padding:34px;text-align:center;border:1px dashed #344052;border-radius:18px;color:#7f8b9d}
.ontime-finance-strip{display:grid;grid-template-columns:1fr 1fr auto;gap:14px;align-items:center;padding:18px 22px;border:1px solid var(--ot-line);border-radius:24px;background:#171d25}.ontime-finance-strip div{display:grid;gap:4px}.ontime-finance-strip small{color:var(--ot-muted)!important}.ontime-finance-strip strong{font-size:18px!important}.ontime-finance-strip>a{display:flex;align-items:center;gap:6px;color:#8de0c4!important;text-decoration:none;font-size:12px;font-weight:800}

/* Mobile shell — mimics the supplied rounded top and bottom bars. */
.panel-mobile-alert{display:none}
@media(max-width:1080px){
  body.admin-body.ui-rahcode .panel-mobile-alert{order:3;display:grid;place-items:center;width:44px;height:44px;min-width:44px;border:1px solid var(--pro-border);border-radius:12px;background:var(--pro-surface);color:var(--pro-muted);text-decoration:none}
}
@media(max-width:760px){
  body.admin-body.ui-rahcode{background:var(--ot-bg)!important}
  body.admin-body.ui-rahcode .site-header.admin-header{padding:12px 0 0!important;background:transparent!important;border:0!important;box-shadow:none!important;backdrop-filter:none!important}
  body.admin-body.ui-rahcode .site-header.admin-header .container{width:calc(100% - 24px)!important;margin:0 auto!important;padding:0 14px!important;border:1px solid #303840!important;border-radius:34px!important;background:#191f26!important;box-shadow:0 18px 40px rgba(0,0,0,.16)!important}
  body.admin-body.ui-rahcode .site-header.admin-header .header-inner{min-height:84px!important;padding:10px 0!important;gap:10px!important;flex-wrap:nowrap!important}
  body.admin-body.ui-rahcode .admin-header .brand{order:4!important;min-width:0!important;margin-inline-start:auto!important;padding:0!important;border:0!important;display:flex!important;flex-direction:row-reverse!important;gap:10px!important}
  body.admin-body.ui-rahcode .admin-header .brand-logo,body.admin-body.ui-rahcode .admin-header .brand-mark{width:54px!important;height:54px!important;border-radius:19px!important;border:0!important;background:linear-gradient(145deg,#00a975,#00cf91)!important;box-shadow:0 8px 22px rgba(0,189,125,.18)!important}
  body.admin-body.ui-rahcode .admin-header .brand strong{max-width:165px!important;color:#fff!important;font-size:17px!important;font-weight:900!important;letter-spacing:-.02em!important}
  body.admin-body.ui-rahcode .admin-header .brand small{display:none!important}
  body.admin-body.ui-rahcode .panel-account-chip,body.admin-body.ui-rahcode .panel-theme-toggle{display:none!important}
  body.admin-body.ui-rahcode .panel-mobile-alert{order:2!important;display:grid!important;width:54px!important;height:54px!important;min-width:54px!important;border:1px solid #333a42!important;border-radius:19px!important;background:#242a31!important;color:#939cab!important;box-shadow:none!important}
  body.admin-body.ui-rahcode .panel-mobile-alert .ui-icon{width:25px;height:25px}
  body.admin-body.ui-rahcode .admin-nav-toggle{order:1!important;display:grid!important;place-items:center!important;width:58px!important;height:58px!important;min-width:58px!important;border:1px solid #1a6e5a!important;border-radius:20px!important;background:linear-gradient(145deg,#00ad7a,#02c98a)!important;color:#072e25!important;box-shadow:0 8px 22px rgba(0,189,125,.14)!important}
  body.admin-body.ui-rahcode .admin-nav-toggle .ui-icon{width:29px;height:29px;stroke-width:2.3}
  body.admin-body.ui-rahcode .business-admin-nav{inset:108px 12px auto!important;max-height:calc(100dvh - 132px)!important;border-color:#313b49!important;border-radius:24px!important;background:#171d25!important;box-shadow:0 24px 65px rgba(0,0,0,.38)!important}
  body.admin-body.ui-rahcode .business-admin-nav :where(.admin-nav-item,.admin-panel-parent){color:#a8b1bf!important}
  body.admin-body.ui-rahcode .business-admin-nav .admin-panel-dropdown{background:#121820!important;border-color:#2d3745!important}
  body.admin-body.ui-rahcode .page-shell.admin-shell{width:calc(100% - 28px)!important;padding-top:30px!important;padding-bottom:138px!important}
  body.admin-body.ui-rahcode .site-footer{display:none!important}

  body.admin-body.ui-rahcode .admin-bottom-nav.ontime-bottom-nav{
    right:12px!important;left:12px!important;bottom:max(10px,env(safe-area-inset-bottom))!important;width:auto!important;min-height:96px!important;padding:12px 10px calc(10px + env(safe-area-inset-bottom))!important;
    border:1px solid #2a3445!important;border-radius:32px!important;background:rgba(13,18,30,.97)!important;box-shadow:0 24px 60px rgba(0,0,0,.34)!important;backdrop-filter:blur(20px)!important;overflow:visible!important
  }
  body.admin-body.ui-rahcode .admin-bottom-nav.ontime-bottom-nav a{position:relative;min-width:0!important;flex:1 1 0!important;min-height:68px!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:flex-end!important;gap:7px!important;padding:8px 4px!important;border-radius:19px!important;background:transparent!important;color:#717d91!important;font-size:11px!important;font-weight:780!important;text-decoration:none!important}
  body.admin-body.ui-rahcode .admin-bottom-nav.ontime-bottom-nav a>.ui-icon{width:27px!important;height:27px!important}
  body.admin-body.ui-rahcode .admin-bottom-nav.ontime-bottom-nav a[aria-current="page"]{color:var(--ot-green)!important;background:#111827!important}
  body.admin-body.ui-rahcode .admin-bottom-nav.ontime-bottom-nav a[aria-current="page"]::before{content:"";position:absolute;top:-13px;width:58px;height:8px;border-radius:999px;background:var(--ot-green);box-shadow:0 0 22px rgba(0,189,125,.34)}
  body.admin-body.ui-rahcode .admin-bottom-nav.ontime-bottom-nav a.is-main{justify-content:flex-end!important;color:#e8ebef!important;background:transparent!important}
  body.admin-body.ui-rahcode .admin-bottom-nav.ontime-bottom-nav a.is-main>.ui-icon{position:absolute;top:-42px;width:76px!important;height:76px!important;padding:20px;border-radius:26px;background:linear-gradient(145deg,#00b879,#02ce8d);color:#06291f;stroke-width:2.8;box-shadow:0 13px 28px rgba(0,189,125,.24),0 0 0 8px #14191f}
  body.admin-body.ui-rahcode .admin-bottom-nav.ontime-bottom-nav a.is-main>b{margin-top:36px;color:#e9edf1!important}
  body.admin-body.ui-rahcode .admin-bottom-nav.ontime-bottom-nav a.is-main[aria-current="page"]::before{display:none}

  body.admin-body.page-index.ui-rahcode .page-shell.admin-shell{width:calc(100% - 28px)!important;padding-top:34px!important}
  .ontime-dashboard{gap:24px}
  .ontime-subscription-card{min-height:246px;border-radius:34px}
  .ontime-plan-side,.ontime-sms-side{padding:26px 24px}
  .ontime-plan-icon{top:25px;inset-inline-start:22px;width:58px;height:58px;border-radius:20px}.ontime-plan-icon .ui-icon{width:31px;height:31px}
  .ontime-plan-copy small,.ontime-sms-side>small{font-size:15px}.ontime-plan-copy strong{font-size:23px!important}.ontime-credit-pill{margin-top:34px;padding:11px 14px;font-size:14px}.ontime-plan-upgrade{margin-top:24px;min-height:56px;border-radius:20px;font-size:15px}
  .ontime-card-collapse{top:26px;inset-inline-end:22px;width:48px;height:48px;border-radius:17px}.ontime-card-collapse .ui-icon{width:24px;height:24px}
  .ontime-sms-count strong{font-size:48px!important}.ontime-sms-count span{font-size:15px}.ontime-sms-meter{margin-top:24px;height:8px}.ontime-sms-buy{margin-top:28px;min-height:56px;border-radius:20px;font-size:16px}
  .ontime-new-booking{min-height:118px;grid-template-columns:66px 1fr 52px;gap:14px;padding:18px 25px;border-radius:58px}.ontime-new-booking-icon{width:64px;height:64px;border-radius:23px}.ontime-new-booking-icon .ui-icon{width:36px;height:36px}.ontime-new-booking-copy strong{font-size:24px!important}.ontime-new-booking-copy small{font-size:14px}.ontime-new-booking-spark .ui-icon{width:38px;height:38px}
  .ontime-section-head h1{font-size:26px!important}.ontime-section-head h1::before{height:42px;width:9px}.ontime-section-head>span{padding:9px 18px;font-size:12px}
  .ontime-shortcuts-grid{gap:11px}.ontime-shortcut{min-height:142px;border-radius:18px;gap:14px}.ontime-shortcut-icon{width:66px;height:66px;border-radius:23px}.ontime-shortcut-icon .ui-icon{width:35px;height:35px}.ontime-shortcut strong{font-size:13px!important}
  .ontime-today-summary{grid-template-columns:1fr 1fr}.ontime-today-panel{padding:18px;border-radius:24px}
}

@media(max-width:520px){
  body.admin-body.ui-rahcode .page-shell.admin-shell{width:calc(100% - 20px)!important}
  body.admin-body.page-index.ui-rahcode .page-shell.admin-shell{width:calc(100% - 20px)!important;padding-top:24px!important}
  .ontime-subscription-card{grid-template-columns:1fr 1fr;min-height:220px;border-radius:28px}
  .ontime-plan-side,.ontime-sms-side{padding:20px 15px}
  .ontime-plan-icon{top:20px;inset-inline-start:14px;width:46px;height:46px;border-radius:16px}.ontime-plan-icon .ui-icon{width:25px;height:25px}
  .ontime-plan-copy{margin-top:10px}.ontime-plan-copy small,.ontime-sms-side>small{font-size:12px}.ontime-plan-copy strong{font-size:18px!important}.ontime-credit-pill{margin-top:28px;padding:9px 10px;gap:6px;font-size:11px}.ontime-credit-pill .ui-icon{width:16px;height:16px}.ontime-plan-upgrade{margin-top:18px;min-height:47px;border-radius:16px;font-size:12px;gap:7px}.ontime-plan-upgrade .ui-icon{width:20px;height:20px}
  .ontime-card-collapse{top:20px;inset-inline-end:14px;width:40px;height:40px;border-radius:14px}.ontime-card-collapse .ui-icon{width:20px;height:20px}
  .ontime-sms-count{gap:5px;margin-top:7px}.ontime-sms-count strong{font-size:38px!important}.ontime-sms-count span{font-size:11px;padding-bottom:6px}.ontime-sms-meter{margin-top:20px}.ontime-sms-buy{margin-top:22px;min-height:48px;border-radius:16px;font-size:12px;gap:8px}.ontime-sms-buy .ui-icon{width:20px;height:20px}
  .ontime-new-booking{min-height:100px;grid-template-columns:52px 1fr 42px;padding:14px 18px;gap:8px;border-radius:50px}.ontime-new-booking-icon{width:52px;height:52px;border-radius:19px}.ontime-new-booking-icon .ui-icon{width:30px;height:30px}.ontime-new-booking-copy strong{font-size:20px!important}.ontime-new-booking-copy small{font-size:11.5px}.ontime-new-booking-spark .ui-icon{width:31px;height:31px}
  .ontime-shortcuts-section{padding-top:20px;gap:18px}.ontime-section-head{padding:0 3px}.ontime-section-head h1{font-size:22px!important;gap:10px}.ontime-section-head h1::before{height:34px;width:8px}.ontime-section-head>span{padding:7px 12px;font-size:9.5px}
  .ontime-shortcuts-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.ontime-shortcut{min-height:116px;padding:10px 4px;gap:10px;border-radius:15px}.ontime-shortcut-icon{width:52px;height:52px;border-radius:18px}.ontime-shortcut-icon .ui-icon{width:28px;height:28px}.ontime-shortcut strong{font-size:10px!important;line-height:1.4}
  .ontime-today-summary{gap:8px}.ontime-today-summary article{min-height:100px;padding:12px;border-radius:18px;grid-template-columns:36px 1fr}.ontime-today-summary article>span{width:36px;height:36px;border-radius:12px}.ontime-today-summary article>span .ui-icon{width:19px;height:19px}.ontime-today-summary small{font-size:10px}.ontime-today-summary strong{font-size:19px!important}
  .ontime-today-panel-head h2{font-size:19px!important}.ontime-next-appointment{grid-template-columns:64px 1fr;padding:12px}.ontime-next-appointment>a{grid-column:2}.ontime-next-time{height:52px;font-size:15px}.ontime-appointment-item{grid-template-columns:58px 1fr;gap:8px}.ontime-appointment-status{grid-column:2;justify-self:start}.ontime-finance-strip{grid-template-columns:1fr 1fr;padding:15px}.ontime-finance-strip>a{grid-column:1/-1}
}

@media(max-width:370px){
  body.admin-body.ui-rahcode .site-header.admin-header .container{width:calc(100% - 14px)!important;padding:0 9px!important}.ontime-shortcuts-grid{gap:6px}.ontime-shortcut{min-height:108px}.ontime-shortcut-icon{width:46px;height:46px;border-radius:16px}.ontime-shortcut strong{font-size:9px!important}
  body.admin-body.ui-rahcode .admin-bottom-nav.ontime-bottom-nav{right:6px!important;left:6px!important}.ontime-new-booking-copy small{display:none}
}

/* ------------------------------------------------------------------
   Aranu 1.1.48 — Theme visibility and day/night corrections
   Fixes: unreadable menu states in dark mode, true light-mode surfaces,
   and coherent mobile chrome colors for the OnTime shell.
   ------------------------------------------------------------------ */
html[data-panel-theme="light"] body.admin-body.ui-rahcode{
  --ot-bg:#eef4fb;
  --ot-panel:#ffffff;
  --ot-panel-2:#f7fafe;
  --ot-panel-3:#edf3fa;
  --ot-line:#d6e0ec;
  --ot-line-soft:#e3ebf4;
  --ot-text:#152437;
  --ot-muted:#66778d;
}

html[data-panel-theme="light"] body.admin-body.page-index.ui-rahcode{
  background:linear-gradient(180deg,#f7fbff 0%,#eef4fb 100%)!important;
  color:var(--ot-text)!important;
}
html[data-panel-theme="light"] body.admin-body.page-index.ui-rahcode main :where(h1,h2,h3,strong){color:var(--ot-text)!important}
html[data-panel-theme="light"] body.admin-body.page-index.ui-rahcode .site-footer{
  background:transparent!important;
  border-color:var(--ot-line-soft)!important;
  color:var(--ot-muted)!important;
}

/* Top navigation and mega menu readability in both themes */
body.admin-body.ui-rahcode .business-admin-nav>.admin-nav-item,
body.admin-body.ui-rahcode .business-admin-nav>.admin-panel-group>.admin-panel-parent,
body.admin-body.ui-rahcode .admin-panel-dropdown .admin-nav-item,
body.admin-body.ui-rahcode .admin-nav-logout{
  color:var(--pro-text)!important;
}
body.admin-body.ui-rahcode .business-admin-nav .admin-nav-item small,
body.admin-body.ui-rahcode .business-admin-nav .admin-panel-dropdown small,
body.admin-body.ui-rahcode .admin-panel-parent .menu-chevron,
body.admin-body.ui-rahcode .admin-nav-logout small{
  color:var(--pro-muted)!important;
}
html[data-panel-theme="dark"] body.admin-body.ui-rahcode .business-admin-nav>.admin-nav-item,
html[data-panel-theme="dark"] body.admin-body.ui-rahcode .business-admin-nav>.admin-panel-group>.admin-panel-parent,
html[data-panel-theme="dark"] body.admin-body.ui-rahcode .admin-panel-dropdown .admin-nav-item,
html[data-panel-theme="dark"] body.admin-body.ui-rahcode .admin-nav-logout{
  color:#d9e5f2!important;
}
html[data-panel-theme="dark"] body.admin-body.ui-rahcode .business-admin-nav .admin-nav-item small,
html[data-panel-theme="dark"] body.admin-body.ui-rahcode .admin-panel-dropdown .admin-nav-item small,
html[data-panel-theme="dark"] body.admin-body.ui-rahcode .admin-nav-logout small,
html[data-panel-theme="dark"] body.admin-body.ui-rahcode .menu-chevron{
  color:#93a6bf!important;
}
html[data-panel-theme="dark"] body.admin-body.ui-rahcode .admin-panel-dropdown .panel-sub-logo{
  background:#1a2435!important;
  border-color:#304055!important;
  color:#a7bad1!important;
}

/* Dashboard shell — dark mode keeps existing structure but stronger contrast */
html[data-panel-theme="dark"] .ontime-shortcut strong,
html[data-panel-theme="dark"] .ontime-today-panel-head a,
html[data-panel-theme="dark"] .ontime-finance-strip small,
html[data-panel-theme="dark"] .ontime-empty,
html[data-panel-theme="dark"] .ontime-appointment-main small,
html[data-panel-theme="dark"] .ontime-plan-copy small,
html[data-panel-theme="dark"] .ontime-sms-side>small,
html[data-panel-theme="dark"] .ontime-credit-pill,
html[data-panel-theme="dark"] .ontime-sms-count span{
  color:#a6b4c8!important;
}
html[data-panel-theme="dark"] .ontime-shortcut{
  border-color:#313d51!important;
  background:#161d29!important;
}
html[data-panel-theme="dark"] .ontime-shortcut strong{color:#dce6f5!important}
html[data-panel-theme="dark"] .ontime-today-summary article,
html[data-panel-theme="dark"] .ontime-today-panel,
html[data-panel-theme="dark"] .ontime-finance-strip{
  border-color:#2b3648!important;
  background:#171d25!important;
}

/* Full light-mode conversion for the OnTime dashboard */
html[data-panel-theme="light"] .ontime-subscription-card{
  border-color:var(--ot-line)!important;
  background:var(--ot-panel)!important;
  box-shadow:0 22px 56px rgba(15,23,42,.08)!important;
}
html[data-panel-theme="light"] .ontime-plan-side{
  background:linear-gradient(180deg,#fbfdff 0%,#f4f8fd 100%)!important;
  border-inline-start:1px solid rgba(15,23,42,.06)!important;
}
html[data-panel-theme="light"] .ontime-sms-side{
  background:linear-gradient(160deg,#ffffff 0%,#f8fbff 68%,#eef5fb 100%)!important;
}
html[data-panel-theme="light"] .ontime-plan-icon{
  background:linear-gradient(145deg,#fff2c8,#f6e2a0)!important;
  border-color:#e3bf54!important;
  color:#9b6900!important;
  box-shadow:inset 0 0 18px rgba(255,182,0,.10)!important;
}
html[data-panel-theme="light"] .ontime-plan-copy small,
html[data-panel-theme="light"] .ontime-sms-side>small,
html[data-panel-theme="light"] .ontime-sms-count span,
html[data-panel-theme="light"] .ontime-credit-pill,
html[data-panel-theme="light"] .ontime-today-summary small,
html[data-panel-theme="light"] .ontime-today-panel-head a,
html[data-panel-theme="light"] .ontime-next-appointment p,
html[data-panel-theme="light"] .ontime-appointment-main small,
html[data-panel-theme="light"] .ontime-empty,
html[data-panel-theme="light"] .ontime-finance-strip small{
  color:var(--ot-muted)!important;
}
html[data-panel-theme="light"] .ontime-plan-copy strong,
html[data-panel-theme="light"] .ontime-sms-count strong,
html[data-panel-theme="light"] .ontime-section-head h1,
html[data-panel-theme="light"] .ontime-shortcut strong,
html[data-panel-theme="light"] .ontime-today-panel-head h2,
html[data-panel-theme="light"] .ontime-next-appointment strong,
html[data-panel-theme="light"] .ontime-appointment-main strong,
html[data-panel-theme="light"] .ontime-finance-strip strong,
html[data-panel-theme="light"] .ontime-appointment-time,
html[data-panel-theme="light"] .ontime-today-summary strong{
  color:var(--ot-text)!important;
}
html[data-panel-theme="light"] .ontime-credit-pill{
  background:#eef3f8!important;
}
html[data-panel-theme="light"] .ontime-plan-upgrade{
  background:#eef1ff!important;
  border-color:#cad2ff!important;
  color:#2e3a97!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.55)!important;
}
html[data-panel-theme="light"] .ontime-card-collapse{
  background:#eef3f8!important;
  color:#617289!important;
}
html[data-panel-theme="light"] .ontime-sms-meter{background:#e4ecf5!important}
html[data-panel-theme="light"] .ontime-new-booking{
  box-shadow:0 24px 52px rgba(0,189,125,.18)!important;
}
html[data-panel-theme="light"] .ontime-section-head>span{
  background:#edf2f8!important;
  color:#738295!important;
}
html[data-panel-theme="light"] .ontime-shortcut{
  border-color:var(--ot-line)!important;
  background:#ffffff!important;
  box-shadow:0 12px 28px rgba(15,23,42,.05),inset 0 1px 0 rgba(255,255,255,.65)!important;
}
html[data-panel-theme="light"] .ontime-shortcut:hover{
  background:#f8fbff!important;
  border-color:#c8d4e4!important;
}
html[data-panel-theme="light"] .ontime-shortcut-icon{background:#f2f6fb!important}
html[data-panel-theme="light"] .ontime-today-summary article,
html[data-panel-theme="light"] .ontime-today-panel,
html[data-panel-theme="light"] .ontime-finance-strip{
  border-color:var(--ot-line)!important;
  background:#ffffff!important;
  box-shadow:0 18px 40px rgba(15,23,42,.06)!important;
}
html[data-panel-theme="light"] .ontime-today-summary article>span{background:#eaf8f3!important}
html[data-panel-theme="light"] .ontime-next-appointment{
  border-color:#bde6d6!important;
  background:linear-gradient(125deg,#f4fcf8,#eff9f5)!important;
}
html[data-panel-theme="light"] .ontime-next-time{color:#042c1e!important}
html[data-panel-theme="light"] .ontime-next-appointment>a,
html[data-panel-theme="light"] .ontime-finance-strip>a{color:#0b9f75!important}
html[data-panel-theme="light"] .ontime-appointment-item{
  border-color:#dbe5f0!important;
  background:#f9fbfd!important;
}
html[data-panel-theme="light"] .ontime-appointment-item:hover{
  background:#f1f6fb!important;
  border-color:#cad7e7!important;
}
html[data-panel-theme="light"] .ontime-appointment-status{background:#edf1f6!important;color:#4f6177!important}
html[data-panel-theme="light"] .ontime-appointment-status.status-confirmed{background:#e8f8f1!important;color:#059669!important}
html[data-panel-theme="light"] .ontime-appointment-status.status-completed{background:#eaf2ff!important;color:#2563eb!important}
html[data-panel-theme="light"] .ontime-appointment-status.status-cancelled,
html[data-panel-theme="light"] .ontime-appointment-status.status-no_show{background:#feebef!important;color:#e11d48!important}
html[data-panel-theme="light"] .ontime-appointment-status.status-pending{background:#fff5db!important;color:#b7791f!important}
html[data-panel-theme="light"] .ontime-empty{
  border-color:#cfd9e7!important;
  background:#fafcff!important;
}

/* Mobile chrome needs matching light/dark colors */
@media(max-width:760px){
  html[data-panel-theme="light"] body.admin-body.ui-rahcode{
    background:#eef4fb!important;
  }
  html[data-panel-theme="light"] body.admin-body.ui-rahcode .site-header.admin-header .container{
    border-color:#d7e1ec!important;
    background:rgba(255,255,255,.96)!important;
    box-shadow:0 18px 40px rgba(15,23,42,.08)!important;
  }
  html[data-panel-theme="light"] body.admin-body.ui-rahcode .admin-header .brand strong{color:#122033!important}
  html[data-panel-theme="light"] body.admin-body.ui-rahcode .panel-mobile-alert{
    border-color:#d4deea!important;
    background:#f6f9fd!important;
    color:#6c7d92!important;
  }
  html[data-panel-theme="light"] body.admin-body.ui-rahcode .admin-nav-toggle{
    border-color:#83dcc0!important;
    background:linear-gradient(145deg,#0ac28a,#1ad4a0)!important;
    color:#073127!important;
    box-shadow:0 10px 24px rgba(0,189,125,.18)!important;
  }
  html[data-panel-theme="light"] body.admin-body.ui-rahcode .business-admin-nav{
    border-color:#d7e2ee!important;
    background:#ffffff!important;
    box-shadow:0 24px 65px rgba(15,23,42,.14)!important;
  }
  html[data-panel-theme="light"] body.admin-body.ui-rahcode .business-admin-nav :where(.admin-nav-item,.admin-panel-parent){
    color:#263649!important;
  }
  html[data-panel-theme="light"] body.admin-body.ui-rahcode .business-admin-nav .admin-panel-dropdown{
    background:#f8fbff!important;
    border-color:#dae4ef!important;
  }
  html[data-panel-theme="light"] body.admin-body.ui-rahcode .admin-bottom-nav.ontime-bottom-nav{
    border-color:#d7e1ec!important;
    background:rgba(255,255,255,.97)!important;
    box-shadow:0 24px 60px rgba(15,23,42,.16)!important;
  }
  html[data-panel-theme="light"] body.admin-body.ui-rahcode .admin-bottom-nav.ontime-bottom-nav a{
    color:#6c7c90!important;
  }
  html[data-panel-theme="light"] body.admin-body.ui-rahcode .admin-bottom-nav.ontime-bottom-nav a[aria-current="page"]{
    background:#eef7f4!important;
    color:#00a874!important;
  }
  html[data-panel-theme="light"] body.admin-body.ui-rahcode .admin-bottom-nav.ontime-bottom-nav a.is-main{
    color:#172636!important;
  }
  html[data-panel-theme="light"] body.admin-body.ui-rahcode .admin-bottom-nav.ontime-bottom-nav a.is-main>.ui-icon{
    box-shadow:0 13px 28px rgba(0,189,125,.20),0 0 0 8px #eef4fb!important;
  }
}

/* ------------------------------------------------------------------
   Aranu 1.1.49 — Pastel redesign + mobile bug fixes
   Softer mint / blush palette, cleaner mobile layout, stacked subscription
   card on small screens, less intrusive bottom nav, and safer text fitting.
   ------------------------------------------------------------------ */
:root{
  --ot-green:#8fd8c8;
  --ot-green-2:#f3c7d4;
  --ot-green-soft:#dff6f0;
  --ot-blue:#86a8ff;
  --ot-purple:#a08ef2;
  --ot-orange:#efb58d;
  --ot-red:#ef7f9f;
  --ot-pink:#e9a7c4;
  --ot-cyan:#7fc8d8;
}

html[data-panel-theme="light"] body.admin-body.ui-rahcode{
  --ot-bg:#fbf7f8;
  --ot-panel:#ffffff;
  --ot-panel-2:#fff9fa;
  --ot-panel-3:#fdf2f5;
  --ot-line:#e8dde3;
  --ot-line-soft:#f1e9ee;
  --ot-text:#263247;
  --ot-muted:#7d8697;
}
html[data-panel-theme="dark"] body.admin-body.ui-rahcode{
  --ot-bg:#14141c;
  --ot-panel:#1a1c27;
  --ot-panel-2:#202331;
  --ot-panel-3:#262938;
  --ot-line:#313547;
  --ot-line-soft:#282c3b;
  --ot-text:#f7f2f7;
  --ot-muted:#a6a8bb;
}

/* More elegant brand feeling */
.ontime-subscription-card{
  border-radius:34px!important;
}
html[data-panel-theme="light"] .ontime-subscription-card{
  box-shadow:0 24px 64px rgba(80,48,67,.08)!important;
}
html[data-panel-theme="light"] .ontime-plan-side{
  background:linear-gradient(180deg,#fffefe 0%,#fff7f8 100%)!important;
}
html[data-panel-theme="light"] .ontime-sms-side{
  background:linear-gradient(160deg,#fffdfd 0%,#fef7fa 60%,#fbf9ff 100%)!important;
}
html[data-panel-theme="dark"] .ontime-plan-side{
  background:linear-gradient(180deg,#1c1d28 0%,#191b26 100%)!important;
}
html[data-panel-theme="dark"] .ontime-sms-side{
  background:linear-gradient(160deg,#212433 0%,#1c1e2b 68%,#1b1d29 100%)!important;
}

.ontime-plan-icon{
  background:linear-gradient(145deg,#fff2c9,#f6d8a5)!important;
  border-color:#e7c07e!important;
  color:#9d6a08!important;
}
.ontime-credit-pill{
  background:rgba(255,255,255,.58)!important;
  backdrop-filter:blur(10px)!important;
}
html[data-panel-theme="dark"] .ontime-credit-pill{
  background:#232636!important;
}

.ontime-plan-upgrade{
  background:linear-gradient(135deg,#f8eff7,#f1efff)!important;
  border-color:#dbcde8!important;
  color:#775ca8!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.55)!important;
}
.ontime-plan-upgrade .ui-icon{color:#9b88e8!important}
.ontime-sms-buy{
  background:linear-gradient(135deg,#9adfd1 0%,#f3c5d4 100%)!important;
  color:#283246!important;
  box-shadow:0 16px 34px rgba(214,149,176,.18)!important;
}
.ontime-sms-buy .ui-icon{color:#725cd8!important}

.ontime-new-booking{
  background:linear-gradient(110deg,#8fd8c8 0%,#a9dfd1 42%,#f1c8d6 100%)!important;
  color:#253447!important;
  box-shadow:0 28px 62px rgba(193,142,166,.18)!important;
}
.ontime-new-booking::after{background:rgba(255,255,255,.18)!important}
.ontime-new-booking-icon{
  background:rgba(255,255,255,.18)!important;
  border-color:rgba(255,255,255,.32)!important;
}
.ontime-new-booking-copy strong{color:#203145!important}
.ontime-new-booking-copy small{color:#42556a!important}
.ontime-new-booking-spark{color:#fff7b2!important}

html[data-panel-theme="dark"] .ontime-new-booking{
  color:#172232!important;
}
html[data-panel-theme="dark"] .ontime-new-booking-copy strong{color:#162030!important}
html[data-panel-theme="dark"] .ontime-new-booking-copy small{color:#314052!important}

.ontime-section-head h1::before{
  background:linear-gradient(180deg,#8fd8c8,#efbfd0)!important;
}
.ontime-shortcut{
  transition:transform .18s ease,border-color .18s ease,background-color .18s ease,box-shadow .18s ease!important;
}
html[data-panel-theme="light"] .ontime-shortcut{
  background:linear-gradient(180deg,#ffffff 0%,#fffafc 100%)!important;
  border-color:#eadfe6!important;
  box-shadow:0 12px 26px rgba(80,48,67,.05)!important;
}
html[data-panel-theme="light"] .ontime-shortcut:hover{
  background:#fffdfd!important;
  border-color:#dfcdda!important;
  box-shadow:0 14px 30px rgba(80,48,67,.08)!important;
}
html[data-panel-theme="dark"] .ontime-shortcut{
  background:linear-gradient(180deg,#1b1e29 0%,#191c26 100%)!important;
  border-color:#313647!important;
}
html[data-panel-theme="dark"] .ontime-shortcut:hover{
  background:#202431!important;
  border-color:#41485d!important;
}
html[data-panel-theme="light"] .ontime-shortcut strong{color:#526073!important}
html[data-panel-theme="dark"] .ontime-shortcut strong{color:#dae0eb!important}

/* Softer icon tones */
.ontime-shortcut.tone-green .ontime-shortcut-icon{background:#e7f8f3!important;color:#5fc1ab!important}
.ontime-shortcut.tone-orange .ontime-shortcut-icon{background:#fff1e9!important;color:#e6a07b!important}
.ontime-shortcut.tone-blue .ontime-shortcut-icon{background:#eef2ff!important;color:#7e9cff!important}
.ontime-shortcut.tone-purple .ontime-shortcut-icon{background:#f3efff!important;color:#9f8ded!important}
.ontime-shortcut.tone-pink .ontime-shortcut-icon{background:#feeff5!important;color:#e48db6!important}
.ontime-shortcut.tone-red .ontime-shortcut-icon{background:#fff0f4!important;color:#ef7f9f!important}
.ontime-shortcut.tone-cyan .ontime-shortcut-icon{background:#edf8fb!important;color:#72bdd0!important}
.ontime-shortcut.tone-mint .ontime-shortcut-icon{background:#e7f8f3!important;color:#6dc8b3!important}
html[data-panel-theme="dark"] .ontime-shortcut.tone-green .ontime-shortcut-icon{background:#243932!important;color:#8ed8c8!important}
html[data-panel-theme="dark"] .ontime-shortcut.tone-orange .ontime-shortcut-icon{background:#372a25!important;color:#f1b18b!important}
html[data-panel-theme="dark"] .ontime-shortcut.tone-blue .ontime-shortcut-icon{background:#242c44!important;color:#9db4ff!important}
html[data-panel-theme="dark"] .ontime-shortcut.tone-purple .ontime-shortcut-icon{background:#2d2744!important;color:#b5a6ff!important}
html[data-panel-theme="dark"] .ontime-shortcut.tone-pink .ontime-shortcut-icon{background:#382739!important;color:#f0a5c8!important}
html[data-panel-theme="dark"] .ontime-shortcut.tone-red .ontime-shortcut-icon{background:#3a252d!important;color:#ff98b3!important}
html[data-panel-theme="dark"] .ontime-shortcut.tone-cyan .ontime-shortcut-icon{background:#213742!important;color:#8ad0de!important}
html[data-panel-theme="dark"] .ontime-shortcut.tone-mint .ontime-shortcut-icon{background:#213732!important;color:#91dbc8!important}

html[data-panel-theme="light"] .ontime-today-summary article,
html[data-panel-theme="light"] .ontime-today-panel,
html[data-panel-theme="light"] .ontime-finance-strip{
  background:linear-gradient(180deg,#ffffff 0%,#fffafb 100%)!important;
  border-color:#eadfe6!important;
  box-shadow:0 16px 36px rgba(80,48,67,.06)!important;
}
html[data-panel-theme="dark"] .ontime-today-summary article,
html[data-panel-theme="dark"] .ontime-today-panel,
html[data-panel-theme="dark"] .ontime-finance-strip{
  background:linear-gradient(180deg,#1b1e29 0%,#1a1c27 100%)!important;
  border-color:#2f3445!important;
}
html[data-panel-theme="light"] .ontime-today-summary article>span{background:#edf9f4!important;color:#68bca9!important}
html[data-panel-theme="dark"] .ontime-today-summary article>span{background:#233832!important;color:#8ed8c8!important}

html[data-panel-theme="light"] .ontime-next-appointment{
  border-color:#e7d4dd!important;
  background:linear-gradient(120deg,#fff8fb,#f8fcfb)!important;
}
html[data-panel-theme="dark"] .ontime-next-appointment{
  border-color:#3b3444!important;
  background:linear-gradient(125deg,#27222d,#1f262b)!important;
}
html[data-panel-theme="light"] .ontime-next-time{
  background:linear-gradient(135deg,#9adfd1,#f2c7d5)!important;
  color:#253246!important;
}
html[data-panel-theme="dark"] .ontime-next-time{
  background:linear-gradient(135deg,#8fd8c8,#e6b0c4)!important;
  color:#1e2430!important;
}

html[data-panel-theme="light"] .ontime-appointment-item{
  background:#fffdfd!important;
  border-color:#eadfe6!important;
}
html[data-panel-theme="light"] .ontime-appointment-item:hover{
  background:#fff8fb!important;
  border-color:#ddced8!important;
}
html[data-panel-theme="dark"] .ontime-appointment-item{
  background:#1d202c!important;
  border-color:#313647!important;
}
html[data-panel-theme="dark"] .ontime-appointment-item:hover{
  background:#232734!important;
  border-color:#41485d!important;
}

/* Header and bottom nav pastelized */
@media(max-width:760px){
  html[data-panel-theme="light"] body.admin-body.ui-rahcode .site-header.admin-header .container{
    background:rgba(255,252,253,.97)!important;
    border-color:#eadfe6!important;
  }
  html[data-panel-theme="dark"] body.admin-body.ui-rahcode .site-header.admin-header .container{
    background:#1a1c27!important;
    border-color:#313547!important;
  }
  body.admin-body.ui-rahcode .admin-nav-toggle{
    background:linear-gradient(145deg,#8fd8c8,#f3c7d4)!important;
    border-color:#dbcdda!important;
    color:#283246!important;
    box-shadow:0 10px 24px rgba(193,142,166,.18)!important;
  }
  body.admin-body.ui-rahcode .panel-mobile-alert{
    border-radius:18px!important;
  }
  body.admin-body.ui-rahcode .admin-bottom-nav.ontime-bottom-nav{
    min-height:86px!important;
    padding:10px 8px calc(8px + env(safe-area-inset-bottom))!important;
    border-radius:28px!important;
  }
  body.admin-body.ui-rahcode .admin-bottom-nav.ontime-bottom-nav a{
    min-height:58px!important;
    gap:5px!important;
    font-size:10.5px!important;
  }
  body.admin-body.ui-rahcode .admin-bottom-nav.ontime-bottom-nav a>.ui-icon{width:25px!important;height:25px!important}
  body.admin-body.ui-rahcode .admin-bottom-nav.ontime-bottom-nav a[aria-current="page"]::before{
    top:-10px!important;
    width:48px!important;
    height:6px!important;
    background:linear-gradient(90deg,#8fd8c8,#efbfd0)!important;
    box-shadow:0 0 18px rgba(193,142,166,.30)!important;
  }
  body.admin-body.ui-rahcode .admin-bottom-nav.ontime-bottom-nav a.is-main>.ui-icon{
    top:-34px!important;
    width:68px!important;
    height:68px!important;
    padding:18px!important;
    border-radius:24px!important;
    background:linear-gradient(145deg,#8fd8c8,#f3c7d4)!important;
    color:#1f2d3c!important;
  }
  body.admin-body.ui-rahcode .admin-bottom-nav.ontime-bottom-nav a.is-main>b{margin-top:30px!important}
  html[data-panel-theme="light"] body.admin-body.ui-rahcode .admin-bottom-nav.ontime-bottom-nav{
    border-color:#eadfe6!important;
    background:rgba(255,252,253,.96)!important;
    box-shadow:0 22px 50px rgba(80,48,67,.12)!important;
  }
  html[data-panel-theme="dark"] body.admin-body.ui-rahcode .admin-bottom-nav.ontime-bottom-nav{
    border-color:#313547!important;
    background:rgba(25,28,39,.96)!important;
  }
  html[data-panel-theme="light"] body.admin-body.ui-rahcode .admin-bottom-nav.ontime-bottom-nav a[aria-current="page"]{
    background:#fff5f8!important;
    color:#d07ea3!important;
  }
  html[data-panel-theme="dark"] body.admin-body.ui-rahcode .admin-bottom-nav.ontime-bottom-nav a[aria-current="page"]{
    background:#252836!important;
    color:#f0bfd0!important;
  }

  /* More room for content below floating nav */
  body.admin-body.ui-rahcode .page-shell.admin-shell,
  body.admin-body.page-index.ui-rahcode .page-shell.admin-shell{
    padding-bottom:164px!important;
  }
}

/* Main mobile bug fixes */
@media(max-width:520px){
  .ontime-dashboard{gap:20px!important}
  .ontime-subscription-card{
    grid-template-columns:1fr!important;
    min-height:auto!important;
    border-radius:30px!important;
    overflow:hidden!important;
  }
  .ontime-plan-side,.ontime-sms-side{
    min-width:0!important;
    align-items:stretch!important;
    padding:20px 16px!important;
  }
  .ontime-plan-side{
    border-inline-start:0!important;
    border-bottom:1px solid rgba(127,134,151,.16)!important;
    padding-top:82px!important;
  }
  .ontime-sms-side{
    padding-top:74px!important;
  }
  .ontime-plan-icon{
    top:18px!important;
    inset-inline-start:16px!important;
    width:48px!important;
    height:48px!important;
  }
  .ontime-card-collapse{
    top:18px!important;
    inset-inline-end:16px!important;
    width:42px!important;
    height:42px!important;
  }
  .ontime-plan-copy,
  .ontime-sms-count,
  .ontime-sms-side>small{
    min-width:0!important;
  }
  .ontime-plan-copy strong{
    font-size:20px!important;
    line-height:1.35!important;
    white-space:normal!important;
    overflow-wrap:anywhere!important;
  }
  .ontime-plan-copy small,
  .ontime-sms-side>small{font-size:13px!important}
  .ontime-credit-pill{margin-top:18px!important;font-size:12px!important}
  .ontime-plan-upgrade,
  .ontime-sms-buy{
    width:100%!important;
    min-height:50px!important;
    font-size:13px!important;
  }
  .ontime-sms-count{margin-top:8px!important;gap:8px!important}
  .ontime-sms-count strong{font-size:34px!important}
  .ontime-sms-count span{font-size:12px!important}
  .ontime-new-booking{
    min-height:96px!important;
    grid-template-columns:42px 1fr 46px!important;
    gap:10px!important;
    padding:14px 16px!important;
    border-radius:34px!important;
  }
  .ontime-new-booking-icon{
    width:44px!important;
    height:44px!important;
    border-radius:16px!important;
  }
  .ontime-new-booking-icon .ui-icon{width:24px!important;height:24px!important}
  .ontime-new-booking-copy strong{font-size:18px!important}
  .ontime-new-booking-copy small{font-size:11px!important}
  .ontime-new-booking-spark .ui-icon{width:26px!important;height:26px!important}

  .ontime-shortcuts-section{padding-top:10px!important}
  .ontime-section-head{
    padding:0 2px!important;
    align-items:center!important;
    margin-bottom:2px!important;
  }
  .ontime-section-head h1{
    font-size:20px!important;
    gap:10px!important;
  }
  .ontime-section-head>span{
    font-size:9px!important;
    padding:6px 10px!important;
  }
  .ontime-shortcuts-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:10px!important;
  }
  .ontime-shortcut{
    min-height:106px!important;
    padding:10px 8px!important;
    border-radius:16px!important;
    gap:10px!important;
  }
  .ontime-shortcut-icon{
    width:48px!important;
    height:48px!important;
    border-radius:16px!important;
  }
  .ontime-shortcut-icon .ui-icon{width:25px!important;height:25px!important}
  .ontime-shortcut strong{font-size:11px!important;line-height:1.5!important}

  .ontime-today-summary{
    grid-template-columns:1fr 1fr!important;
    gap:8px!important;
  }
  .ontime-today-summary article{
    min-height:88px!important;
    padding:10px!important;
    border-radius:18px!important;
    grid-template-columns:34px 1fr!important;
  }
  .ontime-today-summary article>span{
    width:34px!important;
    height:34px!important;
    border-radius:12px!important;
  }
  .ontime-today-summary strong{font-size:18px!important}
  .ontime-today-summary small{font-size:10px!important}

  .ontime-today-panel{
    padding:16px!important;
    border-radius:22px!important;
  }
  .ontime-today-panel-head{
    align-items:center!important;
    margin-bottom:14px!important;
  }
  .ontime-today-panel-head h2{font-size:18px!important}
  .ontime-next-appointment{
    grid-template-columns:58px 1fr!important;
    gap:10px!important;
    padding:12px!important;
  }
  .ontime-next-time{
    height:48px!important;
    font-size:14px!important;
  }
  .ontime-next-appointment>a{
    grid-column:2!important;
    justify-self:start!important;
  }
  .ontime-appointment-item{
    grid-template-columns:56px 1fr!important;
    gap:8px!important;
    padding:10px 11px!important;
  }
  .ontime-appointment-status{
    grid-column:2!important;
    justify-self:start!important;
  }
  .ontime-finance-strip{
    grid-template-columns:1fr!important;
    gap:10px!important;
    padding:16px!important;
  }
  .ontime-finance-strip>a{justify-content:flex-start!important}
}

@media(max-width:370px){
  .ontime-shortcuts-grid{grid-template-columns:1fr 1fr!important}
  .ontime-shortcut strong{font-size:10px!important}
  .ontime-new-booking-copy strong{font-size:16px!important}
  body.admin-body.ui-rahcode .admin-bottom-nav.ontime-bottom-nav a b{font-size:9px!important}
}

/* ------------------------------------------------------------------
   Aranu 1.1.50 — Super-admin palette switcher + appointment mobile fixes
   ------------------------------------------------------------------ */
body.admin-body.ui-rahcode[data-panel-palette="mint_nude"]{
  --ar-p1:#8fd8c8;
  --ar-p2:#f3c7d4;
  --ar-p3:#f2e0c8;
  --ar-p4:#c98ba6;
  --ar-p4-soft:#f6e7ee;
}
body.admin-body.ui-rahcode[data-panel-palette="rose_cream"]{
  --ar-p1:#f3bdcd;
  --ar-p2:#f7dfc9;
  --ar-p3:#fff4ea;
  --ar-p4:#d887a3;
  --ar-p4-soft:#faebf1;
}
body.admin-body.ui-rahcode[data-panel-palette="lilac_cream"]{
  --ar-p1:#c2b4f4;
  --ar-p2:#f2d8e6;
  --ar-p3:#fff5ed;
  --ar-p4:#9e8ede;
  --ar-p4-soft:#efeafe;
}

body.admin-body.ui-rahcode[data-panel-palette]{
  --pro-primary:var(--ar-p4)!important;
  --pro-primary-hover:color-mix(in srgb,var(--ar-p4) 88%,#000)!important;
  --pro-primary-soft:var(--ar-p4-soft)!important;
}
body.admin-body.ui-rahcode[data-panel-palette] .ontime-section-head h1::before,
body.admin-body.ui-rahcode[data-panel-palette] .admin-bottom-nav.ontime-bottom-nav a[aria-current="page"]::before{
  background:linear-gradient(180deg,var(--ar-p1),var(--ar-p2))!important;
}
body.admin-body.ui-rahcode[data-panel-palette] .ontime-new-booking,
body.admin-body.ui-rahcode[data-panel-palette] .admin-nav-toggle,
body.admin-body.ui-rahcode[data-panel-palette] .admin-bottom-nav.ontime-bottom-nav a.is-main>.ui-icon,
body.admin-body.ui-rahcode[data-panel-palette] .ontime-next-time{
  background:linear-gradient(135deg,var(--ar-p1) 0%,var(--ar-p2) 100%)!important;
  color:#243245!important;
}
body.admin-body.ui-rahcode[data-panel-palette] .ontime-sms-buy{
  background:linear-gradient(135deg,var(--ar-p1) 0%,var(--ar-p2) 100%)!important;
  color:#263245!important;
}
body.admin-body.ui-rahcode[data-panel-palette] .ontime-sms-buy .ui-icon,
body.admin-body.ui-rahcode[data-panel-palette] .ontime-plan-upgrade .ui-icon,
body.admin-body.ui-rahcode[data-panel-palette] .admin-bottom-nav.ontime-bottom-nav a[aria-current="page"],
body.admin-body.ui-rahcode[data-panel-palette] .business-admin-nav>.admin-nav-item.is-active,
body.admin-body.ui-rahcode[data-panel-palette] .business-admin-nav>.admin-panel-group.is-active>.admin-panel-parent{
  color:var(--ar-p4)!important;
}
body.admin-body.ui-rahcode[data-panel-palette] .ontime-plan-upgrade{
  background:linear-gradient(135deg,color-mix(in srgb,var(--ar-p2) 42%,white),color-mix(in srgb,var(--ar-p1) 35%,white))!important;
  border-color:color-mix(in srgb,var(--ar-p4) 16%,#eadfe6)!important;
  color:color-mix(in srgb,var(--ar-p4) 82%,#4b5563)!important;
}
body.admin-body.ui-rahcode[data-panel-palette] .ontime-new-booking-copy strong,
body.admin-body.ui-rahcode[data-panel-palette] .ontime-new-booking-copy small,
body.admin-body.ui-rahcode[data-panel-palette] .admin-nav-toggle,
body.admin-body.ui-rahcode[data-panel-palette] .admin-bottom-nav.ontime-bottom-nav a.is-main{
  color:#243245!important;
}
body.admin-body.ui-rahcode[data-panel-palette] .ontime-today-summary article>span{
  background:color-mix(in srgb,var(--ar-p1) 28%,white)!important;
  color:var(--ar-p4)!important;
}
html[data-panel-theme="light"] body.admin-body.ui-rahcode[data-panel-palette] .admin-bottom-nav.ontime-bottom-nav a[aria-current="page"]{
  background:color-mix(in srgb,var(--ar-p2) 25%,white)!important;
}
html[data-panel-theme="dark"] body.admin-body.ui-rahcode[data-panel-palette] .admin-bottom-nav.ontime-bottom-nav a[aria-current="page"]{
  background:rgba(255,255,255,.06)!important;
  color:color-mix(in srgb,var(--ar-p2) 75%,white)!important;
}
html[data-panel-theme="light"] body.admin-body.ui-rahcode[data-panel-palette] .admin-nav-toggle,
html[data-panel-theme="light"] body.admin-body.ui-rahcode[data-panel-palette] .admin-bottom-nav.ontime-bottom-nav a.is-main>.ui-icon{
  border-color:color-mix(in srgb,var(--ar-p4) 14%,#eadfe6)!important;
  box-shadow:0 12px 28px color-mix(in srgb,var(--ar-p4) 16%,transparent)!important;
}
html[data-panel-theme="dark"] body.admin-body.ui-rahcode[data-panel-palette] .admin-nav-toggle,
html[data-panel-theme="dark"] body.admin-body.ui-rahcode[data-panel-palette] .admin-bottom-nav.ontime-bottom-nav a.is-main>.ui-icon{
  border-color:rgba(255,255,255,.08)!important;
  box-shadow:0 12px 28px rgba(0,0,0,.22)!important;
}

/* Appointment form mobile corrections */
body.admin-body.page-appointments.ui-rahcode .section-head h2{line-height:1.5!important}
body.admin-body.page-appointments.ui-rahcode form.form-grid{min-width:0!important}
body.admin-body.page-appointments.ui-rahcode form.form-grid :where(input,select,textarea,button){max-width:100%!important}
body.admin-body.page-appointments.ui-rahcode .receipt{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
body.admin-body.page-appointments.ui-rahcode .receipt>div{padding:12px;border-radius:14px;background:var(--panel-surface-2,#f8fafc);border:1px solid var(--panel-line,#e2e8f0)}
body.admin-body.page-appointments.ui-rahcode .receipt span{display:block;color:var(--panel-muted,#64748b);font-size:11px}
body.admin-body.page-appointments.ui-rahcode .receipt strong{display:block;margin-top:6px;font-size:15px}
@media(max-width:760px){
  body.admin-body.page-appointments.ui-rahcode .admin-title{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:12px!important;
  }
  body.admin-body.page-appointments.ui-rahcode .admin-title .btn{
    width:100%!important;
    justify-content:center!important;
  }
  body.admin-body.page-appointments.ui-rahcode .two-col{
    grid-template-columns:1fr!important;
    gap:16px!important;
  }
  body.admin-body.page-appointments.ui-rahcode .card{
    padding:16px!important;
    border-radius:22px!important;
  }
  body.admin-body.page-appointments.ui-rahcode .section-head{
    align-items:flex-start!important;
    flex-direction:column!important;
    gap:10px!important;
  }
  body.admin-body.page-appointments.ui-rahcode .section-head a:not(.btn){
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    min-height:40px!important;
    padding:0 14px!important;
    border-radius:999px!important;
    background:var(--panel-surface-2,#f8fafc)!important;
  }
  body.admin-body.page-appointments.ui-rahcode .filter-bar,
  body.admin-body.page-appointments.ui-rahcode .split,
  body.admin-body.page-appointments.ui-rahcode .inline-form,
  body.admin-body.page-appointments.ui-rahcode .settings-list>div{
    grid-template-columns:1fr!important;
    flex-direction:column!important;
    align-items:stretch!important;
  }
  body.admin-body.page-appointments.ui-rahcode .inline-form form,
  body.admin-body.page-appointments.ui-rahcode .inline-form .btn,
  body.admin-body.page-appointments.ui-rahcode .btn-block,
  body.admin-body.page-appointments.ui-rahcode .filter-bar .btn,
  body.admin-body.page-appointments.ui-rahcode .filter-bar .btn-secondary{
    width:100%!important;
  }
  body.admin-body.page-appointments.ui-rahcode .receipt{
    grid-template-columns:1fr!important;
  }
  body.admin-body.page-appointments.ui-rahcode .table-wrap{
    margin-inline:-6px!important;
    border-radius:16px!important;
  }
  body.admin-body.page-appointments.ui-rahcode table{min-width:660px!important}
}
@media(max-width:520px){
  body.admin-body.page-appointments.ui-rahcode .page-shell.admin-shell{padding-bottom:172px!important}
  body.admin-body.page-appointments.ui-rahcode .card h2,
  body.admin-body.page-appointments.ui-rahcode .section-head h2{font-size:17px!important}
  body.admin-body.page-appointments.ui-rahcode .appointment-attendees-field small,
  body.admin-body.page-appointments.ui-rahcode .form-grid small{font-size:10px!important;line-height:1.9!important}
  body.admin-body.page-appointments.ui-rahcode .filter-bar{gap:10px!important}
  body.admin-body.page-appointments.ui-rahcode .inline-form{gap:8px!important}
  body.admin-body.page-appointments.ui-rahcode .settings-list>div{padding:12px!important}
}

/* ------------------------------------------------------------------
   Aranu 1.1.51 — mobile icon sizing + booking/appointments layout repair
   ------------------------------------------------------------------ */
@media(max-width:760px){
  body.admin-body.ui-rahcode .site-header.admin-header .header-inner{
    min-height:72px!important;
    padding:8px 0!important;
    gap:8px!important;
  }
  body.admin-body.ui-rahcode .admin-header .brand-logo,
  body.admin-body.ui-rahcode .admin-header .brand-mark{
    width:46px!important;
    height:46px!important;
    border-radius:16px!important;
  }
  body.admin-body.ui-rahcode .panel-mobile-alert{
    width:46px!important;
    height:46px!important;
    min-width:46px!important;
    border-radius:16px!important;
  }
  body.admin-body.ui-rahcode .panel-mobile-alert .ui-icon{
    width:21px!important;
    height:21px!important;
  }
  body.admin-body.ui-rahcode .admin-nav-toggle{
    width:48px!important;
    height:48px!important;
    min-width:48px!important;
    border-radius:16px!important;
  }
  body.admin-body.ui-rahcode .admin-nav-toggle .ui-icon{
    width:24px!important;
    height:24px!important;
    stroke-width:2.15!important;
  }
  body.admin-body.ui-rahcode .admin-bottom-nav.ontime-bottom-nav{
    padding:10px 8px calc(10px + env(safe-area-inset-bottom,0px))!important;
  }
  body.admin-body.ui-rahcode .admin-bottom-nav.ontime-bottom-nav a{
    min-height:62px!important;
    font-size:10px!important;
    gap:5px!important;
  }
  body.admin-body.ui-rahcode .admin-bottom-nav.ontime-bottom-nav a>.ui-icon{
    width:23px!important;
    height:23px!important;
  }
  body.admin-body.ui-rahcode .admin-bottom-nav.ontime-bottom-nav a.is-main>.ui-icon{
    top:-34px!important;
    width:64px!important;
    height:64px!important;
    padding:16px!important;
    border-radius:22px!important;
  }
  body.admin-body.ui-rahcode .admin-bottom-nav.ontime-bottom-nav a.is-main>b{
    margin-top:30px!important;
  }

  body.admin-body.ui-rahcode [data-sy-appointment-layout="2"],
  body.admin-body.ui-rahcode #manual-booking{
    overflow:visible!important;
  }
  body.admin-body.ui-rahcode [data-sy-appointment-layout="2"] :where(.sy-native-clean-row,.sy-native-clean-row.two,.sy-native-clean-row.four,.sy-native-clean-extras){
    grid-template-columns:1fr!important;
    gap:12px!important;
  }
  body.admin-body.ui-rahcode [data-sy-appointment-layout="2"] :where(.sy-native-field,.sy-native-customer-field,.sy-native-price-field){
    gap:6px!important;
  }
  body.admin-body.ui-rahcode [data-sy-appointment-layout="2"] :where(.sy-native-field-title,.sy-native-customer-field>span,.sy-native-price-field>span){
    font-size:12px!important;
    line-height:1.7!important;
  }
  body.admin-body.ui-rahcode .sy-native-customer-control{
    align-items:stretch!important;
  }
  body.admin-body.ui-rahcode .sy-native-customer-control:before{
    inset-inline-start:12px!important;
    top:50%!important;
    transform:translateY(-50%)!important;
    font-size:18px!important;
  }
  body.admin-body.ui-rahcode .sy-native-customer-search{
    min-height:48px!important;
    padding-inline-start:36px!important;
    padding-inline-end:38px!important;
    font-size:14px!important;
  }
  body.admin-body.ui-rahcode .sy-native-customer-clear{
    inset-inline-end:6px!important;
    width:30px!important;
    height:30px!important;
    border-radius:9px!important;
    font-size:16px!important;
  }
  body.admin-body.ui-rahcode .sy-native-customer-results{
    position:static!important;
    inset:auto!important;
    margin-top:8px!important;
    max-height:220px!important;
  }
  body.admin-body.ui-rahcode .sy-native-customer-results button{
    min-height:48px!important;
    padding:8px 9px!important;
  }
  body.admin-body.ui-rahcode .sy-native-customer-status,
  body.admin-body.ui-rahcode .sy-native-field-help{
    align-items:flex-start!important;
    line-height:1.8!important;
    min-height:auto!important;
  }

  body.admin-body.ui-rahcode .manual-booking-studio.booking-workspace-v3{
    padding:14px!important;
    border-radius:20px!important;
  }
  body.admin-body.ui-rahcode .manual-booking-head,
  body.admin-body.ui-rahcode .booking-live-tools,
  body.admin-body.ui-rahcode .booking-slot-head,
  body.admin-body.ui-rahcode .booking-slot-groups>section>header,
  body.admin-body.ui-rahcode .summary-head{
    align-items:flex-start!important;
    flex-direction:column!important;
  }
  body.admin-body.ui-rahcode .booking-live-tools{
    width:100%!important;
    gap:8px!important;
    justify-content:space-between!important;
  }
  body.admin-body.ui-rahcode .booking-workspace-v3 .manual-booking-shell,
  body.admin-body.ui-rahcode .manual-booking-shell{
    grid-template-columns:1fr!important;
    gap:14px!important;
  }
  body.admin-body.ui-rahcode .booking-workspace-v3 .manual-booking-main,
  body.admin-body.ui-rahcode .manual-booking-main{
    display:grid!important;
    gap:12px!important;
  }
  body.admin-body.ui-rahcode .booking-workspace-v3 .booking-step{
    padding:14px!important;
    border-radius:18px!important;
    opacity:1!important;
    transform:none!important;
  }
  body.admin-body.ui-rahcode .booking-workspace-v3 .booking-step>header{
    grid-template-columns:32px minmax(0,1fr)!important;
    gap:10px!important;
  }
  body.admin-body.ui-rahcode .booking-workspace-v3 .booking-step>header>b,
  body.admin-body.ui-rahcode .booking-step>header>b{
    width:32px!important;
    height:32px!important;
    border-radius:11px!important;
  }
  body.admin-body.ui-rahcode .booking-step-state{
    grid-column:2!important;
    justify-self:start!important;
    margin-top:-2px!important;
  }
  body.admin-body.ui-rahcode .booking-fields,
  body.admin-body.ui-rahcode .booking-fields.two,
  body.admin-body.ui-rahcode .booking-service-row,
  body.admin-body.ui-rahcode .booking-options,
  body.admin-body.ui-rahcode .deposit-field{
    grid-template-columns:1fr!important;
  }
  body.admin-body.ui-rahcode .customer-search-field,
  body.admin-body.ui-rahcode .booking-editable-price,
  body.admin-body.ui-rahcode .booking-date-input,
  body.admin-body.ui-rahcode .booking-time-input{
    min-width:0!important;
  }
  body.admin-body.ui-rahcode .booking-price-input{
    grid-template-columns:minmax(0,1fr) 40px!important;
  }
  body.admin-body.ui-rahcode .booking-price-input button{
    font-size:18px!important;
  }
  body.admin-body.ui-rahcode .booking-date-toolbar{
    display:grid!important;
    grid-template-columns:1fr!important;
    align-items:stretch!important;
    gap:12px!important;
  }
  body.admin-body.ui-rahcode .availability-date-strip{
    gap:8px!important;
    padding-bottom:6px!important;
  }
  body.admin-body.ui-rahcode .availability-date-strip>button{
    flex-basis:96px!important;
    min-height:76px!important;
    padding:10px 8px!important;
  }
  body.admin-body.ui-rahcode .booking-slot-groups{
    gap:10px!important;
  }
  body.admin-body.ui-rahcode .booking-workspace-v3 .booking-slot-grid,
  body.admin-body.ui-rahcode .booking-slot-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:8px!important;
  }
  body.admin-body.ui-rahcode .manual-booking-summary,
  body.admin-body.ui-rahcode .booking-workspace-v3 .manual-booking-summary{
    position:static!important;
    top:auto!important;
    padding:16px!important;
    border-radius:18px!important;
  }
  body.admin-body.ui-rahcode .manual-booking-summary dl>div,
  body.admin-body.ui-rahcode .booking-workspace-v3 .manual-booking-summary dl>div{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:3px!important;
  }
  body.admin-body.ui-rahcode .manual-booking-summary dd,
  body.admin-body.ui-rahcode .booking-workspace-v3 .manual-booking-summary dd{
    max-width:none!important;
    white-space:normal!important;
    text-align:right!important;
  }
  body.admin-body.ui-rahcode .customer-selection-status{
    align-items:flex-start!important;
    line-height:1.8!important;
  }
}

@media(max-width:480px){
  body.admin-body.ui-rahcode .site-header.admin-header .container{
    width:calc(100% - 12px)!important;
    padding:0 8px!important;
    border-radius:28px!important;
  }
  body.admin-body.ui-rahcode .admin-title h1,
  body.admin-body.ui-rahcode .manual-booking-head h2,
  body.admin-body.ui-rahcode .booking-workspace-v3 .booking-step>header strong{
    font-size:16px!important;
  }
  body.admin-body.ui-rahcode .booking-progress{
    padding:10px 8px!important;
    gap:5px!important;
  }
  body.admin-body.ui-rahcode .booking-progress>span{
    font-size:0!important;
  }
  body.admin-body.ui-rahcode .booking-progress>span b{
    font-size:10px!important;
  }
  body.admin-body.ui-rahcode .availability-date-strip>button{
    flex-basis:90px!important;
  }
  body.admin-body.ui-rahcode .booking-workspace-v3 .booking-slot-grid,
  body.admin-body.ui-rahcode .booking-slot-grid,
  body.admin-body.page-appointments.ui-rahcode table{
    min-width:0!important;
  }
}

/* ------------------------------------------------------------------
   Aranu 1.1.51 — Mobile header / bottom-nav size tuning
   ------------------------------------------------------------------ */
@media(max-width:760px){
  body.admin-body.ui-rahcode .site-header.admin-header .header-inner{
    min-height:72px!important;
    padding:8px 0!important;
    gap:8px!important;
  }
  body.admin-body.ui-rahcode .admin-header .brand{
    gap:10px!important;
    min-width:0!important;
    flex:1 1 auto!important;
  }
  body.admin-body.ui-rahcode .admin-header .brand strong{
    font-size:14px!important;
    line-height:1.45!important;
  }
  body.admin-body.ui-rahcode .admin-header .brand-logo,
  body.admin-body.ui-rahcode .admin-header .brand-mark,
  body.admin-body.ui-rahcode .panel-mobile-alert,
  body.admin-body.ui-rahcode .admin-nav-toggle{
    width:46px!important;
    height:46px!important;
    min-width:46px!important;
    border-radius:16px!important;
  }
  body.admin-body.ui-rahcode .admin-header .brand-logo,
  body.admin-body.ui-rahcode .admin-header .brand-mark{
    box-shadow:0 7px 18px rgba(193,142,166,.14)!important;
  }
  body.admin-body.ui-rahcode .panel-mobile-alert .ui-icon,
  body.admin-body.ui-rahcode .admin-nav-toggle .ui-icon,
  body.admin-body.ui-rahcode .admin-header .brand-logo svg,
  body.admin-body.ui-rahcode .admin-header .brand-mark svg{
    width:22px!important;
    height:22px!important;
  }
  body.admin-body.ui-rahcode .admin-bottom-nav.ontime-bottom-nav{
    min-height:80px!important;
    padding:8px 7px calc(8px + env(safe-area-inset-bottom))!important;
  }
  body.admin-body.ui-rahcode .admin-bottom-nav.ontime-bottom-nav a{
    min-height:54px!important;
    gap:4px!important;
    border-radius:16px!important;
  }
  body.admin-body.ui-rahcode .admin-bottom-nav.ontime-bottom-nav a>.ui-icon{
    width:22px!important;
    height:22px!important;
  }
  body.admin-body.ui-rahcode .admin-bottom-nav.ontime-bottom-nav a.is-main>.ui-icon{
    top:-28px!important;
    width:60px!important;
    height:60px!important;
    padding:16px!important;
    border-radius:21px!important;
  }
  body.admin-body.ui-rahcode .admin-bottom-nav.ontime-bottom-nav a.is-main>b{
    margin-top:24px!important;
  }
}
@media(max-width:420px){
  body.admin-body.ui-rahcode .site-header.admin-header .container{
    width:calc(100% - 12px)!important;
    padding:0 8px!important;
  }
  body.admin-body.ui-rahcode .admin-header .brand-logo,
  body.admin-body.ui-rahcode .admin-header .brand-mark,
  body.admin-body.ui-rahcode .panel-mobile-alert,
  body.admin-body.ui-rahcode .admin-nav-toggle{
    width:42px!important;
    height:42px!important;
    min-width:42px!important;
    border-radius:14px!important;
  }
  body.admin-body.ui-rahcode .admin-header .brand strong{font-size:13px!important}
  body.admin-body.ui-rahcode .panel-mobile-alert .ui-icon,
  body.admin-body.ui-rahcode .admin-nav-toggle .ui-icon,
  body.admin-body.ui-rahcode .admin-header .brand-logo svg,
  body.admin-body.ui-rahcode .admin-header .brand-mark svg{
    width:20px!important;
    height:20px!important;
  }
}

/* ------------------------------------------------------------------
   Aranu 1.1.52 — Extra mobile chrome shrinking
   ------------------------------------------------------------------ */
@media(max-width:760px){
  body.admin-body.ui-rahcode .admin-header .brand-logo,
  body.admin-body.ui-rahcode .admin-header .brand-mark,
  body.admin-body.ui-rahcode .panel-mobile-alert,
  body.admin-body.ui-rahcode .admin-nav-toggle{
    width:40px!important;
    height:40px!important;
    min-width:40px!important;
    border-radius:14px!important;
  }
  body.admin-body.ui-rahcode .panel-mobile-alert .ui-icon,
  body.admin-body.ui-rahcode .admin-nav-toggle .ui-icon,
  body.admin-body.ui-rahcode .admin-header .brand-logo svg,
  body.admin-body.ui-rahcode .admin-header .brand-mark svg{
    width:19px!important;
    height:19px!important;
  }
  body.admin-body.ui-rahcode .admin-bottom-nav.ontime-bottom-nav a>.ui-icon{
    width:20px!important;
    height:20px!important;
  }
  body.admin-body.ui-rahcode .admin-bottom-nav.ontime-bottom-nav a.is-main>.ui-icon{
    width:56px!important;
    height:56px!important;
    top:-24px!important;
    padding:15px!important;
    border-radius:19px!important;
  }
  body.admin-body.ui-rahcode .admin-bottom-nav.ontime-bottom-nav a.is-main>b{margin-top:20px!important}
}

/* ------------------------------------------------------------------
   Aranu 1.1.53 — Remove green-on-black conflicts
   Normalizes legacy success/active greens to the selected pastel palette,
   especially in dark mode where bright green text looked harsh on black.
   ------------------------------------------------------------------ */
body.admin-body.ui-rahcode[data-panel-palette]{
  --panel-green:var(--ar-p1)!important;
}

/* Generic success/active chips */
html[data-panel-theme="dark"] body.admin-body.ui-rahcode[data-panel-palette] :is(
  .alert-success,
  .status-completed,
  .status-active,
  .status-confirmed,
  .booking-status-completed
){
  background:color-mix(in srgb,var(--ar-p1) 15%,#232735)!important;
  color:color-mix(in srgb,var(--ar-p1) 72%,#fff)!important;
  border-color:color-mix(in srgb,var(--ar-p1) 28%,#34394a)!important;
}
html[data-panel-theme="light"] body.admin-body.ui-rahcode[data-panel-palette] :is(
  .alert-success,
  .status-completed,
  .status-active,
  .status-confirmed,
  .booking-status-completed
){
  background:color-mix(in srgb,var(--ar-p1) 22%,#fff)!important;
  color:color-mix(in srgb,var(--ar-p4) 82%,#334155)!important;
  border-color:color-mix(in srgb,var(--ar-p1) 46%,#e5e7eb)!important;
}

/* Booking UI inherited several hard-coded green success colors. */
html[data-panel-theme="dark"] body.admin-body.ui-rahcode[data-panel-palette] :is(
  .live-badge,
  .customer-selection-status.is-existing,
  .booking-slot-head>span,
  .booking-step.is-complete .booking-step-state
){
  background:color-mix(in srgb,var(--ar-p1) 13%,#252936)!important;
  color:color-mix(in srgb,var(--ar-p1) 72%,#fff)!important;
  border-color:color-mix(in srgb,var(--ar-p1) 28%,#353a4c)!important;
}
html[data-panel-theme="light"] body.admin-body.ui-rahcode[data-panel-palette] :is(
  .live-badge,
  .customer-selection-status.is-existing,
  .booking-slot-head>span,
  .booking-step.is-complete .booking-step-state
){
  background:color-mix(in srgb,var(--ar-p1) 19%,#fff)!important;
  color:color-mix(in srgb,var(--ar-p4) 82%,#334155)!important;
  border-color:color-mix(in srgb,var(--ar-p1) 42%,#e5e7eb)!important;
}
body.admin-body.ui-rahcode[data-panel-palette] :is(
  .live-badge i,
  .customer-selection-status.is-existing i,
  .sy-command-pulse i
){
  background:var(--ar-p1)!important;
  box-shadow:0 0 0 0 color-mix(in srgb,var(--ar-p1) 45%,transparent)!important;
}
body.admin-body.ui-rahcode[data-panel-palette] .booking-progress-line i{
  background:linear-gradient(90deg,var(--ar-p4),var(--ar-p1))!important;
}
body.admin-body.ui-rahcode[data-panel-palette] .availability-date-strip>button em{
  color:var(--ar-p4)!important;
}
body.admin-body.ui-rahcode[data-panel-palette] .availability-date-strip>button.is-selected em{
  color:rgba(255,255,255,.88)!important;
}
body.admin-body.ui-rahcode[data-panel-palette] .booking-action-arrived{
  color:var(--ar-p4)!important;
}

/* Success card — no neon green block on dark surfaces. */
html[data-panel-theme="dark"] body.admin-body.ui-rahcode[data-panel-palette] .manual-booking-result{
  background:linear-gradient(135deg,color-mix(in srgb,var(--ar-p1) 12%,#202431),color-mix(in srgb,var(--ar-p2) 8%,#202431))!important;
  border-color:color-mix(in srgb,var(--ar-p1) 28%,#343a4d)!important;
}
html[data-panel-theme="light"] body.admin-body.ui-rahcode[data-panel-palette] .manual-booking-result{
  background:linear-gradient(135deg,color-mix(in srgb,var(--ar-p1) 18%,#fff),color-mix(in srgb,var(--ar-p2) 12%,#fff))!important;
  border-color:color-mix(in srgb,var(--ar-p1) 38%,#e8dde3)!important;
}
body.admin-body.ui-rahcode[data-panel-palette] .manual-booking-result>div:first-child>span,
body.admin-body.ui-rahcode[data-panel-palette] .copy-field button{
  background:linear-gradient(135deg,var(--ar-p1),var(--ar-p2))!important;
  color:#283246!important;
}

/* Dashboard remnants from the original green theme. */
body.admin-body.ui-rahcode[data-panel-palette] .ontime-credit-pill .ui-icon,
body.admin-body.ui-rahcode[data-panel-palette] .ontime-today-panel-head span,
body.admin-body.ui-rahcode[data-panel-palette] .ontime-finance-strip>a{
  color:var(--ar-p4)!important;
}
body.admin-body.ui-rahcode[data-panel-palette] .ontime-sms-meter i{
  background:linear-gradient(90deg,var(--ar-p1),var(--ar-p2))!important;
  box-shadow:0 0 16px color-mix(in srgb,var(--ar-p1) 28%,transparent)!important;
}
html[data-panel-theme="dark"] body.admin-body.ui-rahcode[data-panel-palette] .ontime-appointment-status.status-confirmed{
  background:color-mix(in srgb,var(--ar-p1) 13%,#262a38)!important;
  color:color-mix(in srgb,var(--ar-p1) 72%,#fff)!important;
}
html[data-panel-theme="light"] body.admin-body.ui-rahcode[data-panel-palette] .ontime-appointment-status.status-confirmed{
  background:color-mix(in srgb,var(--ar-p1) 22%,#fff)!important;
  color:color-mix(in srgb,var(--ar-p4) 84%,#334155)!important;
}

/* Keep normal text neutral; avoid inherited accent green on dark cards. */
html[data-panel-theme="dark"] body.admin-body.ui-rahcode[data-panel-palette] :is(
  .card,
  .booking-step,
  .manual-booking-studio,
  .manual-booking-list,
  .admin-panel-dropdown,
  .business-admin-nav
) :is(p,small,label,dt,dd){
  text-shadow:none!important;
}

/* ------------------------------------------------------------------
   Aranu 1.1.54 — coherent palette across desktop nav + network center
   ------------------------------------------------------------------ */
@media(min-width:981px){
  body.admin-body.ui-rahcode[data-panel-palette] .business-admin-nav{
    background:color-mix(in srgb,var(--pro-surface) 96%,var(--ar-p4-soft))!important;
    border:1px solid var(--pro-border)!important;
    box-shadow:0 10px 28px rgba(37,32,52,.06)!important;
  }
  body.admin-body.ui-rahcode[data-panel-palette] .business-admin-nav>.admin-nav-dashboard,
  body.admin-body.ui-rahcode[data-panel-palette] .business-admin-nav>.admin-panel-group>.admin-panel-parent,
  body.admin-body.ui-rahcode[data-panel-palette] .business-admin-nav>.admin-nav-logout{
    --nav-a:var(--ar-p4)!important;
    --nav-b:var(--ar-p1)!important;
    --nav-soft:color-mix(in srgb,var(--ar-p4-soft) 48%,var(--pro-surface))!important;
    --nav-border:color-mix(in srgb,var(--ar-p4) 14%,var(--pro-border))!important;
    --nav-ink:var(--pro-text)!important;
    background:var(--pro-surface)!important;
    border:1px solid var(--pro-border)!important;
    color:var(--pro-text)!important;
    box-shadow:none!important;
  }
  body.admin-body.ui-rahcode[data-panel-palette] .business-admin-nav>.admin-panel-group>.admin-panel-parent .menu-chevron{
    background:var(--pro-surface-soft)!important;
    border-color:var(--pro-border)!important;
    color:var(--pro-muted)!important;
  }
  body.admin-body.ui-rahcode[data-panel-palette] .business-admin-nav .panel-nav-logo{
    background:linear-gradient(145deg,color-mix(in srgb,var(--ar-p1) 34%,var(--pro-surface)),color-mix(in srgb,var(--ar-p2) 28%,var(--pro-surface)))!important;
    border:1px solid color-mix(in srgb,var(--ar-p4) 13%,var(--pro-border))!important;
    color:var(--ar-p4)!important;
    box-shadow:none!important;
  }
  body.admin-body.ui-rahcode[data-panel-palette] .business-admin-nav>.admin-nav-dashboard:hover,
  body.admin-body.ui-rahcode[data-panel-palette] .business-admin-nav>.admin-panel-group>.admin-panel-parent:hover{
    background:color-mix(in srgb,var(--ar-p4-soft) 46%,var(--pro-surface))!important;
    border-color:color-mix(in srgb,var(--ar-p4) 22%,var(--pro-border))!important;
    color:var(--pro-text)!important;
    transform:none!important;
  }
  body.admin-body.ui-rahcode[data-panel-palette] .business-admin-nav>.admin-nav-dashboard.is-active,
  body.admin-body.ui-rahcode[data-panel-palette] .business-admin-nav>.admin-panel-group.is-active>.admin-panel-parent,
  body.admin-body.ui-rahcode[data-panel-palette] .business-admin-nav>.admin-panel-group.is-open>.admin-panel-parent{
    background:linear-gradient(135deg,var(--ar-p1),var(--ar-p2))!important;
    border-color:color-mix(in srgb,var(--ar-p4) 18%,var(--pro-border))!important;
    color:#273247!important;
    box-shadow:0 10px 24px color-mix(in srgb,var(--ar-p4) 13%,transparent)!important;
  }
  body.admin-body.ui-rahcode[data-panel-palette] :is(.admin-nav-dashboard.is-active,.admin-panel-group.is-active>.admin-panel-parent,.admin-panel-group.is-open>.admin-panel-parent) :is(strong,small,span,em,i,svg,path){
    color:#273247!important;
    fill:currentColor!important;
    stroke:currentColor!important;
  }
  body.admin-body.ui-rahcode[data-panel-palette] :is(.admin-panel-group.is-active,.admin-panel-group.is-open)>.admin-panel-parent .menu-chevron{
    background:rgba(255,255,255,.28)!important;
    border-color:rgba(70,70,90,.10)!important;
    color:#273247!important;
  }
  body.admin-body.ui-rahcode[data-panel-palette] .business-admin-nav>.admin-nav-logout{
    background:color-mix(in srgb,#fff1e7 70%,var(--pro-surface))!important;
    border-color:color-mix(in srgb,#e8a476 28%,var(--pro-border))!important;
    color:#a65d3b!important;
  }
}

/* Network/community center follows the selected panel palette instead of unrelated purple/blue/green colors. */
body.admin-body.ui-rahcode[data-panel-palette] .network-panel-layout{gap:20px!important}
body.admin-body.ui-rahcode[data-panel-palette] .network-panel-sidebar{
  background:var(--pro-surface)!important;
  color:var(--pro-text)!important;
  border:1px solid var(--pro-border)!important;
  box-shadow:var(--pro-shadow)!important;
}
body.admin-body.ui-rahcode[data-panel-palette] .network-panel-identity{border-bottom-color:var(--pro-border)!important}
body.admin-body.ui-rahcode[data-panel-palette] .network-panel-identity>div{
  background:linear-gradient(135deg,var(--ar-p1),var(--ar-p2))!important;
  color:#273247!important;
  box-shadow:0 10px 24px color-mix(in srgb,var(--ar-p4) 13%,transparent)!important;
}
body.admin-body.ui-rahcode[data-panel-palette] .network-panel-identity strong{color:var(--pro-text)!important}
body.admin-body.ui-rahcode[data-panel-palette] .network-panel-identity span{color:var(--pro-muted)!important}
body.admin-body.ui-rahcode[data-panel-palette] .network-panel-sidebar nav a{
  color:var(--pro-muted)!important;
  border:1px solid transparent!important;
}
body.admin-body.ui-rahcode[data-panel-palette] .network-panel-sidebar nav a:hover{
  background:var(--pro-surface-soft)!important;
  color:var(--pro-text)!important;
  border-color:var(--pro-border)!important;
}
body.admin-body.ui-rahcode[data-panel-palette] .network-panel-sidebar nav a.is-active{
  background:linear-gradient(135deg,color-mix(in srgb,var(--ar-p1) 44%,var(--pro-surface)),color-mix(in srgb,var(--ar-p2) 40%,var(--pro-surface)))!important;
  color:var(--pro-text)!important;
  border-color:color-mix(in srgb,var(--ar-p4) 16%,var(--pro-border))!important;
}
body.admin-body.ui-rahcode[data-panel-palette] .network-panel-sidebar nav b{
  background:var(--ar-p4-soft)!important;
  color:var(--ar-p4)!important;
}
body.admin-body.ui-rahcode[data-panel-palette] .network-panel-title>div>span{color:var(--ar-p4)!important}
body.admin-body.ui-rahcode[data-panel-palette] .network-panel-title :is(.platform-primary-button,.btn),
body.admin-body.ui-rahcode[data-panel-palette] .network-panel-card .platform-primary-button{
  background:linear-gradient(135deg,var(--ar-p1),var(--ar-p2))!important;
  border-color:color-mix(in srgb,var(--ar-p4) 15%,var(--pro-border))!important;
  color:#273247!important;
  box-shadow:0 9px 22px color-mix(in srgb,var(--ar-p4) 12%,transparent)!important;
}
body.admin-body.ui-rahcode[data-panel-palette] .network-dashboard-stats article,
body.admin-body.ui-rahcode[data-panel-palette] .network-panel-card,
body.admin-body.ui-rahcode[data-panel-palette] .network-panel-portfolio-grid article{
  background:var(--pro-surface)!important;
  border-color:var(--pro-border)!important;
  color:var(--pro-text)!important;
  box-shadow:var(--pro-shadow)!important;
}
body.admin-body.ui-rahcode[data-panel-palette] .network-dashboard-stats article span,
body.admin-body.ui-rahcode[data-panel-palette] .network-panel-card :where(.muted,p,small){color:var(--pro-muted)!important}
body.admin-body.ui-rahcode[data-panel-palette] .network-dashboard-stats article strong,
body.admin-body.ui-rahcode[data-panel-palette] .network-panel-card :where(h2,h3,strong){color:var(--pro-text)!important}
body.admin-body.ui-rahcode[data-panel-palette] .membership-status-row .status-completed{
  background:color-mix(in srgb,var(--ar-p1) 28%,var(--pro-surface))!important;
  color:color-mix(in srgb,var(--ar-p4) 80%,var(--pro-text))!important;
  border:1px solid color-mix(in srgb,var(--ar-p4) 16%,var(--pro-border))!important;
}
body.admin-body.ui-rahcode[data-panel-palette] .network-panel-card input,
body.admin-body.ui-rahcode[data-panel-palette] .network-panel-card select,
body.admin-body.ui-rahcode[data-panel-palette] .network-panel-card textarea{
  background:var(--pro-surface)!important;
  border-color:var(--pro-border)!important;
  color:var(--pro-text)!important;
}


/* Aranu 1.1.63 - subscription card contrast & badge fix */
html[data-panel-theme="light"] body.admin-body.ui-rahcode .ontime-subscription-card{
  background:#fffafa!important;
  border-color:#eadde4!important;
}
html[data-panel-theme="light"] body.admin-body.ui-rahcode .ontime-plan-copy small,
html[data-panel-theme="light"] body.admin-body.ui-rahcode .ontime-sms-side small{
  color:#65738a!important;
}
html[data-panel-theme="light"] body.admin-body.ui-rahcode .ontime-plan-copy strong{
  color:#20283b!important;
}
html[data-panel-theme="light"] body.admin-body.ui-rahcode .ontime-credit-pill{
  color:#56647a!important;
  background:#f1f5fb!important;
}
html[data-panel-theme="light"] body.admin-body.ui-rahcode .ontime-version-pill{
  color:#6c7890!important;
  background:#ffffff!important;
  border-color:#eadde4!important;
}
html[data-panel-theme="dark"] body.admin-body.ui-rahcode .ontime-plan-copy strong{
  color:#f5f1f6!important;
}
body.admin-body.ui-rahcode .ontime-plan-icon{
  z-index:2!important;
  top:28px!important;
  right:28px!important;
}
body.admin-body.ui-rahcode .ontime-plan-copy{
  padding-right:70px!important;
}
body.admin-body.ui-rahcode .ontime-credit-pill,
body.admin-body.ui-rahcode .ontime-version-pill{
  display:inline-flex!important;
  align-items:center!important;
  gap:6px!important;
}
@media(max-width:760px){
 body.admin-body.ui-rahcode .ontime-plan-icon{
   top:18px!important;
   right:16px!important;
 }
 body.admin-body.ui-rahcode .ontime-plan-copy{
   padding-right:58px!important;
 }
}
