/* The TabbyHR theme layer. Soft indigo and violet, glass and glow, and motion that follows the person's settings.
   It sits on top of the page's own styles and Tailwind. Rules that restyle Tailwind classes start with #app, #page,
   #modal-root or body, so they win over Tailwind's single-class utilities without !important. The reduced-motion block
   at the end uses !important because it must beat every animation, inline ones included. */

:root {
  --t-a: #6F63F0;        /* indigo end of the accent */
  --t-b: #8F7DF6;        /* violet end */
  --t-faint: #6B7691;    /* small grey text: 4.5:1 on white, where slate-400 is only 2.6:1 */
  --t-line: rgba(111, 99, 240, .14);
  --t-ease: cubic-bezier(.2, .8, .2, 1);
}
::selection { background: rgba(143, 125, 246, .28); }
* { scrollbar-width: thin; scrollbar-color: #D3CFF8 transparent; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-thumb { background: #D3CFF8; border: 3px solid transparent; border-radius: 99px; background-clip: padding-box; }
::-webkit-scrollbar-thumb:hover { background: #B9B3F2; background-clip: padding-box; }
::placeholder { color: var(--t-faint); opacity: 1; }
body .text-slate-400 { color: var(--t-faint); }


/* The top bar: frosted glass, a little brighter at the top, with the gradient hairline the kernel draws at its foot. */
#topbar { background: linear-gradient(180deg, rgba(255, 255, 255, .86), rgba(255, 255, 255, .66)); -webkit-backdrop-filter: saturate(1.4) blur(20px); backdrop-filter: saturate(1.4) blur(20px); }

/* ---------- Keyboard and screen readers ---------- */
.skip-link { position: fixed; left: 16px; top: -64px; z-index: 100; padding: 10px 16px; border-radius: 12px; background: #1E1B4B; color: #fff; font-weight: 500; text-decoration: none; transition: top .2s var(--t-ease); }
.skip-link:focus { top: 12px; }
#page:focus { outline: none; }
body :is(a, button, summary, [role="button"], [tabindex]:not([tabindex="-1"])):focus-visible, .skip-link:focus-visible { outline: 2px solid var(--t-a); outline-offset: 2px; }
#sidenav :is(.sn-item, .sn-fold, .sn-brand):focus-visible { outline-offset: -2px; }
body :is(input, select, textarea):focus-visible { outline: none; border-color: var(--t-a); box-shadow: 0 0 0 4px rgba(111, 99, 240, .16); }

/* ---------- Surfaces ---------- */
#page :is(.rounded-xl, .rounded-2xl).bg-white {
  border-color: var(--t-line); border-radius: 16px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 16px 32px -26px rgba(55, 48, 163, .38);
  transition: transform .25s var(--t-ease), box-shadow .25s var(--t-ease), border-color .25s;
}
/* a card you can press lifts a little, and its edge takes the accent */
#page :is(button, a, [data-act], [data-hr]):is(.rounded-xl, .rounded-2xl).bg-white:hover {
  transform: translateY(-2px); border-color: rgba(111, 99, 240, .34);
  box-shadow: 0 2px 4px rgba(15, 23, 42, .05), 0 22px 36px -24px rgba(91, 76, 240, .5);
}
#page table thead { background: rgba(111, 99, 240, .05); }
#page table tbody tr:hover { background: rgba(111, 99, 240, .05); }
#modal-root form {
  border-radius: 20px; border-color: var(--t-line); background: rgba(255, 255, 255, .95); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  box-shadow: 0 30px 80px -30px rgba(30, 27, 75, .5);
}

/* ---------- Controls ---------- */
body button { transition: transform .15s var(--t-ease), box-shadow .2s, background-color .2s, border-color .2s, color .2s, opacity .2s, filter .2s; }
body button:is([class*="rounded-lg"], [class*="rounded-md"], [class*="rounded-full"]):active:not(:disabled) { transform: scale(.97); }
body :is(button, a)[class*="bg-[#5B4CF0]"], body :is(button, a)[class*="bg-[#6F63F0]"] {
  background-image: linear-gradient(135deg, var(--t-a), var(--t-b)); background-color: var(--t-a);
  box-shadow: 0 10px 20px -12px rgba(111, 99, 240, .7);
}
body :is(button, a)[class*="bg-[#5B4CF0]"]:hover:not(:disabled), body :is(button, a)[class*="bg-[#6F63F0]"]:hover:not(:disabled) { filter: brightness(1.06); transform: translateY(-1px); }
body button[class*="border-slate-200"][class*="bg-white"]:hover:not(:disabled) { border-color: #C7D2FE; background-color: #F8F7FF; }
#app :is(input:not([type="checkbox"]):not([type="radio"]):not([type="file"]), select, textarea) { border-radius: 12px; transition: border-color .15s, box-shadow .2s, background-color .15s; }
#app :is(input, select, textarea):not(:disabled):not(:focus):hover { border-color: #C7D2FE; }

/* ---------- Motion ---------- */
/* On a new page the blocks rise in one after another. The class comes off after about a second, so a redraw never replays it. */
#page.page-in > * { animation: t-rise .5s var(--t-ease) both; }
#page.page-in > :nth-child(2) { animation-delay: .05s; }
#page.page-in > :nth-child(3) { animation-delay: .1s; }
#page.page-in > :nth-child(4) { animation-delay: .15s; }
#page.page-in > :nth-child(5) { animation-delay: .2s; }
#page.page-in > :nth-child(6) { animation-delay: .25s; }
#page.page-in > :nth-child(n+7) { animation-delay: .3s; }
@keyframes t-rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
/* a placeholder with a soft sweep while a page loads */
.t-sk { position: relative; overflow: hidden; border-radius: 14px; background: #ECEEFB; }
.t-sk::after { content: ""; position: absolute; inset: 0; transform: translateX(-100%); background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .75), transparent); animation: t-shimmer 1.4s ease-in-out infinite; }
@keyframes t-shimmer { to { transform: translateX(100%); } }

/* ---------- Home dashboard: light cards, lilac icons, colour only where it means something ---------- */
/* --c1/--c2 are a colour's two gradient stops, --cg its glow as r, g, b. Used by the pills (.db-p-*) and bars (.db-t-*). */
:is(.db-t-indigo, .db-p-indigo) { --c1: #5B4CF0; --c2: #8F7DF6; --cg: 111, 99, 240; }
:is(.db-t-violet, .db-p-violet) { --c1: #7C3AED; --c2: #A78BFA; --cg: 139, 92, 246; }
:is(.db-t-emerald, .db-p-emerald) { --c1: #059669; --c2: #34D399; --cg: 16, 185, 129; }
:is(.db-t-sky, .db-p-sky) { --c1: #0284C7; --c2: #38BDF8; --cg: 14, 165, 233; }
:is(.db-t-amber, .db-p-amber) { --c1: #B45309; --c2: #FBBF24; --cg: 245, 158, 11; }
:is(.db-t-rose, .db-p-rose) { --c1: #E11D48; --c2: #FB7185; --cg: 244, 63, 94; }
:is(.db-t-slate, .db-p-slate) { --c1: #475569; --c2: #94A3B8; --cg: 100, 116, 139; }
/* one surface for every card on the home screen: white, a hairline edge, a soft lilac shadow */
.db-card, .db-kpi, .db-qt { background: rgba(255, 255, 255, .92); border: 1px solid rgba(111, 99, 240, .1); box-shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 14px 32px -22px rgba(76, 61, 220, .35); }
/* Quick access: six across, three on a phone (the page's phone rule would stack them one per row) */
#page .db-qgrid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
@media (max-width: 899px) { #page .db-qgrid { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; } }
/* Quick access tiles: an icon in a white circle over its name */
.db-qt { transition: transform .2s var(--t-ease), box-shadow .25s, border-color .25s; }
.db-qt:hover { transform: translateY(-2px); border-color: rgba(111, 99, 240, .3); box-shadow: 0 2px 4px rgba(15, 23, 42, .04), 0 22px 40px -22px rgba(76, 61, 220, .55); }
.db-qi { display: grid; place-items: center; flex: none; color: #5B4CF0; background: #fff; box-shadow: 0 0 0 4px rgba(111, 99, 240, .07), 0 6px 14px -8px rgba(91, 76, 240, .45); transition: color .2s, background-color .2s, box-shadow .25s; }
.db-qt:hover .db-qi { color: #fff; background: linear-gradient(135deg, #6F63F0, #8F7DF6); box-shadow: 0 0 0 4px rgba(111, 99, 240, .12), 0 8px 18px -8px rgba(91, 76, 240, .6); }
/* number cards */
.db-kpi { transition: transform .25s var(--t-ease), box-shadow .3s, border-color .25s; }
button.db-kpi:hover { transform: translateY(-3px); border-color: rgba(111, 99, 240, .28); box-shadow: 0 2px 4px rgba(15, 23, 42, .04), 0 24px 44px -24px rgba(76, 61, 220, .5); }
/* one icon style for every card: a rounded square in the indigo to violet gradient (module cards use their own colour) */
.db-kic { display: grid; place-items: center; flex: none; color: #fff; background: linear-gradient(135deg, #6F63F0, #A78BFA); box-shadow: 0 8px 16px -10px rgba(91, 76, 240, .7), inset 0 1px 0 rgba(255, 255, 255, .3); }
.db-num { color: #1E1B4B; }
.db-go { color: #8F7DF6; opacity: 0; transform: translate(-4px, 4px); transition: opacity .2s, transform .25s var(--t-ease); }
.db-kpi:is(:hover, :focus-visible) .db-go { opacity: 1; transform: none; }
.db-pill { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 999px; font-size: 12px; font-weight: 500; white-space: nowrap; color: var(--c1); background: rgba(var(--cg), .1); border: 1px solid rgba(var(--cg), .2); }
.db-bar { background: linear-gradient(90deg, var(--c1), var(--c2)); box-shadow: 0 0 10px rgba(var(--cg), .45); transform-origin: left; animation: db-grow 1s var(--t-ease) .25s both; }
.db-pill.sm { height: 20px; padding: 0 8px; font-size: 11px; }
/* module cards: a line in the module's colour along the top, a gradient icon, rows that light up */
.db-card { transition: transform .25s var(--t-ease), box-shadow .3s, border-color .25s; }
.db-card:hover { border-color: rgba(111, 99, 240, .22); box-shadow: 0 2px 4px rgba(15, 23, 42, .04), 0 22px 44px -26px rgba(76, 61, 220, .5); }
.db-mod:hover { transform: translateY(-3px); }
.db-mod::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, var(--c1), var(--c2)); opacity: .85; }
.db-mi { display: grid; place-items: center; flex: none; color: #fff; background: linear-gradient(135deg, var(--c1), var(--c2)); box-shadow: 0 8px 18px -10px rgba(var(--cg), .8), inset 0 1px 0 rgba(255, 255, 255, .3); transition: transform .35s cubic-bezier(.3, 1.6, .5, 1); }
.db-mod:hover .db-mi, .db-card:hover > div > div > .db-kic { transform: rotate(-8deg) scale(1.08); }
.db-kic { transition: transform .35s cubic-bezier(.3, 1.6, .5, 1); }
.db-row { transition: background-color .15s; }
.db-row:hover { background: rgba(111, 99, 240, .05); }
.db-chev { flex: none; color: #CBD5E1; transition: color .15s, transform .2s var(--t-ease); }
.db-row:hover .db-chev { color: #8F7DF6; transform: translateX(2px); }
.db-ti { display: grid; place-items: center; flex: none; color: var(--c1); background: rgba(var(--cg), .12); }
/* calendar and holidays */
.db-today { color: #fff; font-weight: 600; background: linear-gradient(135deg, #6F63F0, #8F7DF6); box-shadow: 0 6px 14px -6px rgba(91, 76, 240, .6); }
.db-round { display: grid; place-items: center; color: #475569; background: #fff; border: 1px solid rgba(111, 99, 240, .18); transition: background-color .15s, color .15s, border-color .15s; }
.db-round:hover { color: #5B4CF0; background: #F5F3FF; border-color: rgba(111, 99, 240, .35); }
.db-date { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; flex: none; color: #fff; background: linear-gradient(135deg, var(--c1), var(--c2)); box-shadow: 0 8px 16px -10px rgba(var(--cg), .8); }
/* Latest changes as a timeline: a line down the left, a dot per change */
.db-tl li::before { content: ""; position: absolute; left: 7px; top: 0; bottom: 0; width: 2px; background: linear-gradient(#E0E7FF, #EDE9FE); }
.db-tl li:first-child::before { top: 16px; }
.db-tl li:last-child::before { bottom: calc(100% - 16px); }
.db-tl li::after { content: ""; position: absolute; left: 3px; top: 12px; width: 10px; height: 10px; border-radius: 50%; background: linear-gradient(135deg, #6F63F0, #A78BFA); box-shadow: 0 0 0 3px #fff, 0 0 10px rgba(111, 99, 240, .5); animation: db-pop .45s cubic-bezier(.3, 1.6, .5, 1) both; }
.db-tl li:nth-child(2)::after { animation-delay: .06s; } .db-tl li:nth-child(3)::after { animation-delay: .12s; } .db-tl li:nth-child(4)::after { animation-delay: .18s; }
.db-tl li:nth-child(5)::after { animation-delay: .24s; } .db-tl li:nth-child(6)::after { animation-delay: .3s; } .db-tl li:nth-child(n+7)::after { animation-delay: .36s; }
/* On arrival the cards of each row rise one after another (only while the page arrives: #page.page-in) */
#page.page-in :is(.db-qt, .db-kpi, .db-mod, .db-card) { animation: db-rise .55s var(--t-ease) both; }
#page.page-in :is(.db-qt, .db-kpi, .db-mod, .db-card):nth-child(2) { animation-delay: .05s; }
#page.page-in :is(.db-qt, .db-kpi, .db-mod, .db-card):nth-child(3) { animation-delay: .1s; }
#page.page-in :is(.db-qt, .db-kpi, .db-mod, .db-card):nth-child(4) { animation-delay: .15s; }
#page.page-in :is(.db-qt, .db-kpi, .db-mod, .db-card):nth-child(5) { animation-delay: .2s; }
#page.page-in :is(.db-qt, .db-kpi, .db-mod, .db-card):nth-child(6) { animation-delay: .25s; }
#page.page-in :is(.db-qt, .db-kpi, .db-mod, .db-card):nth-child(n+7) { animation-delay: .3s; }
@keyframes db-rise { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes db-grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes db-pop { from { opacity: 0; transform: scale(.3); } to { opacity: 1; transform: none; } }
@keyframes db-pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(111, 99, 240, .45), 0 6px 14px -6px rgba(91, 76, 240, .6); } 50% { box-shadow: 0 0 0 6px rgba(111, 99, 240, 0), 0 6px 14px -6px rgba(91, 76, 240, .6); } }
/* number cards: a gradient icon, and the same icon large and faint in the corner */
.db-kgi { display: grid; place-items: center; flex: none; color: #fff; background: linear-gradient(135deg, #6F63F0, #A78BFA); box-shadow: 0 10px 20px -10px rgba(91, 76, 240, .75), inset 0 1px 0 rgba(255, 255, 255, .3); transition: transform .35s cubic-bezier(.3, 1.6, .5, 1); }
.db-kpi:hover .db-kgi { transform: rotate(-8deg) scale(1.06); }
.db-wm { color: #6F63F0; opacity: .06; transform: rotate(-12deg); transition: transform .5s var(--t-ease), opacity .3s; pointer-events: none; }
.db-kpi:hover .db-wm { opacity: .1; transform: rotate(-4deg) scale(1.08); }
/* Easier to read on the home screen: the smallest text one step up, the greys a step darker */
#page[data-module="dashboard"] .text-\[10px\] { font-size: 11px; }
#page[data-module="dashboard"] .text-\[11px\] { font-size: 12px; }
#page[data-module="dashboard"] .text-xs { font-size: 12.5px; }
#page[data-module="dashboard"] .text-\[13px\] { font-size: 14px; }
#page[data-module="dashboard"] .text-slate-500 { color: #55607A; }
#page[data-module="dashboard"] .text-slate-400 { color: #747F96; }
#page[data-module="dashboard"] .db-pill.sm { font-size: 11.5px; }
/* All clear: the modules with nothing waiting, as one row of chips */
.db-clear { background: linear-gradient(135deg, rgba(236, 253, 245, .9), rgba(240, 249, 255, .9)); border: 1px solid rgba(16, 185, 129, .18); }
.db-chip { background: #fff; border: 1px solid rgba(148, 163, 184, .25); transition: transform .2s var(--t-ease), box-shadow .25s, border-color .2s; }
.db-chip:hover { transform: translateY(-1px); border-color: rgba(var(--cg), .45); box-shadow: 0 8px 16px -10px rgba(var(--cg), .6); }
/* Your day: a one-line summary at the top */
.db-day { background: linear-gradient(90deg, rgba(238, 240, 255, .95), rgba(245, 243, 255, .85) 60%, rgba(236, 246, 255, .9)); border: 1px solid rgba(111, 99, 240, .14); }
.db-dchip { background: rgba(255, 255, 255, .88); border: 1px solid rgba(var(--cg), .2); box-shadow: 0 1px 2px rgba(15, 23, 42, .04); transition: transform .2s var(--t-ease), box-shadow .25s, border-color .2s, background-color .2s; }
.db-dchip:hover { transform: translateY(-2px); background: #fff; border-color: rgba(var(--cg), .45); box-shadow: 0 12px 24px -14px rgba(var(--cg), .6); }
.db-dchip:hover .db-chev { color: rgb(var(--cg)); transform: translateX(2px); }
/* Pending approvals by module: the summary box with its ring, which draws its overdue arc on arrival */
.db-sum { background: linear-gradient(135deg, #F6F5FF, #EEF2FF); border: 1px solid rgba(111, 99, 240, .1); }
.db-ring { animation: db-ring-draw 1s var(--t-ease) .3s both; }
@keyframes db-ring-draw { from { stroke-dasharray: 0 var(--c); } }
.db-sum svg { animation: db-spin-in .9s var(--t-ease) both; }
@keyframes db-spin-in { from { opacity: 0; transform: rotate(-270deg) scale(.7); } to { opacity: 1; transform: rotate(-90deg); } }
/* rows slide in one after another; in each bar the on-time part fills first, then the overdue part carries on from it */
.db-apm > .db-row { animation: db-fade .4s var(--t-ease) both; }
.db-apm .db-bar { animation: db-grow .7s var(--t-ease) both; }
.db-apm .db-s2 { transform-origin: left; }
.db-apm > .db-row:nth-child(1) { animation-delay: .1s; }  .db-apm > .db-row:nth-child(1) .db-s1 { animation-delay: .3s; }  .db-apm > .db-row:nth-child(1) .db-s2 { animation-delay: .8s; }
.db-apm > .db-row:nth-child(2) { animation-delay: .16s; } .db-apm > .db-row:nth-child(2) .db-s1 { animation-delay: .38s; } .db-apm > .db-row:nth-child(2) .db-s2 { animation-delay: .88s; }
.db-apm > .db-row:nth-child(3) { animation-delay: .22s; } .db-apm > .db-row:nth-child(3) .db-s1 { animation-delay: .46s; } .db-apm > .db-row:nth-child(3) .db-s2 { animation-delay: .96s; }
.db-apm > .db-row:nth-child(4) { animation-delay: .28s; } .db-apm > .db-row:nth-child(4) .db-s1 { animation-delay: .54s; } .db-apm > .db-row:nth-child(4) .db-s2 { animation-delay: 1.04s; }
.db-apm > .db-row:nth-child(5) { animation-delay: .34s; } .db-apm > .db-row:nth-child(5) .db-s1 { animation-delay: .62s; } .db-apm > .db-row:nth-child(5) .db-s2 { animation-delay: 1.12s; }
.db-apm > .db-row:nth-child(n+6) { animation-delay: .4s; } .db-apm > .db-row:nth-child(n+6) .db-s1 { animation-delay: .7s; } .db-apm > .db-row:nth-child(n+6) .db-s2 { animation-delay: 1.2s; }
/* hover: the icon pops, the bar thickens and brightens, the late pill glows */
.db-apm .db-row .db-kic { transition: transform .35s cubic-bezier(.3, 1.6, .5, 1); }
.db-apm .db-row:hover .db-kic { transform: scale(1.12) rotate(-6deg); }
.db-track { transition: transform .25s var(--t-ease), filter .25s; transform-origin: left center; }
.db-apm .db-row:hover .db-track { transform: scaleY(1.5); filter: brightness(1.08) saturate(1.15); }
.db-apm .db-row:hover .db-late { animation: db-glow 1.4s ease-in-out infinite; }
@keyframes db-glow { 0%, 100% { box-shadow: 0 0 0 0 rgba(244, 63, 94, .35); } 50% { box-shadow: 0 0 0 5px rgba(244, 63, 94, 0); } }
/* Waiting on you filter: All, Overdue, Due soon */
.db-seg { background: #F1F0FB; box-shadow: inset 0 0 0 1px rgba(111, 99, 240, .1); }
.db-seg-b { color: #64748B; transition: background-color .2s, color .2s, box-shadow .2s; }
.db-seg-b:hover { color: #1E1B4B; }
.db-seg-b.is-on { color: #4A3BE0; background: #fff; box-shadow: 0 1px 2px rgba(15, 23, 42, .06), 0 4px 10px -6px rgba(76, 61, 220, .45); }
.db-seg-n { min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; display: inline-grid; place-items: center; font-size: 10px; font-weight: 600; background: rgba(111, 99, 240, .12); color: #5B4CF0; }
.db-seg-b.is-late .db-seg-n { background: rgba(244, 63, 94, .12); color: #E11D48; }
/* rows fade in, one after another, whenever the list is drawn (arrival, a filter, an approval) */
.db-arow { animation: db-fade .35s var(--t-ease) both; }
.db-arow:nth-child(2) { animation-delay: .04s; } .db-arow:nth-child(3) { animation-delay: .08s; } .db-arow:nth-child(4) { animation-delay: .12s; } .db-arow:nth-child(5) { animation-delay: .16s; }
@keyframes db-fade { from { opacity: 0; transform: translateX(-6px); } to { opacity: 1; transform: none; } }
/* Waiting on you rows: a tint on hover, a red line down the left of a late one */
.db-arow { transition: background-color .15s; }
.db-arow:hover { background: rgba(111, 99, 240, .05); }
.db-arow.is-late::before { content: ""; position: absolute; left: 0; top: 10px; bottom: 10px; width: 3px; border-radius: 3px; background: linear-gradient(#FB7185, #E11D48); }
/* row actions: Open and Reject are quiet icons until the row is pointed at; Approve is soft lilac, and solid only on
   that row, so the list has one strong button at a time */
.db-ibtn { display: grid; place-items: center; flex: none; color: #A0AABD; background: transparent; border: 1px solid transparent; transition: color .15s, background-color .15s, border-color .15s; }
.db-arow:hover .db-ibtn { color: #64748B; }
.db-ibtn:hover { color: #5B4CF0 !important; background: #F5F3FF; border-color: rgba(111, 99, 240, .25); }
.db-ibtn.rej:hover { color: #E11D48 !important; background: #FFF1F2; border-color: rgba(244, 63, 94, .3); }
.db-appr { color: #4A3BE0; background: #EEF0FF; border: 1px solid rgba(111, 99, 240, .18); transition: color .2s, background .2s, box-shadow .25s, transform .15s; }
.db-arow:hover .db-appr, .db-appr:focus-visible { color: #fff; border-color: transparent; background: linear-gradient(135deg, #6F63F0, #8F7DF6); box-shadow: 0 8px 16px -10px rgba(111, 99, 240, .8); }
.db-appr:active { transform: scale(.97); }
/* how late or how soon: coloured text with a dot; a late one's dot pulses */
.db-due { color: #64748B; }
.db-due .db-dot { width: 7px; height: 7px; border-radius: 50%; flex: none; background: #CBD5E1; }
.db-due.is-soon { color: #B45309; } .db-due.is-soon .db-dot { background: #F59E0B; }
.db-due.is-late { color: #E11D48; } .db-due.is-late .db-dot { background: #F43F5E; box-shadow: 0 0 0 3px rgba(244, 63, 94, .15); }
@keyframes db-dot-pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(244, 63, 94, .5); } 50% { box-shadow: 0 0 0 5px rgba(244, 63, 94, 0); } }
.db-approve { background: linear-gradient(135deg, #6F63F0, #8F7DF6); box-shadow: 0 8px 16px -10px rgba(111, 99, 240, .8); transition: transform .15s, filter .2s; }
.db-approve:hover { filter: brightness(1.06); transform: translateY(-1px); }
/* Waiting on you */
.db-av { display: grid; place-items: center; font-size: 12px; font-weight: 600; color: #fff; background: linear-gradient(135deg, #6F63F0, #A78BFA); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; animation-delay: 0s !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  body::before { animation: none !important; }
}

/* ---------- One look for every module ----------
   The kernel's kit (card, table, kpi, tabs, buttons) and each module's own card styles share one surface: white, a
   lilac hairline, an 18px corner and a soft lilac shadow. Stat tiles carry a gradient icon in their colour and a faint
   copy of it behind the number. Clickable rows tint and show a bar on the left. */
:root { --hr-line: rgba(111, 99, 240, .11); --hr-shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 14px 34px -24px rgba(76, 61, 220, .38); --hr-r: 18px; }
html .hr-card, html #page :is(.bg-white.border.border-slate-200.rounded-xl, .bg-white.border.border-slate-200.rounded-2xl), html .lvm .card, html .lvm .tw:not(.card .tw), html .chr .card, html .chr .tbl-card, html .chr .stat, html .chr .tbl-wrap:not(.card *), html :is(#page[data-module="core"], #page[data-module="benefits"], .tby-ov) .card {
  background: rgba(255, 255, 255, .94); border: 1px solid var(--hr-line); border-radius: var(--hr-r); box-shadow: var(--hr-shadow); }
html .hr-card-h, html #page .hr-card > .border-b { border-bottom: 1px solid rgba(111, 99, 240, .08); }
html #page h2.font-semibold { color: #1E1B4B; letter-spacing: -.01em; }
/* tables: a quiet header, roomy rows, and a light-up for the ones you can open */
html .hr-th, html #page thead.bg-slate-50 { background: #FAFAFF; border-bottom: 1px solid rgba(111, 99, 240, .1); }
html #page thead th { color: #64748B; }
html #page tbody tr:is([data-act], [data-hr], .cursor-pointer, .click) { transition: background-color .15s; }
html #page tbody tr:is([data-act], [data-hr], .cursor-pointer, .click):hover > td { background: #F8F7FF; }
html #page tbody tr:is([data-act], [data-hr], .cursor-pointer, .click) > td:first-child { box-shadow: inset 3px 0 0 transparent; transition: box-shadow .15s; }
html #page tbody tr:is([data-act], [data-hr], .cursor-pointer, .click):hover > td:first-child { box-shadow: inset 3px 0 0 #6F63F0; }
html #page tbody.divide-slate-100 > tr + tr > td { border-top-color: #F1F0FB; }
/* an empty table or list says so with an icon over the words */
html .hr-empty::before, html .lvm .empty::before, html .chr .empty::before {
  content: ""; display: block; width: 44px; height: 44px; margin: 0 auto 10px; border-radius: 14px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' viewBox='0 0 24 24' fill='none' stroke='%238F7DF6' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 12h-6l-2 3h-4l-2-3H2'/%3E%3Cpath d='M5.45 5.11 2 12v6a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-6l-3.45-6.89A2 2 0 0 0 16.76 4H7.24a2 2 0 0 0-1.79 1.11z'/%3E%3C/svg%3E") center / 22px no-repeat, linear-gradient(135deg, #EEF0FF, #F5F3FF);
  box-shadow: 0 0 0 6px rgba(111, 99, 240, .05); }
/* stat tiles */
html .hr-kpi { background: rgba(255, 255, 255, .94); border: 1px solid var(--hr-line); border-radius: var(--hr-r); box-shadow: var(--hr-shadow); transition: transform .25s var(--t-ease), box-shadow .3s, border-color .25s; }
html .hr-kpi.is-btn { cursor: pointer; }
html .hr-kpi.is-btn:hover { transform: translateY(-3px); border-color: rgba(var(--cg), .3); box-shadow: 0 2px 4px rgba(15, 23, 42, .04), 0 24px 44px -24px rgba(var(--cg), .55); }
html .hr-kic { width: 38px; height: 38px; flex: none; display: grid; place-items: center; border-radius: 12px; color: #fff; background: linear-gradient(135deg, var(--c1), var(--c2)); box-shadow: 0 8px 16px -9px rgba(var(--cg), .8), inset 0 1px 0 rgba(255, 255, 255, .3); }
html .hr-kv { color: #1E1B4B; }
html .hr-kf { font-size: 12px; color: #64748B; }
html .hr-kwm { position: absolute; right: -14px; bottom: -18px; width: 92px; height: 92px; color: rgba(var(--cg), .07); stroke-width: 1.4; pointer-events: none; transition: transform .4s var(--t-ease), color .3s; }
html .hr-kpi:hover .hr-kwm { transform: rotate(-8deg) scale(1.06); color: rgba(var(--cg), .11); }
/* segmented tabs */
html .hr-seg { background: #F1F0FB; border: 1px solid rgba(111, 99, 240, .1); }
html .hr-seg > button { transition: background-color .15s, color .15s, box-shadow .15s; }
html .hr-seg > button.is-on { background: #fff; color: #4338CA; box-shadow: 0 1px 2px rgba(15, 23, 42, .06), 0 4px 10px -6px rgba(76, 61, 220, .35); }
/* buttons */
html .hr-bp { background: linear-gradient(135deg, #5B4CF0, #8B7CF6); box-shadow: 0 8px 18px -10px rgba(91, 76, 240, .75), inset 0 1px 0 rgba(255, 255, 255, .22); transition: filter .15s, box-shadow .2s, transform .15s; }
html .hr-bp:hover:not(:disabled) { filter: brightness(1.06); box-shadow: 0 12px 22px -10px rgba(91, 76, 240, .85), inset 0 1px 0 rgba(255, 255, 255, .22); }
html .hr-bp:active:not(:disabled), html .hr-bs:active:not(:disabled) { transform: translateY(1px); }
html .hr-bs { border-color: rgba(111, 99, 240, .18); box-shadow: 0 1px 2px rgba(15, 23, 42, .05); transition: background-color .15s, border-color .15s, color .15s; }
html .hr-bs:hover:not(:disabled) { background: #F8F7FF; border-color: rgba(111, 99, 240, .32); color: #3B30C4; }
/* the page title a shade deeper */
html #page .page-head h1, html .chr .page-h h1, html .lvm h1 { color: #1E1B4B; }
html #page.page-in .hr-kpi { animation: db-rise .55s var(--t-ease) both; }
html #page.page-in .hr-kpi:nth-child(2) { animation-delay: .05s; } html #page.page-in .hr-kpi:nth-child(3) { animation-delay: .1s; } html #page.page-in .hr-kpi:nth-child(n+4) { animation-delay: .15s; }
@media (prefers-reduced-motion: reduce) { .hr-kpi, .hr-kwm, .hr-bp { transition: none; } #page.page-in .hr-kpi { animation: none; } }
/* Core and Benefits draw their own stat tile (.kpi: label with icon, value, sub line): same surface, a gradient icon first */
html :is(#page[data-module="core"], #page[data-module="benefits"], .tby-ov) .kpi:not(.deep) { background: rgba(255, 255, 255, .94); border: 1px solid var(--hr-line); border-radius: var(--hr-r); box-shadow: var(--hr-shadow); transition: transform .25s var(--t-ease), box-shadow .3s, border-color .25s; }
html :is(#page[data-module="core"], #page[data-module="benefits"], .tby-ov) button.kpi:not(.deep):hover { transform: translateY(-3px); border-color: rgba(111, 99, 240, .3); box-shadow: 0 2px 4px rgba(15, 23, 42, .04), 0 24px 44px -24px rgba(76, 61, 220, .5); }
html :is(#page[data-module="core"], #page[data-module="benefits"], .tby-ov) .kpi .l { gap: 12px; font-size: 13px; }
html :is(#page[data-module="core"], #page[data-module="benefits"], .tby-ov) .kpi .l .ic { order: 0; margin-left: 0; width: 38px; height: 38px; padding: 10px; border-radius: 12px; color: #fff; background: linear-gradient(135deg, #6F63F0, #A78BFA); box-shadow: 0 8px 16px -9px rgba(91, 76, 240, .8), inset 0 1px 0 rgba(255, 255, 255, .3); }
html :is(#page[data-module="core"], #page[data-module="benefits"], .tby-ov) .kpi .v { margin-top: 10px; font-size: 30px; color: #1E1B4B; }
html :is(#page[data-module="core"], #page[data-module="benefits"], .tby-ov) .kpi.deep { border-radius: var(--hr-r); background: linear-gradient(135deg, #312E81, #4C1D95); box-shadow: 0 18px 36px -20px rgba(49, 46, 129, .8); }
/* Leave balances: icon and name on top, the days left, a bar for the share of the year's balance still left */
html .lvm .bal { position: relative; }
html .lvm .bal .bal-h { display: flex; align-items: center; gap: 10px; }
html .lvm .bal .bal-ic { display: grid; place-items: center; width: 36px; height: 36px; flex: none; border-radius: 11px; color: #fff; background: linear-gradient(135deg, var(--c1), var(--c2)); box-shadow: 0 8px 16px -9px rgba(var(--cg), .8), inset 0 1px 0 rgba(255, 255, 255, .3); }
html .lvm .bal .bal-ic svg { width: 18px; height: 18px; }
html .lvm .bal .bal-n { display: inline; font-size: 13px; color: #475569; }
html .lvm .bal b { margin-top: 12px; color: #1E1B4B; }
html .lvm .bal .bal-m { height: 6px; margin-top: 10px; border-radius: 6px; background: rgba(var(--cg), .12); overflow: hidden; }
html .lvm .bal .bal-m i { display: block; height: 100%; border-radius: 6px; background: linear-gradient(90deg, var(--c1), var(--c2)); box-shadow: 0 0 8px rgba(var(--cg), .45); }
html #page.page-in .lvm .bal .bal-m i { animation: db-grow 1s var(--t-ease) .2s both; transform-origin: left; }
/* a card you pick (a site in Team presence): lifts on hover, an indigo ring when picked */
html .hr-pick { transition: transform .2s var(--t-ease), box-shadow .25s, border-color .2s; }
html .hr-pick:hover { transform: translateY(-2px); border-color: rgba(111, 99, 240, .3); }
html .hr-card.is-sel { border-color: #6F63F0; box-shadow: 0 0 0 3px rgba(111, 99, 240, .14), var(--hr-shadow); }
/* who is in at a site, as one bar: on time, late, on leave, not in yet; the grey is the rest */
html .att-bar { display: flex; gap: 2px; height: 8px; border-radius: 8px; background: #F1F0FB; overflow: hidden; }
html .att-bar i { display: block; height: 100%; }
html .att-bar .on { background: linear-gradient(90deg, #059669, #34D399); }
html .att-bar .late { background: linear-gradient(90deg, #D97706, #FBBF24); }
html .att-bar .leave { background: linear-gradient(90deg, #0284C7, #38BDF8); }
html .att-bar .miss { background: linear-gradient(90deg, #E11D48, #FB7185); }
/* Core HR's count chips (Helpdesk queue, Movements, Exits): a bigger number, the colour as a glowing dot, a ring when picked */
html .chr .tile { padding: 9px 16px; border-color: var(--hr-line); border-radius: 14px; box-shadow: var(--hr-shadow); transition: transform .2s var(--t-ease), border-color .2s, box-shadow .2s; }
html .chr .tile::before { width: 9px; height: 9px; box-shadow: 0 0 0 3px color-mix(in srgb, var(--tone) 18%, transparent); }
html .chr .tile b { font-size: 22px; color: #1E1B4B; }
html .chr button.tile:hover { transform: translateY(-2px); background: #fff; border-color: color-mix(in srgb, var(--tone) 40%, white); }
html .chr .tile.on { background: color-mix(in srgb, var(--tone) 7%, white); border-color: var(--tone); box-shadow: 0 0 0 3px color-mix(in srgb, var(--tone) 15%, transparent), var(--hr-shadow); }
/* Compact tiles everywhere: about 64px tall, and a row of them fits as many as the width allows (4 to 5 on a laptop) */
html .hr-kic { width: 34px; height: 34px; border-radius: 10px; }
html .hr-kwm { width: 64px; height: 64px; right: -10px; bottom: -14px; }
html .hr-kf { font-size: 11.5px; }
html #page :is(div, section):has(> .hr-kpi:nth-child(2)) { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)) !important; gap: 12px !important; }
html #page :is(div, section):has(> .hr-pick:nth-child(2)) { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)) !important; gap: 12px !important; }
html #page .hr-pick { padding: 12px 16px !important; }
html #page .hr-pick .text-3xl { font-size: 22px; line-height: 1.2; }
html :is(#page[data-module="core"], #page[data-module="benefits"]) .kpi { padding: 12px 16px; }
html :is(#page[data-module="core"], #page[data-module="benefits"]) .kpi .l .ic { width: 32px; height: 32px; padding: 8px; }
html :is(#page[data-module="core"], #page[data-module="benefits"]) .kpi .v { margin-top: 6px; font-size: 22px; }
html .lvm .bal { padding: 14px 16px; }
html .lvm .bal .bal-ic { width: 30px; height: 30px; border-radius: 9px; }
html .lvm .bal b { margin-top: 8px; font-size: 24px; }
/* the icon in front of a card title (kernel: titleIcons) */
html .hr-tic { display: inline-grid; place-items: center; width: 26px; height: 26px; margin-right: 9px; vertical-align: -7px; flex: none; border-radius: 8px; color: #fff; background: linear-gradient(135deg, #6F63F0, #A78BFA); box-shadow: 0 6px 12px -7px rgba(91, 76, 240, .7), inset 0 1px 0 rgba(255, 255, 255, .3); }
html .hr-tic svg { width: 14px; height: 14px; }
/* Less empty space everywhere: home tiles as compact as the module tiles, tighter card padding, rows of tiles fit 4 to 5 */
html #page :is(div, section):has(> .db-kpi:nth-child(2)) { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)) !important; gap: 12px !important; }
html .db-kpi { padding: 12px 16px !important; gap: 12px !important; border-radius: 16px !important; }
html .db-kpi .db-kgi { width: 36px !important; height: 36px !important; border-radius: 11px !important; }
html .db-kpi .db-kgi svg { width: 17px; height: 17px; }
html .db-kpi .db-num { font-size: 22px !important; line-height: 1.15 !important; }
html .db-kpi p.text-\[13px\] { font-size: 12px; }
html .db-kpi .db-wm { width: 64px !important; height: 64px !important; right: -10px !important; bottom: -14px !important; }
html .db-kpi span.h-5[aria-hidden] { display: none; }
html .db-kpi .mt-2, html .db-kpi .mt-1\.5 { margin-top: 4px !important; }
html .db-kpi .db-go { top: 10px !important; right: 10px !important; }
/* section cards: smaller headers and bodies */
html .hr-card-h { padding: 12px 16px !important; }
html .lvm .card { padding: 16px; }
html .lvm .card .tw { margin-left: -16px; margin-right: -16px; }
html .chr .card-h { padding: 12px 16px; }
html .chr .card-b { padding: 14px 16px; }
html :is(#page[data-module="core"], #page[data-module="benefits"]) .card { padding: 16px; }
html #page .db-card > .p-5, html #page .hr-card > .p-5 { padding: 16px !important; }
/* table rows a little tighter */
html #page tbody td.py-3, html .chr .tbl td { padding-top: 9px; padding-bottom: 9px; }

/* HR admin home. Dark text at 13px and up, one blue with quiet secondary tints (--c text, --bg tint), flat fills. */
.hx { color: #0F172A; font-size: 14px; }
.hx button:focus-visible { outline: 2px solid #6F63F0; outline-offset: 2px; }
.hx svg { flex: none; }
.hx-hero { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 22px; padding: 22px 26px; border-radius: 20px; background: #fff; border: 1px solid rgba(111, 99, 240, .12); box-shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 18px 36px -28px rgba(91, 76, 240, .5); }
.hx-eyebrow { margin-bottom: 4px; font-size: 13px; font-weight: 600; color: #5B4CF0; }
.hx-lead { font-size: 20px; line-height: 1.35; font-weight: 600; letter-spacing: -.01em; color: #0F172A; }
.hx-btn { display: inline-flex; align-items: center; gap: 7px; height: 40px; padding: 0 14px; font-size: 14px; font-weight: 500; color: #0F172A; background: #fff; border: 1px solid #CBD5E1; border-radius: 10px; transition: border-color .15s, color .15s, background-color .15s; }
.hx-btn svg { width: 16px; height: 16px; }
.hx-btn:hover { border-color: #6F63F0; color: #5B4CF0; }
.hx-btn.pri { color: #fff; background: #6F63F0; border-color: #6F63F0; } .hx-btn.pri:hover { color: #fff; background: #5B4CF0; }
.hx-btn.sm { height: 32px; padding: 0 10px; font-size: 13px; }
.hx-ic { display: grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 10px; color: var(--c); background: var(--bg); }
.hx-ic svg { width: 18px; height: 18px; } .hx-ic.sm { width: 32px; height: 32px; } .hx-ic.sm svg { width: 16px; height: 16px; }
.hx-kpi { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 6px; padding: 22px; text-align: left; border-radius: 20px; background: #fff; border: 1px solid rgba(111, 99, 240, .14); box-shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 16px 32px -26px rgba(91, 76, 240, .55); transition: transform .2s, border-color .2s, box-shadow .2s; }
button.hx-kpi:hover { transform: translateY(-3px); border-color: rgba(111, 99, 240, .45); box-shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 24px 40px -24px rgba(91, 76, 240, .7); }
.hx-kpi .lab { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 14px; font-weight: 500; color: #475569; } .hx-kpi .lab .ic { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; color: var(--c); background: var(--bg); } .hx-kpi .lab .ic svg { width: 16px; height: 16px; } .hx-kpi .num { font-size: 44px; line-height: 1.05; font-weight: 700; letter-spacing: -.03em; color: #0F172A; }
.hx-trend { align-self: flex-start; display: inline-flex; align-items: center; gap: 5px; margin-top: 2px; padding: 3px 11px; border-radius: 999px; font-size: 12.5px; font-weight: 600; color: var(--c); background: var(--bg); } .hx-trend svg { width: 16px; height: 16px; color: var(--c); } .hx-trend b { color: var(--c); } .hx-trend em { font-style: normal; color: #475569; }
.hx-kpi .tip { margin-top: 10px; padding-top: 10px; border-top: 1px solid #EEF2F6; font-size: 13px; color: #475569; } .hx-kpi .tip svg { width: 15px; height: 15px; margin-top: 2px; color: #6F63F0; }
.hx-tabs { display: inline-flex; gap: 2px; padding: 4px; border-radius: 12px; background: #F1EFFE; } .hx-tabs button { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; border-radius: 9px; font-size: 14px; font-weight: 600; color: #475569; }
.hx-tabs button:hover { color: #0F172A; } .hx-tabs button.on { color: #5B4CF0; background: #fff; box-shadow: 0 1px 2px rgba(15, 23, 42, .1); } .hx-tabs b { padding: 0 6px; border-radius: 999px; font-size: 12px; color: #5B4CF0; background: #E4E0FF; }
.hx-card { display: flex; flex-direction: column; padding-bottom: 16px; background: #fff; border: 1px solid rgba(111, 99, 240, .12); border-radius: 20px; box-shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 18px 36px -28px rgba(91, 76, 240, .5); overflow: hidden; }
.hx-card > header { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 20px 14px; }
.hx-card h3 { display: flex; align-items: center; gap: 10px; font-size: 16px; font-weight: 600; color: #0F172A; }
.hx-link { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; font-weight: 600; color: #5B4CF0; white-space: nowrap; } .hx-link svg { width: 14px; height: 14px; } .hx-link:hover { text-decoration: underline; }
.hx-badge { display: inline-flex; align-items: center; flex: none; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; white-space: nowrap; color: var(--c); background: var(--bg); border: 1px solid rgba(100,116,139,.2); border-color: color-mix(in srgb, var(--c) 18%, transparent); }
.hx-av { display: grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 50%; font-size: 13px; font-weight: 700; color: var(--c); background: var(--bg); border: 1px solid rgba(100,116,139,.24); border-color: color-mix(in srgb, var(--c) 22%, transparent); }
.hx-item { display: flex; align-items: center; gap: 12px; width: 100%; padding: 9px 8px; border-radius: 10px; text-align: left; }
button.hx-item:hover, button.hx-stat:hover, button.hx-foot:hover { background: #F7F6FF; }
.hx-item .t { display: block; font-size: 14px; font-weight: 500; color: #0F172A; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hx-item .s { display: block; font-size: 13px; color: #475569; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hx-pri { flex: none; width: 4px; height: 34px; border-radius: 4px; background: var(--c); }
.hx-stat { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; border-radius: 14px; background: #F7F6FF; text-align: left; } .hx-stat b { font-size: 22px; line-height: 1.1; font-weight: 700; }
.hx-count { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border-radius: 12px; text-align: left; background: var(--bg); } .hx-count b { font-size: 22px; line-height: 1.1; color: var(--c); } .hx-count span { font-size: 13px; color: #334155; }
.hx-sub { margin-bottom: 8px; font-size: 13px; font-weight: 600; color: #334155; }
.hx-days { display: flex; align-items: flex-end; gap: 10px; height: 96px; } .hx-days span { position: relative; flex: 1; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; padding: 20px 0; }
.hx-days i { width: 100%; max-width: 44px; border-radius: 8px 8px 3px 3px; background: #CFC8FB; } .hx-days span:last-child i { background: #6F63F0; }
.hx-days em { position: absolute; top: 0; font-size: 12px; font-style: normal; font-weight: 600; color: #334155; } .hx-days small { position: absolute; bottom: 0; font-size: 12px; color: #475569; }
.hx-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: calc(100% - 24px); margin: 12px 12px 0; padding: 10px 12px; border-radius: 12px; background: #F7F6FF; font-size: 14px; color: #334155; text-align: left; } .hx-foot svg { width: 16px; height: 16px; }
.hx-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding: 12px 20px 0; } .hx-chips.top { margin: 0; padding: 0 20px 8px; }
.hx-chip { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; border-radius: 999px; font-size: 13px; font-weight: 500; color: #334155; background: #F3F1FF; } .hx-chip svg { width: 14px; height: 14px; } .hx-chip b { color: #0F172A; }
button.hx-chip:hover { color: #5B4CF0; background: #F3F1FF; }
.hx-note { margin: 10px 20px 0; padding-top: 10px; border-top: 1px solid #F1F5F9; font-size: 13px; color: #475569; }
.hx-empty { display: flex; align-items: center; gap: 8px; margin: 8px 20px; padding: 14px; border-radius: 12px; background: #F8FAFC; font-size: 14px; color: #334155; } .hx-empty svg { width: 18px; height: 18px; color: #047857; }
.hx-track { display: grid; grid-template-columns: repeat(6, 1fr); padding: 10px 12px 16px; }
.hx-track li + li::before { content: ""; position: absolute; top: 20px; right: 50%; width: 100%; height: 2px; background: #ECECF5; }
.hx-track :is(button, div) { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 2px; border-radius: 12px; text-align: center; }
.hx-track .st-ic { position: relative; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; color: var(--c); background: var(--bg); box-shadow: 0 0 0 5px #fff; } .hx-track .st-ic svg { width: 19px; height: 19px; }
.hx-track .st-n { position: absolute; top: -7px; right: -9px; min-width: 20px; height: 20px; padding: 0 5px; display: grid; place-items: center; border-radius: 999px; font-size: 11.5px; font-weight: 700; color: #fff; background: var(--c); box-shadow: 0 0 0 2px #fff; } .hx-track .st-n.z { background: #CBD5E1; }
.hx-track .st-l { font-size: 12px; line-height: 1.25; font-weight: 500; color: #475569; }
.hx-cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; } .hx-cal span { display: flex; flex-direction: column; align-items: center; padding: 5px 0; border-radius: 10px; background: #F7F6FF; border: 1px solid transparent; }
.hx-cal small { font-size: 11px; color: #475569; } .hx-cal b { font-size: 14px; } .hx-cal em { height: 14px; font-size: 11px; font-style: normal; font-weight: 700; color: #5B4CF0; }
.hx-cal .off { background: #fff; } .hx-cal .off b { color: #64748B; } .hx-cal .out { background: #E4E0FF; } .hx-cal .hol { background: #FEF3C7; } .hx-cal .hol em { color: #B45309; } .hx-cal .now { border-color: #6F63F0; }
.hx-prog { height: 10px; margin: 10px 0 8px; border-radius: 999px; background: #E2E8F0; overflow: hidden; } .hx-prog i { display: block; height: 100%; border-radius: 999px; background: #6F63F0; } .hx-prog.thin { display: block; height: 5px; margin: 6px 0 0; }
.hx-days.tall { height: 176px; }
.hx-due { display: flex; flex-direction: column; gap: 4px; padding: 16px; border-radius: 14px; background: var(--bg); } .hx-due strong { font-size: 14px; color: #0F172A; } .hx-due p { font-size: 13px; color: #334155; } .hx-due b { margin-right: 4px; font-size: 30px; line-height: 1.1; color: var(--c); } .hx-due span { font-size: 13px; color: #475569; }
.hx-mini { display: flex; align-items: flex-end; gap: 4px; flex: none; width: 96px; height: 48px; } .hx-mini i { flex: 1; border-radius: 4px 4px 2px 2px; }
.hx-menu { position: relative; } .hx-menu summary { list-style: none; cursor: pointer; } .hx-menu summary::-webkit-details-marker { display: none; } .hx-menu[open] summary { border-color: #6F63F0; color: #5B4CF0; }
.hx-menu > div { position: absolute; right: 0; top: 46px; z-index: 30; display: flex; flex-direction: column; min-width: 240px; padding: 6px; border-radius: 12px; background: #fff; border: 1px solid #E2E8F0; box-shadow: 0 16px 32px -12px rgba(15, 23, 42, .25); }
.hx-mi { display: flex; align-items: center; gap: 10px; height: 40px; padding: 0 12px; border-radius: 8px; font-size: 14px; color: #0F172A; text-align: left; } .hx-mi svg { width: 16px; height: 16px; color: #475569; } .hx-mi:hover { background: #F3F1FF; color: #5B4CF0; }
.hx-none { display: flex; flex-direction: column; align-items: center; gap: 8px; margin: auto; padding: 28px 24px; text-align: center; } .hx-none b { font-size: 15px; color: #0F172A; } .hx-none p { max-width: 260px; font-size: 13px; color: #475569; }
@media (prefers-reduced-motion: reduce) { .hx * { transition: none !important; animation: none !important; } }

/* HR home motion. Entrance plays only on real navigation (page-in), never on tab clicks, and is off for reduced motion. */
@media (prefers-reduced-motion: no-preference) {
  #page.page-in .hx > .hx-hero { animation: hx-rise .5s cubic-bezier(.22, 1, .36, 1) both; }
  #page.page-in .hx > div > .hx-kpi, #page.page-in .hx > .grid > .hx-card { animation: hx-rise .6s cubic-bezier(.22, 1, .36, 1) both; }
  #page.page-in .hx > div > .hx-kpi:nth-child(1) { animation-delay: .04s; } #page.page-in .hx > div > .hx-kpi:nth-child(2) { animation-delay: .09s; }
  #page.page-in .hx > div > .hx-kpi:nth-child(3) { animation-delay: .14s; } #page.page-in .hx > div > .hx-kpi:nth-child(4) { animation-delay: .19s; } #page.page-in .hx > div > .hx-kpi:nth-child(5) { animation-delay: .24s; }
  #page.page-in .hx > .grid > .hx-card:nth-child(1) { animation-delay: .28s; } #page.page-in .hx > .grid > .hx-card:nth-child(2) { animation-delay: .34s; }
  #page.page-in .hx > .grid > .hx-card:nth-child(3) { animation-delay: .4s; } #page.page-in .hx > .grid > .hx-card:nth-child(4) { animation-delay: .46s; }
  #page.page-in .hx > .grid > .hx-card:nth-child(5) { animation-delay: .52s; }
  #page.page-in .hx-gbar { transform-box: fill-box; transform-origin: bottom; animation: hx-grow .7s cubic-bezier(.22, 1, .36, 1) both; animation-delay: .35s; }
  #page.page-in .hx-draw { animation: hx-draw 1.1s ease-out .45s both; }
  #page.page-in .hx-ring circle { animation: hx-fade .6s ease-out .4s both; }
  @keyframes hx-rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
  @keyframes hx-grow { from { transform: scaleY(.001); } to { transform: scaleY(1); } }
  @keyframes hx-draw { from { stroke-dasharray: 1; stroke-dashoffset: 1; } to { stroke-dasharray: 1; stroke-dashoffset: 0; } }
  @keyframes hx-fade { from { opacity: 0; } to { opacity: 1; } }
}
/* Soft lift on the KPI mini chart so a card feels alive under the cursor. */
.hx-mini i { transition: opacity .2s, transform .2s; transform-origin: bottom; }
button.hx-kpi:hover .hx-mini i { transform: scaleY(1.06); }
.hx-none-ic { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 18px; color: var(--c); background: var(--bg); } .hx-none-ic svg { width: 26px; height: 26px; }
.hx-none { gap: 10px; padding: 32px 24px; } .hx-none b { font-size: 16px; } .hx-none .hx-badge { margin-top: 4px; }
/* Tab panels fade their body in when the view swaps, and the tab pill eases its colour. */
.hx-swap { animation: hx-swap .26s ease both; }
@keyframes hx-swap { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.hx-tabs button { transition: background-color .2s, color .2s, box-shadow .2s; }
@media (prefers-reduced-motion: reduce) { .hx-swap { animation: none; } }
.hx-mchip { display: flex; flex-direction: column; gap: 3px; padding: 11px 13px; border-radius: 12px; background: #F7F6FF; } .hx-mchip .d { width: 11px; height: 11px; border-radius: 3px; } .hx-mchip b { font-size: 19px; font-weight: 700; color: #0F172A; } .hx-mchip .l { font-size: 12px; color: #475569; }

.hx-seg { display: flex; height: 16px; border-radius: 999px; overflow: hidden; background: #EEF0F6; } .hx-seg span { height: 100%; }
.hx-legrow { display: flex; align-items: center; gap: 10px; width: 100%; padding: 9px 12px; border-radius: 10px; font-size: 14px; color: #334155; text-align: left; } button.hx-legrow:hover { background: #F5F8FF; } .hx-legrow .d { width: 11px; height: 11px; border-radius: 3px; flex: none; } .hx-legrow b { font-size: 16px; font-weight: 700; color: #0F172A; }
.hx-tile { display: flex; flex-direction: column; gap: 3px; padding: 14px; border-radius: 14px; background: #F7F6FF; } .hx-tile b { font-size: 26px; line-height: 1.05; font-weight: 700; color: #0F172A; } .hx-tile span { font-size: 13px; color: #475569; } .hx-tile .hx-badge { margin-top: 4px; } button.hx-tile:hover { background: #F0EEFE; }
.hx-dept { display: flex; align-items: center; gap: 10px; font-size: 13px; color: #334155; } .hx-dept .hx-prog { flex: 1; max-width: 160px; margin: 0; } .hx-dept .hx-prog i { background: #6F63F0; } .hx-dept b { width: 24px; text-align: right; font-weight: 700; color: #0F172A; }

/* HR board, extra motion. Hover lift always; the rest plays on load only and respects reduced motion. */
.hx-card { transition: transform .22s var(--t-ease), box-shadow .25s, border-color .2s; }
.hx-card:hover { transform: translateY(-3px); box-shadow: 0 2px 4px rgba(15, 23, 42, .05), 0 22px 40px -24px rgba(91, 76, 240, .55); }
.hx-legrow, .hx-item, .hx-chip { transition: background-color .15s, transform .15s; }
.hx-legrow:hover, button.hx-item:hover { transform: translateX(2px); }
@media (prefers-reduced-motion: no-preference) {
  #page.page-in .hx-seg span { transform-origin: left; animation: hx-wipe .8s cubic-bezier(.22, 1, .36, 1) .3s both; }
  #page.page-in .hx-prog i { transform-origin: left; animation: hx-wipe .9s cubic-bezier(.22, 1, .36, 1) .35s both; }
  #page.page-in .hx-card .hx-item, #page.page-in .hx-card .hx-legrow { animation: hx-slidein .45s var(--t-ease) both; }
  #page.page-in .hx-card .hx-item:nth-child(2), #page.page-in .hx-card .hx-legrow:nth-child(2) { animation-delay: .06s; }
  #page.page-in .hx-card .hx-item:nth-child(3), #page.page-in .hx-card .hx-legrow:nth-child(3) { animation-delay: .12s; }
  #page.page-in .hx-card .hx-item:nth-child(4), #page.page-in .hx-card .hx-legrow:nth-child(4) { animation-delay: .18s; }
  #page.page-in .hx-card .hx-item:nth-child(n+5) { animation-delay: .24s; }
  @keyframes hx-wipe { from { transform: scaleX(0); } to { transform: scaleX(1); } }
  @keyframes hx-slidein { from { opacity: 0; transform: translateX(-8px); } to { opacity: 1; transform: none; } }
}

/* HR board, button and element polish. Hover and press micro-interactions; off for reduced motion (guard below). */
.hx-btn { transition: transform .15s var(--t-ease), box-shadow .2s, background-color .15s, border-color .15s, color .15s; }
.hx-btn:hover { transform: translateY(-1px); box-shadow: 0 8px 18px -10px rgba(91, 76, 240, .55); }
.hx-btn:active { transform: translateY(0) scale(.97); }
.hx-btn.pri:hover { background: linear-gradient(135deg, #6F63F0, #8F7DF6); border-color: transparent; box-shadow: 0 10px 20px -8px rgba(91, 76, 240, .7); }
.hx-link svg { transition: transform .2s var(--t-ease); }
.hx-link:hover svg { transform: translateX(3px); }
.hx-ic, .hx-kpi .ic { transition: transform .3s cubic-bezier(.3, 1.5, .5, 1); }
.hx-card:hover > header .hx-ic, button.hx-kpi:hover .ic { transform: rotate(-8deg) scale(1.1); }
button.hx-kpi:hover { transform: translateY(-3px); }
.hx-tile, .hx-stat, .hx-count { transition: transform .18s var(--t-ease), box-shadow .2s, background-color .15s; }
button.hx-tile:hover, button.hx-stat:hover { transform: translateY(-2px); box-shadow: 0 12px 24px -16px rgba(91, 76, 240, .5); }
.hx-av { transition: transform .2s var(--t-ease); }
button.hx-item:hover .hx-av { transform: scale(1.1) rotate(-4deg); }
.hx-track .st-ic { transition: transform .25s cubic-bezier(.3, 1.5, .5, 1); }
.hx-track :is(button, div):hover .st-ic { transform: translateY(-3px) scale(1.06); }
@media (prefers-reduced-motion: reduce) { .hx *, .hx *::before, .hx *::after { transition: none !important; animation: none !important; } }

/* ---------- App-wide micro-interactions ----------
   A light layer over every screen: smooth transitions on interactive elements, a gentle press on buttons, and an arrow
   that nudges on links that carry one. Conservative so it does not disturb any single screen. Off for reduced motion. */
@media (prefers-reduced-motion: no-preference) {
  :is(#page, #modal-root, #topbar, #fab-root) :is(button, a, summary, [role="button"], [data-hr], [data-act]) {
    transition: transform .15s var(--t-ease), box-shadow .2s, background-color .15s, border-color .15s, color .15s, opacity .15s;
  }
  #page :is(button, [role="button"], [data-hr], [data-act]):not(:disabled):active { transform: scale(.98); }
  #modal-root form button:not(:disabled):active { transform: scale(.98); }
  /* a link or button that ends in an arrow glyph: the arrow slides on hover */
  :is(#page, #modal-root) :is(a, button):hover > svg.lucide-arrow-right,
  :is(#page, #modal-root) :is(a, button):hover > :is(i, span) > svg.lucide-arrow-right { transform: translateX(3px); }
  :is(#page, #modal-root) :is(a, button) > svg.lucide-arrow-right { transition: transform .2s var(--t-ease); }
}
@media (prefers-reduced-motion: reduce) {
  #app *, #modal-root * { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition: none !important; }
}

/* ---------- Sign-in page (Tabby in its tile, cooler background, animated) ---------- */
#page[data-module="signin"] { padding: 0; }
.si-wrap { display: grid; grid-template-columns: 1.05fr .95fr; min-height: calc(100vh - 7rem); max-width: 1040px; margin: 24px auto; border-radius: 28px; overflow: hidden; background: #fff; border: 1px solid var(--t-line); box-shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 40px 90px -50px rgba(76, 61, 220, .55); animation: si-in .6s var(--t-ease) both; }
@keyframes si-in { from { opacity: 0; transform: translateY(16px) scale(.99); } to { opacity: 1; transform: none; } }
.si-brand { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; text-align: center; padding: 48px; color: #fff; background: radial-gradient(70% 45% at 50% 34%, rgba(110, 90, 255, .55), transparent 70%), linear-gradient(160deg, #15133F 0%, #231D78 55%, #2E26A3 100%); }
.si-brand::before, .si-brand::after { content: ""; position: absolute; border-radius: 50%; pointer-events: none; }
.si-brand::before { right: -120px; top: -120px; width: 380px; height: 380px; background: radial-gradient(circle, rgba(167, 139, 250, .22), transparent 65%); }
.si-brand::after { left: 10%; bottom: -160px; width: 360px; height: 360px; background: radial-gradient(circle, rgba(99, 102, 241, .28), transparent 68%); animation: si-float 14s ease-in-out infinite alternate; }
@keyframes si-float { from { transform: translateY(0); } to { transform: translateY(-26px); } }
.si-brand-in { position: relative; width: 100%; }
.si-logo { display: inline-flex; align-items: center; gap: 10px; font-size: 24px; font-weight: 700; letter-spacing: -.02em; color: #fff; } .si-logo img { border-radius: 12px; } .si-logo b { opacity: .9; }
.si-logo.sm { font-size: 22px; color: #0F172A; margin-bottom: 4px; } .si-logo.sm b { color: #6F63F0; }
.si-title { margin-top: 26px; font-size: 34px; line-height: 1.18; font-weight: 700; letter-spacing: -.02em; } .si-title span { color: #EBE5FF; }
.si-sub { margin: 14px auto 0; max-width: 24rem; font-size: 15px; line-height: 1.5; color: rgba(255, 255, 255, .88); }
.si-mascot { position: relative; width: 210px; height: 210px; margin: 0 auto; display: grid; place-items: center; }
.si-tabby { position: relative; z-index: 2; width: 134px; height: 134px; border-radius: 30px; filter: drop-shadow(0 22px 26px rgba(18, 22, 70, .5)); animation: si-bob 4.4s ease-in-out infinite; }
.si-floor { position: absolute; bottom: 18px; z-index: 1; width: 104px; height: 16px; border-radius: 50%; background: radial-gradient(closest-side, rgba(16, 18, 60, .4), transparent); filter: blur(3px); animation: si-floor 4.4s ease-in-out infinite; }
.si-disc { position: absolute; width: 178px; height: 178px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 255, 255, .34), rgba(255, 255, 255, 0) 68%); animation: si-pulse 4s ease-in-out infinite; }
.si-ring { position: absolute; width: 158px; height: 158px; border-radius: 50%; border: 2px dashed rgba(255, 255, 255, .45); animation: si-spin 20s linear infinite; }
.si-dot { position: absolute; width: 12px; height: 12px; border-radius: 50%; background: rgba(255, 255, 255, .92); box-shadow: 0 0 12px rgba(255, 255, 255, .7); }
.si-dot.a { top: 8px; left: 34px; animation: si-drift 6s ease-in-out infinite; }
.si-dot.b { bottom: 16px; right: 24px; width: 9px; background: rgba(191, 219, 254, .95); animation: si-drift 7s ease-in-out infinite reverse; }
.si-dot.c { top: 44px; right: 6px; width: 7px; animation: si-drift 5.5s ease-in-out infinite .5s; }
.si-dot.d { bottom: 44px; left: 4px; width: 8px; background: rgba(199, 210, 254, .95); animation: si-drift 6.5s ease-in-out infinite 1s; }
@keyframes si-bob { 0%,100% { transform: translateY(0) scale(1,1) rotate(-2deg); } 32% { transform: translateY(-16px) scale(.98,1.04) rotate(1deg); } 52% { transform: translateY(-19px) scale(1.01,.99) rotate(2.5deg); } 72% { transform: translateY(-15px) scale(1.03,.97) rotate(1deg); } }
@keyframes si-floor { 0%,100% { transform: scale(1); opacity: .5; } 52% { transform: scale(.66); opacity: .3; } }
@keyframes si-pulse { 0%,100% { transform: scale(1); opacity: .8; } 50% { transform: scale(1.12); opacity: 1; } }
@keyframes si-spin { to { transform: rotate(360deg); } }
@keyframes si-drift { 0%,100% { transform: translate(0, 0); } 50% { transform: translate(6px, -10px); } }
.si-brand { align-items: flex-end; padding-bottom: 40px; }
.sx3d { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; } .sx3d canvas { width: 100%; height: 100%; display: block; }
.si-brand .si-brand-in { position: static; } .si-brand .si-title, .si-brand .si-sub { position: relative; z-index: 2; } .si-brand .si-title { margin-top: 0; }
.si-brand { min-height: 560px; } .si-brand-in { margin-top: 280px; }
.si-card { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; padding: 40px; }
.si-card::before { content: ""; position: absolute; right: -90px; bottom: -130px; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle, rgba(167, 139, 250, .18), transparent 70%); animation: si-float 12s ease-in-out infinite alternate; pointer-events: none; }
.si-card-in { position: relative; z-index: 1; width: 100%; max-width: 360px; animation: si-rise .6s var(--t-ease) .1s both; }
@keyframes si-rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.si-head { margin-top: 10px; font-size: 26px; font-weight: 700; letter-spacing: -.02em; color: #0F172A; text-align: center; }
#page[data-module="signin"] .si-card-in :is(input, select) { height: 44px; border-radius: 12px; border-color: #E2E8F0; transition: border-color .15s, box-shadow .15s, transform .15s; }
#page[data-module="signin"] .si-card-in input:is([type="email"], [type="password"], [type="text"]) { padding-left: 42px; background-repeat: no-repeat; background-position: 14px center; background-size: 18px 18px; }
#page[data-module="signin"] .si-card-in input[type="email"] { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2394A3B8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='m3 7 9 6 9-6'/%3E%3C/svg%3E"); }
#page[data-module="signin"] .si-card-in input[type="password"] { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2394A3B8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='11' width='16' height='10' rx='2'/%3E%3Cpath d='M8 11V7a4 4 0 0 1 8 0v4'/%3E%3C/svg%3E"); }
#page[data-module="signin"] .si-card-in input:focus { transform: translateY(-1px) scale(1.01); border-color: #6F63F0; box-shadow: 0 0 0 4px rgba(111, 99, 240, .18), 0 12px 22px -14px rgba(91, 76, 240, .45); }
#page[data-module="signin"] .si-card-in label:focus-within > span { color: #4A3BE0; }
#page[data-module="signin"] .si-card-in form button[type="submit"]:not(.border) { height: 46px; border-radius: 12px; background: linear-gradient(135deg, #6F63F0, #8F7DF6); box-shadow: 0 12px 24px -12px rgba(91, 76, 240, .7); transition: transform .2s cubic-bezier(.34, 1.56, .64, 1), box-shadow .2s, filter .15s; }
#page[data-module="signin"] .si-card-in form button[type="submit"]:not(.border)::after { content: "\2192"; margin-left: 8px; display: inline-block; transition: transform .2s var(--t-ease); }
#page[data-module="signin"] .si-card-in form button[type="submit"]:not(.border):hover { transform: translateY(-2px); box-shadow: 0 16px 28px -12px rgba(91, 76, 240, .75); }
#page[data-module="signin"] .si-card-in form button[type="submit"]:not(.border):hover::after { transform: translateX(4px); }
#page[data-module="signin"] .si-card-in form button[type="submit"]:not(.border):active { transform: translateY(0) scale(.97); }
@media (prefers-reduced-motion: no-preference) {
  .si-card-in :is(.si-head, label, form > button, form > p) { animation: si-rise .5s var(--t-ease) both; }
  .si-card-in .si-head { animation-delay: .06s; } .si-card-in form label:nth-of-type(1) { animation-delay: .14s; } .si-card-in form label:nth-of-type(2) { animation-delay: .2s; } .si-card-in form > button { animation-delay: .28s; }
}
@media (max-width: 860px) { .si-wrap { grid-template-columns: 1fr; margin: 12px; min-height: 0; } .si-brand { display: none; } .si-card { padding: 28px 20px; } }
@media (prefers-reduced-motion: reduce) { .si-wrap, .si-card-in, .si-brand::after, .si-tabby, .si-disc, .si-ring, .si-dot, .si-floor { animation: none !important; } }

/* Sign-in login box, extra polish. */
.si-head::after { content: ""; display: block; width: 42px; height: 3px; margin: 9px auto 0; border-radius: 3px; background: linear-gradient(90deg, #6F63F0, #A78BFA); }
#page[data-module="signin"] .si-card-in input:is([type="email"], [type="password"], [type="text"]) { background-color: #F7F6FF; }
#page[data-module="signin"] .si-card-in input:focus { background-color: #fff; }
#page[data-module="signin"] .si-card-in label > span { letter-spacing: .01em; }

/* Sign-in: full-bleed, product-grade layout */
.si-wrap { max-width: none; margin: 0; min-height: 100vh; border-radius: 0; border: 0; box-shadow: none; grid-template-columns: 1.12fr .88fr; animation: none; }
.si-brand { padding: 0 56px 48px; justify-content: flex-start; text-align: left; }
.si-brand .si-brand-in { margin-top: 0; max-width: 520px; }
.si-top { position: absolute; z-index: 3; top: 36px; left: 48px; } .si-top .si-logo { font-size: 22px; } .si-top .si-logo img { width: 38px; height: 38px; }
.si-brand .si-title { font-size: 34px; font-weight: 600; line-height: 1.15; letter-spacing: -.025em; max-width: 20ch; }
.si-brand .si-sub { margin: 12px 0 0; max-width: 30rem; font-size: 15px; color: rgba(255, 255, 255, .78); }
.si-mods { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 0; padding: 0; list-style: none; position: relative; z-index: 2; }
.si-mods li { padding: 6px 13px; border-radius: 99px; font-size: 12.5px; font-weight: 500; color: rgba(255, 255, 255, .9); background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .2); }
.si-card { padding: 48px 56px; background: #fff; } .si-card::before { display: none; } .si-card-in { max-width: 380px; }
.si-card .si-logo.sm { display: none; }
.si-head { text-align: left; font-size: 28px; font-weight: 650; margin-top: 0; } .si-head::after { display: none; }
.si-card-in :is(p, h2).text-center { text-align: left; } .si-card-in p.text-sm { margin-top: 6px; }
#page[data-module="signin"] .si-card-in :is(input, select) { height: 46px; border-radius: 10px; border-color: #D5D9E8; }
#page[data-module="signin"] .si-card-in input:is([type="email"], [type="password"], [type="text"]) { background-color: #fff; }
#page[data-module="signin"] .si-card-in input:focus { transform: none; }
#page[data-module="signin"] .si-card-in form button[type="submit"]:not(.border) { border-radius: 10px; background: #5B4BEA; box-shadow: 0 1px 2px rgba(35, 29, 120, .3); }
#page[data-module="signin"] .si-card-in form button[type="submit"]:not(.border):hover { background: #4F3FE0; }
.si-foot { margin-top: 28px; padding-top: 18px; border-top: 1px solid #EEF0F6; font-size: 12.5px; color: #6B7280; }
@media (max-width: 860px) { .si-card .si-logo.sm { display: inline-flex; } .si-wrap { min-height: 100vh; margin: 0; } }
.sx3d { inset: 56px 0 200px 0; }

/* Art direction: graphite stage, one accent */
.si-brand { background: radial-gradient(60% 40% at 50% 28%, rgba(255, 255, 255, .09), transparent 70%), linear-gradient(180deg, #0C0D12, #15171F); }
.si-brand::after { display: none; }
.si-brand::before { inset: 0; right: auto; width: auto; height: auto; border-radius: 0; background-image: linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px); background-size: 48px 48px; -webkit-mask-image: radial-gradient(70% 60% at 50% 40%, #000, transparent 85%); mask-image: radial-gradient(70% 60% at 50% 40%, #000, transparent 85%); }
.si-brand .si-sub { color: rgba(255, 255, 255, .62); }
.si-mods li { background: transparent; border-color: rgba(255, 255, 255, .14); color: rgba(255, 255, 255, .72); }

/* Light stage so the navy illustrations read cleanly */
.si-brand { color: #0F172A; background: radial-gradient(60% 40% at 50% 30%, #FFFFFF, transparent 70%), linear-gradient(180deg, #F2F5FB, #E0E8F6); }
.si-brand::before { background-image: linear-gradient(rgba(30, 41, 90, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(30, 41, 90, .05) 1px, transparent 1px); }
.si-top .si-logo { color: #0F172A; } .si-top .si-logo b { color: #6F63F0; opacity: 1; }
.si-brand .si-title { color: #0F172A; } .si-brand .si-sub { color: rgba(15, 23, 42, .62); }
.si-mods li { border-color: rgba(15, 23, 42, .14); color: rgba(15, 23, 42, .7); background: rgba(255, 255, 255, .6); }
.sx3d { inset: 40px 0 24px 0; }

/* Brand side: scene fills the panel; welcome heading lives on the form side */
.sx3d { inset: 36px 0 28px 0; }
.si-head span { color: #5B4BEA; }
.si-brand { background: radial-gradient(55% 40% at 50% 46%, #FFFFFF, transparent 72%), radial-gradient(60% 45% at 0% 100%, rgba(196, 181, 253, .3), transparent 70%), radial-gradient(50% 40% at 100% 0%, rgba(221, 214, 254, .38), transparent 70%), linear-gradient(180deg, #FAF9FF, #ECEFFA); }
/* Form side: layered, softly lit, a little alive */
.si-card { background: radial-gradient(60% 40% at 100% 0%, rgba(221, 214, 254, .55), transparent 70%), radial-gradient(55% 40% at 0% 100%, rgba(196, 181, 253, .28), transparent 70%), linear-gradient(180deg, #FFFFFF, #F7F5FE); }
.si-card-in { max-width: 420px; padding: 36px 36px 28px; background: #fff; border: 1px solid #ECE9FB; border-radius: 22px; box-shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 28px 60px -30px rgba(76, 61, 220, .35); }
.si-eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 14px; padding: 5px 12px 5px 10px; border-radius: 99px; background: #F1EEFF; color: #5B4BEA; font-size: 12.5px; font-weight: 600; animation: si-rise .5s var(--t-ease) both; }
.si-eyebrow i { position: relative; width: 8px; height: 8px; border-radius: 50%; background: #22C55E; }
.si-eyebrow i::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; background: #22C55E; opacity: .35; animation: si-ping 2.4s ease-out infinite; }
@keyframes si-ping { 0% { transform: scale(.6); opacity: .45; } 100% { transform: scale(1.5); opacity: 0; } }
.si-head { font-size: 30px; }
#page[data-module="signin"] .si-card-in :is(input, select) { height: 48px; border-radius: 12px; transition: border-color .15s, box-shadow .15s; }
#page[data-module="signin"] .si-card-in :is(input, select):hover { border-color: #C9C3F5; }
#page[data-module="signin"] .si-card-in input:focus { box-shadow: 0 0 0 4px rgba(111, 99, 240, .16); border-color: #6F63F0; }
#page[data-module="signin"] .si-card-in form button[type="submit"]:not(.border) { height: 48px; border-radius: 12px; background: linear-gradient(135deg, #5B4BEA, #7A68F5); box-shadow: 0 10px 22px -10px rgba(91, 75, 234, .7); }
.si-foot { display: flex; align-items: center; gap: 8px; margin-top: 24px; padding-top: 16px; } .si-foot svg { flex: none; color: #8B84C9; }
.si-legal { position: absolute; left: 0; right: 0; bottom: 20px; margin: 0; text-align: center; font-size: 12px; color: #94A3B8; }
@media (max-width: 860px) { .si-card-in { padding: 26px 22px; } }
@media (prefers-reduced-motion: reduce) { .si-eyebrow i::after { animation: none; } }

/* Fill the form side better */
.si-card-in { max-width: 460px; padding: 44px 44px 32px; }
.si-head { font-size: 34px; }
#page[data-module="signin"] .si-card-in :is(input, select) { height: 52px; font-size: 15px; }
#page[data-module="signin"] .si-card-in form button[type="submit"]:not(.border) { height: 52px; font-size: 15.5px; }
.si-eyebrow { font-size: 13px; }
/* No box: the form sits straight on the page */
.si-card-in { padding: 0; background: transparent; border: 0; border-radius: 0; box-shadow: none; }
.si-foot { border-top-color: transparent; }
/* Form side, second pass: hand-drawn underline, live fields, pill button, faint arcs */
.si-card::after { content: ""; position: absolute; right: -140px; top: -140px; width: 460px; height: 460px; border-radius: 50%; pointer-events: none; background: repeating-radial-gradient(circle, transparent 0 34px, rgba(124, 108, 245, .13) 34px 35px); -webkit-mask-image: radial-gradient(circle, #000 20%, transparent 70%); mask-image: radial-gradient(circle, #000 20%, transparent 70%); }
.si-head { line-height: 1.12; letter-spacing: -.03em; }
.si-head span { position: relative; display: inline-block; }
.si-head span::after { content: ""; position: absolute; left: -2px; right: -2px; bottom: -9px; height: 11px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 12' preserveAspectRatio='none'%3E%3Cpath d='M3 8C40 2 95 2 140 6s45 3 57 0' fill='none' stroke='%237C6CF5' stroke-width='3.5' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / 100% 100%; animation: si-draw .9s .45s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes si-draw { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
#page[data-module="signin"] .si-card-in :is(input, select) { background-color: rgba(255, 255, 255, .85); border-color: #E3E0F7; }
#page[data-module="signin"] .si-card-in input:focus { background-color: #fff; border-color: #6F63F0; box-shadow: 0 0 0 4px rgba(111, 99, 240, .14), inset 3px 0 0 #6F63F0; }
#page[data-module="signin"] .si-card-in input[type="email"]:focus { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235B4BEA' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='m3 7 9 6 9-6'/%3E%3C/svg%3E"); }
#page[data-module="signin"] .si-card-in input[type="password"]:focus { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235B4BEA' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='11' width='16' height='10' rx='2'/%3E%3Cpath d='M8 11V7a4 4 0 0 1 8 0v4'/%3E%3C/svg%3E"); }
#page[data-module="signin"] .si-card-in form button[type="submit"]:not(.border) { display: flex; align-items: center; justify-content: space-between; padding: 0 9px 0 26px; border-radius: 999px; }
#page[data-module="signin"] .si-card-in form button[type="submit"]:not(.border)::after { content: "\2192"; margin: 0; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: rgba(255, 255, 255, .22); font-size: 17px; transition: transform .25s var(--t-ease), background .25s; }
#page[data-module="signin"] .si-card-in form button[type="submit"]:not(.border):hover::after { transform: translateX(3px); background: rgba(255, 255, 255, .32); }
.si-foot { margin-top: 30px; padding: 12px 14px; border-radius: 14px; background: rgba(241, 238, 255, .7); color: #5F5A86; }
@media (prefers-reduced-motion: reduce) { .si-head span::after { animation: none; } }
/* Brand side corners: dotted field and arcs that fade toward the scene */
.si-brand::before { display: block; position: absolute; inset: 0; width: auto; height: auto; right: 0; top: 0; border-radius: 0; pointer-events: none; background: radial-gradient(rgba(124, 108, 245, .14) 1.1px, transparent 1.5px) 0 0 / 30px 30px; opacity: .8; -webkit-mask-image: radial-gradient(65% 60% at 50% 48%, transparent 50%, #000 100%); mask-image: radial-gradient(65% 60% at 50% 48%, transparent 50%, #000 100%); }
.si-brand::after { display: block; position: absolute; inset: 0; width: auto; height: auto; left: 0; bottom: 0; border-radius: 0; pointer-events: none; animation: none; background: repeating-radial-gradient(circle at 0% 100%, transparent 0 52px, rgba(124, 108, 245, .07) 52px 53px), repeating-radial-gradient(circle at 100% 0%, transparent 0 52px, rgba(124, 108, 245, .07) 52px 53px); -webkit-mask-image: radial-gradient(70% 65% at 50% 50%, transparent 40%, #000 100%); mask-image: radial-gradient(70% 65% at 50% 50%, transparent 40%, #000 100%); }
/* Corner watermark: ghosted HR line icons */
.si-brand::before { opacity: 1; -webkit-mask-image: none; mask-image: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237C6CF5' stroke-opacity='.17' stroke-width='.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2'/%3E%3Cpath d='M16 2v4M8 2v4M3 10h18M8 14h.01M12 14h.01M16 14h.01M8 18h.01M12 18h.01'/%3E%3C/svg%3E") no-repeat left -26px bottom 56px / 170px, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237C6CF5' stroke-opacity='.17' stroke-width='.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M12 6v6l4 2'/%3E%3C/svg%3E") no-repeat left 150px bottom -34px / 130px; }
.si-brand::after { animation: none; -webkit-mask-image: none; mask-image: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237C6CF5' stroke-opacity='.17' stroke-width='.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='8' r='3.5'/%3E%3Cpath d='M2.5 20c0-3.6 2.9-6 6.5-6s6.5 2.4 6.5 6'/%3E%3Ccircle cx='17.5' cy='9' r='2.5'/%3E%3Cpath d='M17.5 14c2.8 0 4.5 1.8 4.5 4.5'/%3E%3C/svg%3E") no-repeat right 36px top 40px / 150px, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237C6CF5' stroke-opacity='.17' stroke-width='.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='6' width='20' height='14' rx='3'/%3E%3Cpath d='M2 10h20M16 15h3'/%3E%3C/svg%3E") no-repeat right -30px top 190px / 130px; }

/* One continuous HR watermark across both halves, kept out of the scene and the form */
.si-brand::before, .si-brand::after, .si-card::after { display: none; }
.si-wrap { position: relative; background: radial-gradient(34% 52% at 27% 48%, #FFFFFF, transparent 72%), radial-gradient(38% 42% at 0% 100%, rgba(196, 181, 253, .26), transparent 70%), radial-gradient(38% 42% at 100% 0%, rgba(221, 214, 254, .4), transparent 70%), linear-gradient(180deg, #FBFAFF, #F1EEFC); }
.si-brand, .si-card { position: relative; z-index: 1; background: transparent; }
.si-wrap::before { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1600' height='1200' viewBox='0 0 1600 1200'%3E%3Cg fill='none' stroke='%237C6CF5' stroke-opacity='.085' stroke-width='.85' stroke-linecap='round' stroke-linejoin='round'%3E%3Cg transform='translate%2873 68%29 rotate%287 12 12%29 scale%282.98%29'%3E%3Cpath d='M21.21 15.89A10 10 0 1 1 8 2.83M22 12A10 10 0 0 0 12 2v10z'/%3E%3C/g%3E%3Cg transform='translate%28311 105%29 rotate%28-8 12 12%29 scale%282.70%29'%3E%3Ccircle cx='9' cy='8' r='3.5'/%3E%3Cpath d='M2.5 20c0-3.6 2.9-6 6.5-6s6.5 2.4 6.5 6'/%3E%3Ccircle cx='17.5' cy='9' r='2.5'/%3E%3Cpath d='M17.5 14c2.8 0 4.5 1.8 4.5 4.5'/%3E%3C/g%3E%3Cg transform='translate%28540 63%29 rotate%28-2 12 12%29 scale%283.03%29'%3E%3Crect x='2' y='6' width='20' height='14' rx='3'/%3E%3Cpath d='M2 10h20M16 15h3'/%3E%3C/g%3E%3Cg transform='translate%28760 92%29 rotate%28-7 12 12%29 scale%283.12%29'%3E%3Cpath d='m12 2 3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01L12 2z'/%3E%3C/g%3E%3Cg transform='translate%28977 86%29 rotate%288 12 12%29 scale%282.84%29'%3E%3Crect x='2' y='7' width='20' height='14' rx='2'/%3E%3Cpath d='M16 21V5a2 2 0 0 0-2-2h-4a2 2 0 0 0-2 2v16'/%3E%3C/g%3E%3Cg transform='translate%281233 78%29 rotate%285 12 12%29 scale%283.05%29'%3E%3Crect x='2' y='5' width='20' height='14' rx='2'/%3E%3Ccircle cx='8' cy='11' r='2'/%3E%3Cpath d='M5 16c0-1.7 1.3-3 3-3s3 1.3 3 3M14 9h5M14 13h5'/%3E%3C/g%3E%3Cg transform='translate%281443 95%29 rotate%285 12 12%29 scale%282.76%29'%3E%3Crect x='3' y='4' width='18' height='18' rx='2'/%3E%3Cpath d='M16 2v4M8 2v4M3 10h18'/%3E%3C/g%3E%3Cg transform='translate%2861 314%29 rotate%28-6 12 12%29 scale%282.95%29'%3E%3Cpath d='M17.8 19.2 16 11l3.5-3.5C21 6 21.5 4 21 3c-1-.5-3 0-4.5 1.5L13 8 4.8 6.2c-.5-.1-.9.1-1.1.5l-.3.5c-.2.5-.1 1 .3 1.3L9 12l-2 3H4l-1 1 3 2 2 3 1-1v-3l3-2 3.5 5.3c.3.4.8.5 1.3.3l.5-.2c.4-.3.6-.7.5-1.2z'/%3E%3C/g%3E%3Cg transform='translate%28322 312%29 rotate%288 12 12%29 scale%282.87%29'%3E%3Cpath d='m3 11 18-5v12L3 14v-3z'/%3E%3Cpath d='M11.6 16.8a3 3 0 1 1-5.8-1.6'/%3E%3C/g%3E%3Cg transform='translate%28513 316%29 rotate%28-0 12 12%29 scale%283.23%29'%3E%3Cpath d='M4.5 16.5c-1.5 1.26-2 5-2 5s3.74-.5 5-2c.71-.84.7-2.13-.09-2.91a2.18 2.18 0 0 0-2.91-.09zM12 15l-3-3a22 22 0 0 1 2-3.95A12.88 12.88 0 0 1 22 2c0 2.72-.78 7.5-6 11a22.35 22.35 0 0 1-4 2zM9 12H4s.55-3.03 2-4c1.62-1.08 5 0 5 0M12 15v5s3.03-.55 4-2c1.08-1.62 0-5 0-5'/%3E%3C/g%3E%3Cg transform='translate%28764 345%29 rotate%28-8 12 12%29 scale%282.71%29'%3E%3Cpath d='M14.5 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7.5L14.5 2zM14 2v6h6M16 13H8M16 17H8M10 9H8'/%3E%3C/g%3E%3Cg transform='translate%28975 327%29 rotate%288 12 12%29 scale%283.06%29'%3E%3Cpath d='m22 10-10-5L2 10l10 5 10-5zM6 12v5c3 3 9 3 12 0v-5'/%3E%3C/g%3E%3Cg transform='translate%281202 308%29 rotate%281 12 12%29 scale%282.82%29'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Ccircle cx='12' cy='12' r='6'/%3E%3Ccircle cx='12' cy='12' r='2'/%3E%3C/g%3E%3Cg transform='translate%281435 327%29 rotate%288 12 12%29 scale%282.71%29'%3E%3Crect x='2' y='4' width='20' height='16' rx='2'/%3E%3Cpath d='m22 7-10 6L2 7'/%3E%3C/g%3E%3Cg transform='translate%2874 571%29 rotate%28-8 12 12%29 scale%282.95%29'%3E%3Ccircle cx='12' cy='8' r='6'/%3E%3Cpath d='M15.477 12.89 17 22l-5-3-5 3 1.523-9.11'/%3E%3C/g%3E%3Cg transform='translate%28292 568%29 rotate%289 12 12%29 scale%283.05%29'%3E%3Cpath d='M6 8a6 6 0 0 1 12 0c0 7 3 9 3 9H3s3-2 3-9M10.3 21a1.94 1.94 0 0 0 3.4 0'/%3E%3C/g%3E%3Cg transform='translate%28541 572%29 rotate%28-7 12 12%29 scale%282.73%29'%3E%3Cpath d='M19 14c1.49-1.46 3-3.21 3-5.5A5.5 5.5 0 0 0 16.5 3c-1.76 0-3 .5-4.5 2-1.5-1.5-2.74-2-4.5-2A5.5 5.5 0 0 0 2 8.5c0 2.3 1.5 4.05 3 5.5l7 7z'/%3E%3C/g%3E%3Cg transform='translate%28787 588%29 rotate%28-8 12 12%29 scale%282.86%29'%3E%3Crect x='9' y='2' width='6' height='5' rx='1'/%3E%3Crect x='2' y='17' width='6' height='5' rx='1'/%3E%3Crect x='16' y='17' width='6' height='5' rx='1'/%3E%3Cpath d='M12 7v5M5 17v-5h14v5'/%3E%3C/g%3E%3Cg transform='translate%281011 551%29 rotate%282 12 12%29 scale%283.12%29'%3E%3Cpath d='M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z'/%3E%3C/g%3E%3Cg transform='translate%281219 575%29 rotate%282 12 12%29 scale%282.73%29'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cpath d='m21 21-4.3-4.3'/%3E%3C/g%3E%3Cg transform='translate%281430 555%29 rotate%287 12 12%29 scale%283.16%29'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M12 6v6l4 2'/%3E%3C/g%3E%3Cg transform='translate%2876 799%29 rotate%2810 12 12%29 scale%283.05%29'%3E%3Ccircle cx='9' cy='7' r='4'/%3E%3Cpath d='M3 21v-2a4 4 0 0 1 4-4h4a4 4 0 0 1 4 4v2M19 8v6M22 11h-6'/%3E%3C/g%3E%3Cg transform='translate%28285 817%29 rotate%28-3 12 12%29 scale%283.04%29'%3E%3Cpath d='M3 14v-2a9 9 0 0 1 18 0v2M21 19a2 2 0 0 1-2 2h-1a2 2 0 0 1-2-2v-3a2 2 0 0 1 2-2h3zM3 19a2 2 0 0 0 2 2h1a2 2 0 0 0 2-2v-3a2 2 0 0 0-2-2H3z'/%3E%3C/g%3E%3Cg transform='translate%28523 802%29 rotate%28-4 12 12%29 scale%282.96%29'%3E%3Cpath d='M3 3v18h18M7 16v-5M12 16V7M17 16v-3'/%3E%3C/g%3E%3Cg transform='translate%28773 789%29 rotate%286 12 12%29 scale%282.75%29'%3E%3Cpath d='M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z'/%3E%3Cpath d='m9 12 2 2 4-4'/%3E%3C/g%3E%3Cg transform='translate%281008 821%29 rotate%28-0 12 12%29 scale%282.72%29'%3E%3Crect x='8' y='2' width='8' height='4' rx='1'/%3E%3Cpath d='M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2m1 10 2 2 4-4'/%3E%3C/g%3E%3Cg transform='translate%281209 813%29 rotate%28-1 12 12%29 scale%283.13%29'%3E%3Cpath d='M6 9H4.5a2.5 2.5 0 0 1 0-5H6M18 9h1.5a2.5 2.5 0 0 0 0-5H18M4 22h16M10 14.66V17c0 .55-.47.98-1.97 1.21C7.85 18.75 7 20.24 7 22M14 14.66V17c0 .55.47.98 1.97 1.21C16.15 18.75 17 20.24 17 22M18 2H6v7a6 6 0 0 0 12 0V2Z'/%3E%3C/g%3E%3Cg transform='translate%281472 802%29 rotate%28-3 12 12%29 scale%282.84%29'%3E%3Cpath d='M20 10c0 6-8 12-8 12s-8-6-8-12a8 8 0 0 1 16 0z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/g%3E%3Cg transform='translate%2870 1049%29 rotate%28-7 12 12%29 scale%283.22%29'%3E%3Cpath d='M15 14c.2-1 .7-1.7 1.5-2.5 1-.9 1.5-2.2 1.5-3.5A6 6 0 0 0 6 8c0 1 .2 2.2 1.5 3.5.7.7 1.3 1.5 1.5 2.5M9 18h6M10 22h4'/%3E%3C/g%3E%3Cg transform='translate%28294 1022%29 rotate%2810 12 12%29 scale%283.21%29'%3E%3Ccircle cx='7.5' cy='15.5' r='5.5'/%3E%3Cpath d='m21 2-9.6 9.6M15.5 7.5l3 3L22 7l-3-3'/%3E%3C/g%3E%3Cg transform='translate%28557 1068%29 rotate%282 12 12%29 scale%282.80%29'%3E%3Cpath d='m22 7-8.5 8.5-5-5L2 17M16 7h6v6'/%3E%3C/g%3E%3Cg transform='translate%28748 1035%29 rotate%28-2 12 12%29 scale%282.71%29'%3E%3Ccircle cx='8' cy='8' r='6'/%3E%3Cpath d='M18.09 10.37A6 6 0 1 1 10.34 18M7 6h1v4M16.71 13.88l.7.71-2.82 2.82'/%3E%3C/g%3E%3Cg transform='translate%281012 1037%29 rotate%28-7 12 12%29 scale%283.07%29'%3E%3Crect x='3' y='4' width='18' height='12' rx='2'/%3E%3Cpath d='M2 20h20'/%3E%3C/g%3E%3Cg transform='translate%281205 1025%29 rotate%281 12 12%29 scale%283.04%29'%3E%3Cpath d='m22 10-10-5L2 10l10 5 10-5zM6 12v5c3 3 9 3 12 0v-5'/%3E%3C/g%3E%3Cg transform='translate%281429 1040%29 rotate%284 12 12%29 scale%283.12%29'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cpath d='m21 21-4.3-4.3'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") 0 0 / 1600px 1200px; -webkit-mask-image: radial-gradient(ellipse 21% 38% at 27% 48%, transparent 45%, #000 100%), radial-gradient(ellipse 16% 36% at 73% 50%, transparent 45%, #000 100%); -webkit-mask-composite: source-in; mask-image: radial-gradient(ellipse 21% 38% at 27% 48%, transparent 45%, #000 100%), radial-gradient(ellipse 16% 36% at 73% 50%, transparent 45%, #000 100%); mask-composite: intersect; }
/* Forgot-password block: same fields and same button as the form above, no panel */
#page[data-module="signin"] form[data-pw="forgot"] { margin-top: 30px; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
#page[data-module="signin"] form[data-pw="forgot"] p { margin: 8px 0 0; font-size: 12.5px; line-height: 1.5; color: #6B6A94; }
#page[data-module="signin"] form[data-pw="forgot"] button[type="submit"] { display: flex; align-items: center; justify-content: space-between; width: 100%; height: 52px; margin-top: 18px; padding: 0 9px 0 26px; border: 0; border-radius: 999px; background: linear-gradient(135deg, #5B4BEA, #7A68F5); box-shadow: 0 10px 22px -10px rgba(91, 75, 234, .7); color: #fff; font-size: 15.5px; font-weight: 600; transition: transform .2s, box-shadow .2s; }
#page[data-module="signin"] form[data-pw="forgot"] button[type="submit"]::after { content: "\2192"; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: rgba(255, 255, 255, .22); font-size: 17px; transition: transform .25s, background .25s; }
#page[data-module="signin"] form[data-pw="forgot"] button[type="submit"]:hover:not(:disabled) { transform: translateY(-1px); box-shadow: 0 14px 26px -10px rgba(91, 75, 234, .75); }
#page[data-module="signin"] form[data-pw="forgot"] button[type="submit"]:hover:not(:disabled)::after { transform: translateX(3px); background: rgba(255, 255, 255, .32); }
#page[data-module="signin"] form[data-pw="forgot"] button[type="submit"]:disabled { opacity: .55; }

/* Sign-in on a phone (ticket 1083). The full-height layout above sets two columns again after the first phone rule, so
   with the brand panel hidden the card was squeezed into the left column, too narrow to type in. One column here, and
   it must stay the last sign-in rule in this file. */
@media (max-width: 860px) {
  .si-wrap { grid-template-columns: minmax(0, 1fr); }
  .si-card { padding: 16px; align-items: flex-start; }
  .si-card-in { max-width: 440px; margin: 0 auto; padding: 24px 20px; }
  .si-head { font-size: 26px; }
  #page[data-module="signin"] .si-card-in :is(input, select) { width: 100%; min-width: 0; font-size: 16px; }
  #page[data-module="signin"] .si-card-in form button[type="submit"]:not(.border) { width: 100%; }
}

/* The sign-in Tabby tile is a fallback only; it stays hidden while the 3D scene loads. */
#page[data-module="signin"] .sx3d .si-tabby { opacity: 0; transition: opacity .4s ease; }
