/* Widgets on liquid glass.
   1. The two clock widgets (Usr_Dashboard_EmployeeClock, Usr_Dashboard_ClientClock) and the popup of the client clock: classes ckw-*, ckc-*, ckd-*.
   2. A glass skin for every other dashboard item shown as a desktop widget (.wgdash-body): the items are written with the light colours of the dashboard page, so here their colours
      are replaced by the shell's own ink and glass tokens (see exa-desktop.css), in light and in dark. The dashboard PAGE is untouched: every rule below sits under .exa-desktop
      .wgdash-body (or in the clock classes, which only the widgets use). Loaded after exa-desktop.css and exa-dashboard.css. */

/* ───────────── 1. the clock widgets ───────────── */

/* these two are as tall as what they show (the cap is the item's WidgetHeight): the shift clock lets its glow leave the panel, the client clock scrolls its list beyond the cap */
.exa-desktop .wgdash[data-item="Employee_ClockInOut"] .wgdash-body { overflow: visible; }
.exa-desktop .wgdash[data-item="ClientHours_ClockInOut"] .wgdash-body { overflow-x: hidden; overflow-y: auto; margin: 0 -6px; padding: 4px 6px 6px; }

.ckw {
    --ckw-a: #2FB32E; --ckw-b: #86E585; --ckw-glow: rgba(47, 179, 46, .42); --ckw-tone: var(--good);
    box-sizing: border-box; display: flex; flex-direction: column; gap: 12px;
    font-family: var(--fb); color: var(--text);
    animation: ckw-enter .5s cubic-bezier(.22, 1, .36, 1) both;
}
.ckw--break { --ckw-a: #F59E0B; --ckw-b: #FCD34D; --ckw-glow: rgba(245, 158, 11, .46); --ckw-tone: var(--amber); }
.ckw--out { --ckw-a: #94A3B8; --ckw-b: #CBD5E1; --ckw-glow: rgba(148, 163, 184, 0); --ckw-tone: var(--text2); }
.ckw--done { --ckw-a: #2563EB; --ckw-b: #7CB4FF; --ckw-glow: rgba(37, 99, 235, 0); --ckw-tone: var(--blue); }

.ckw--note { flex-direction: row; align-items: center; gap: 10px; font-size: 13px; color: var(--text2); }
.ckw--note > i { font-size: 16px; color: var(--text3); }
.ckw--note .ckw-btn { margin-left: auto; flex: 0 0 auto; }
.ckw-spin { width: 16px; height: 16px; flex: 0 0 auto; border-radius: 50%; border: 2px solid var(--stroke); border-top-color: var(--bright); animation: ckw-spin 0.8s linear infinite; }

/* the ring: it fills as the shift goes on (exa-desktop.js moves --p every second) */
.ckw-top { display: flex; align-items: center; gap: 16px; }
.ckw-orb { --p: 0; position: relative; flex: 0 0 auto; width: 112px; height: 112px; display: grid; place-items: center; }
.ckw-ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); overflow: visible; }
.ckw-track { fill: none; stroke: var(--stroke); stroke-width: 7; }
.ckw-arc {
    fill: none; stroke-width: 7; stroke-linecap: round; stroke-dasharray: 326.73;
    stroke-dashoffset: calc(326.73px * (1 - var(--p, 0))); opacity: min(1, calc(var(--p, 0) * 80));
    transition: stroke-dashoffset 1s cubic-bezier(.22, 1, .36, 1), opacity .4s;
    filter: drop-shadow(0 0 6px var(--ckw-glow));
}
.ckw-spark { fill: none; stroke: rgba(255, 255, 255, .95); stroke-width: 7; stroke-linecap: round; stroke-dasharray: 1 325.7; transform-origin: 60px 60px; opacity: 0; filter: drop-shadow(0 0 5px #fff); }
.ckw--in .ckw-spark { opacity: .9; animation: ckw-spin 3.6s linear infinite; }
.ckw-glow { position: absolute; inset: -16px; border-radius: 50%; pointer-events: none; opacity: 0; background: radial-gradient(closest-side, var(--ckw-glow), transparent 72%); }
.ckw--in .ckw-glow, .ckw--break .ckw-glow { opacity: 1; animation: ckw-breathe 3.4s ease-in-out infinite; }
.ckw--break .ckw-arc { animation: ckw-dim 2.6s ease-in-out infinite; }

.ckw-ico {
    position: relative; width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; font-size: 29px; color: var(--ckw-tone);
    background: var(--gtile); backdrop-filter: blur(10px) saturate(1.5); -webkit-backdrop-filter: blur(10px) saturate(1.5);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .75), inset 0 -10px 18px rgba(0, 0, 0, .05), 0 8px 18px rgba(20, 70, 30, .14);
}
.ckw-ico i { display: block; line-height: 1; }
.ckw--in .ckw-ico i { animation: ckw-wiggle 6s ease-in-out infinite; }
.ckw--break .ckw-ico i { animation: ckw-steam 2.8s ease-in-out infinite; }
.ckw--out .ckw-ico i { animation: ckw-bob 3s ease-in-out infinite; }
.ckw--done .ckw-ico { animation: ckw-pop .6s cubic-bezier(.22, 1, .36, 1) both; }

.ckw-info { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.ckw-chip {
    display: inline-flex; align-items: center; gap: 7px; padding: 3px 11px 3px 9px; border-radius: 999px;
    font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--ckw-tone);
    background: color-mix(in srgb, var(--ckw-tone) 14%, transparent); border: 1px solid color-mix(in srgb, var(--ckw-tone) 26%, transparent);
}
.ckw-dot { display: inline-block; width: 8px; height: 8px; flex: 0 0 auto; border-radius: 50%; background: currentColor; }
.ckw--in .ckw-dot, .ckw--break .ckw-dot, .ckc-state--on .ckw-dot { animation: ckw-ping 1.8s ease-out infinite; }
.ckw-time { font-family: var(--fh); font-weight: 800; font-size: 33px; line-height: 1.05; letter-spacing: -.01em; font-variant-numeric: tabular-nums; color: var(--text); }
.ckw-time:empty::before { content: "0:00:00"; opacity: .3; }
.ckw-time--word { font-size: 20px; line-height: 1.2; letter-spacing: 0; }
.ckw-info small { font-size: 12px; color: var(--text2); line-height: 1.35; }

.ckw-ibtn {
    flex: 0 0 auto; align-self: flex-start; width: 30px; height: 30px; display: grid; place-items: center; border: 0; border-radius: 50%;
    font-size: 14px; color: var(--text2); background: transparent; cursor: pointer; transition: background .15s, color .15s, transform .15s;
}
.ckw-ibtn:hover:not(:disabled) { background: var(--hover); color: var(--text); }
.ckw-ibtn:active:not(:disabled) { transform: scale(.9); }
.ckw-ibtn:disabled { opacity: .5; cursor: default; }
.ckw-ibtn.is-busy i { animation: ckw-spin 0.9s linear infinite; }

/* buttons: glass pills with a soft light edge */
.ckw-actions { display: flex; flex-wrap: wrap; gap: 10px; animation: ckw-rise .45s cubic-bezier(.22, 1, .36, 1) both; }
.ckw-btn {
    position: relative; overflow: hidden; isolation: isolate; flex: 1 1 0; min-width: 0; height: 42px; padding: 0 18px;
    display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid transparent; border-radius: 999px;
    font: 700 13.5px var(--fb); color: #fff; white-space: nowrap; cursor: pointer;
    transition: transform .16s cubic-bezier(.22, 1, .36, 1), box-shadow .2s, filter .2s, background .2s;
}
.ckw-btn::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none; background: linear-gradient(180deg, rgba(255, 255, 255, .36), rgba(255, 255, 255, 0) 56%); }
.ckw-btn i { font-size: 1.05em; line-height: 1; }
.ckw-btn--go { background: var(--btn); box-shadow: 0 8px 18px rgba(23, 105, 22, .30), inset 0 0 0 1px rgba(255, 255, 255, .20); }
.ckw-btn--warn { background: linear-gradient(180deg, #F5A524, #D97706); box-shadow: 0 8px 18px rgba(217, 119, 6, .30), inset 0 0 0 1px rgba(255, 255, 255, .22); }
.ckw-btn--danger { background: linear-gradient(180deg, #EF5B4D, #D92D20); box-shadow: 0 8px 18px rgba(217, 45, 32, .28), inset 0 0 0 1px rgba(255, 255, 255, .20); }
.ckw-btn--ghost { color: var(--text); background: var(--gtile); border-color: var(--stroke); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .55); }
.ckw-btn--ghost::before { opacity: .5; }
.ckw-btn:hover:not(:disabled) { transform: translateY(-1px); filter: brightness(1.07); }
.ckw-btn--ghost:hover:not(:disabled) { filter: none; background: var(--hover); }
.ckw-btn:active:not(:disabled) { transform: translateY(0) scale(.97); }
.ckw-btn:disabled { opacity: .55; cursor: default; }
.ckw-btn--sm { flex: 0 0 auto; height: 32px; padding: 0 14px; font-size: 12px; }
.ckw-btn:focus-visible, .ckw-ibtn:focus-visible, .ckd-item:focus-visible, .ckd-seg button:focus-visible { outline: 2px solid var(--bright); outline-offset: 2px; }
.ckw-cta::after { content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; pointer-events: none; transform: skewX(-18deg); background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .5), transparent); animation: ckw-shine 5s ease-in-out infinite; }

.ckw-msg { display: flex; align-items: center; gap: 8px; padding: 9px 13px; border-radius: 16px; font-size: 12.5px; line-height: 1.35; animation: ckw-pop .4s cubic-bezier(.22, 1, .36, 1) both; }
.ckw-msg i { flex: 0 0 auto; font-size: 14px; }
.ckw-msg--good { color: var(--good); background: var(--good-soft); }
.ckw-msg--bad { color: var(--warn); background: var(--warn-soft); }

.ckw-at { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 20px; background: var(--gtile); border: 1px solid var(--stroke); animation: ckw-pop .35s cubic-bezier(.22, 1, .36, 1) both; }
.ckw-at label { font-size: 12px; font-weight: 600; color: var(--text2); }
.ckw-input { height: 34px; padding: 0 11px; border-radius: 12px; border: 1px solid var(--stroke); background: var(--gtile); color: var(--text); font: 600 13px var(--fb); color-scheme: light; }
[data-theme=dark] .ckw-input { color-scheme: dark; }
.ckw-input:focus { outline: 2px solid var(--bright); outline-offset: 0; }

/* the client hours clock */
.ckc-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.ckc-state { display: inline-flex; align-items: center; gap: 8px; font-size: 11.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--text2); }
.ckc-state--on { color: var(--good); }
.ckc-sessions { display: flex; flex-direction: column; gap: 8px; }
.ckc-sess {
    position: relative; overflow: hidden; display: flex; align-items: center; gap: 11px; padding: 10px 12px 10px 14px; border-radius: 22px;
    background: var(--gtile); border: 1px solid var(--stroke); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .55);
    animation: ckw-pop .45s cubic-bezier(.22, 1, .36, 1) both;
}
.ckc-sess::before { content: ""; position: absolute; left: 0; top: 12px; bottom: 12px; width: 4px; border-radius: 0 4px 4px 0; background: linear-gradient(180deg, var(--ckw-a), var(--ckw-b)); }
.ckc-pic {
    position: relative; flex: 0 0 auto; width: 38px; height: 38px; display: grid; place-items: center; overflow: hidden; border-radius: 50%;
    font-size: 14px; font-weight: 800; color: var(--text2); background: var(--gtile); box-shadow: inset 0 0 0 1px var(--stroke);
}
.ckc-pic img { width: 100%; height: 100%; object-fit: cover; }
.ckc-pic--live { animation: ckc-live 2.4s ease-out infinite; }
.ckc-main { flex: 1 1 auto; min-width: 0; }
.ckc-main b { display: block; font-size: 13.5px; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ckc-main small { display: block; font-size: 11.5px; color: var(--text2); }
.ckc-tag { margin-left: 6px; padding: 0 7px; border-radius: 999px; font-size: 10px; font-style: normal; font-weight: 800; color: var(--amber); background: var(--amber-soft); }
.ckc-timer { flex: 0 0 auto; font-family: var(--fh); font-size: 17px; font-weight: 800; font-variant-numeric: tabular-nums; color: var(--good); }
.ckc-timer:empty::before { content: "0:00:00"; opacity: .3; }
.ckc-cta { flex: none; width: 100%; height: 46px; font-size: 14.5px; }
.ckc-count { min-width: 22px; height: 22px; padding: 0 6px; display: inline-grid; place-items: center; border-radius: 999px; font-size: 11.5px; font-weight: 800; background: rgba(255, 255, 255, .26); }
.ckc-hint { display: flex; align-items: flex-start; gap: 9px; padding: 11px 13px; border-radius: 18px; font-size: 12.5px; line-height: 1.4; color: var(--text2); background: var(--gtile); border: 1px solid var(--stroke); animation: ckw-pop .4s cubic-bezier(.22, 1, .36, 1) both; }
.ckc-hint > i { margin-top: 1px; color: var(--text3); }
.ckc-lock { display: flex; align-items: center; gap: 13px; padding: 14px; border-radius: 22px; color: var(--amber); background: var(--amber-soft); border: 1px solid color-mix(in srgb, var(--amber) 30%, transparent); animation: ckw-pop .45s cubic-bezier(.22, 1, .36, 1) both; }
.ckc-lock b { display: block; font-size: 14px; font-weight: 800; }
.ckc-lock small { display: block; margin-top: 2px; font-size: 12px; line-height: 1.4; color: var(--text2); }
.ckc-lock-ico { flex: 0 0 auto; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 15px; font-size: 19px; background: rgba(255, 255, 255, .42); animation: ckc-nudge 3.2s ease-in-out infinite; }

/* the popup of the client clock */
.e-dialog.ckw-dialog { background: var(--startbg) !important; backdrop-filter: blur(34px) saturate(1.7); -webkit-backdrop-filter: blur(34px) saturate(1.7); border: 1px solid var(--stroke) !important; border-radius: 28px !important; box-shadow: var(--shadow) !important; color: var(--text); overflow: hidden; max-width: 94vw; }
.e-dialog.ckw-dialog .e-dlg-header-content { background: transparent; border: 0; padding: 18px 20px 2px; }
.e-dialog.ckw-dialog .e-dlg-header { display: flex; align-items: center; gap: 10px; font-family: var(--fh); font-size: 17px; font-weight: 800; color: var(--text); }
.e-dialog.ckw-dialog .e-dlg-content { background: transparent; color: var(--text); padding: 6px 20px 20px; font-family: var(--fb); }
.e-dialog.ckw-dialog .e-dlg-closeicon-btn { border-radius: 50%; color: var(--text2); background: transparent; border-color: transparent; }
.e-dialog.ckw-dialog .e-dlg-closeicon-btn:hover { background: var(--hover); color: var(--text); }
.e-dialog.ckw-dialog .e-dlg-closeicon-btn .e-icons { color: inherit; }
.ckd-hico { width: 32px; height: 32px; display: inline-grid; place-items: center; border-radius: 11px; font-size: 15px; color: #fff; background: var(--btn); box-shadow: 0 6px 14px rgba(23, 105, 22, .28), inset 0 0 0 1px rgba(255, 255, 255, .22); }
.ckd-lead { margin: 0 0 12px; font-size: 12.5px; line-height: 1.45; color: var(--text2); }
.ckd-search { display: flex; align-items: center; gap: 8px; height: 38px; margin: 0 0 10px; padding: 0 13px; border-radius: 14px; background: var(--gtile); border: 1px solid var(--stroke); color: var(--text3); }
.ckd-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--text); font: 500 13px var(--fb); }
.ckd-list { display: flex; flex-direction: column; gap: 6px; max-height: 300px; overflow-y: auto; padding: 2px; scrollbar-width: thin; scrollbar-color: var(--stroke) transparent; }
.ckd-item {
    display: flex; align-items: center; gap: 12px; width: 100%; padding: 9px 12px; text-align: left; border-radius: 20px; cursor: pointer;
    color: var(--text); background: var(--gtile); border: 1px solid var(--stroke); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5);
    transition: transform .18s cubic-bezier(.22, 1, .36, 1), background .18s, border-color .18s; animation: ckw-rise .4s cubic-bezier(.22, 1, .36, 1) both;
}
.ckd-item:nth-child(2) { animation-delay: .04s; } .ckd-item:nth-child(3) { animation-delay: .08s; } .ckd-item:nth-child(4) { animation-delay: .12s; }
.ckd-item:nth-child(5) { animation-delay: .16s; } .ckd-item:nth-child(n+6) { animation-delay: .2s; }
.ckd-item:hover:not(:disabled) { transform: translateX(3px); background: var(--sel); border-color: var(--selline); }
.ckd-item:active:not(:disabled) { transform: scale(.98); }
.ckd-item:disabled { opacity: .55; cursor: default; }
.ckd-name { flex: 1; min-width: 0; font-size: 13.5px; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ckd-go { display: inline-flex; align-items: center; gap: 3px; padding: 5px 12px 5px 8px; border-radius: 999px; font-size: 12px; font-weight: 800; color: var(--good); background: var(--good-soft); transition: transform .18s; }
.ckd-item:hover:not(:disabled) .ckd-go { transform: scale(1.06); }
.ckd-empty { padding: 18px 10px; text-align: center; font-size: 12.5px; color: var(--text3); }
.ckd-when { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 14px; }
.ckd-seg { display: inline-flex; padding: 3px; border-radius: 999px; background: var(--gtile); border: 1px solid var(--stroke); }
.ckd-seg button { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 14px; border: 0; border-radius: 999px; font: 700 12.5px var(--fb); color: var(--text2); background: transparent; cursor: pointer; transition: background .2s, color .2s, box-shadow .2s; }
.ckd-seg button.is-on { color: #fff; background: var(--btn); box-shadow: 0 4px 10px rgba(23, 105, 22, .28), inset 0 0 0 1px rgba(255, 255, 255, .2); }
.ckd .ckw-msg { margin-bottom: 10px; }

@keyframes ckw-enter { from { opacity: 0; transform: translateY(8px) scale(.985); } to { opacity: 1; transform: none; } }
@keyframes ckw-rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes ckw-pop { from { opacity: 0; transform: translateY(-6px) scale(.95); } to { opacity: 1; transform: none; } }
@keyframes ckw-breathe { 0%, 100% { transform: scale(.92); opacity: .65; } 50% { transform: scale(1.1); opacity: 1; } }
@keyframes ckw-dim { 0%, 100% { opacity: 1; } 50% { opacity: .55; } }
@keyframes ckw-spin { to { transform: rotate(360deg); } }
@keyframes ckw-ping { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, currentColor 55%, transparent); } 75%, 100% { box-shadow: 0 0 0 8px transparent; } }
@keyframes ckw-shine { 0%, 62% { left: -60%; } 100% { left: 130%; } }
@keyframes ckw-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-3px); } }
@keyframes ckw-wiggle { 0%, 86%, 100% { transform: rotate(0); } 90% { transform: rotate(-10deg); } 94% { transform: rotate(9deg); } 97% { transform: rotate(-5deg); } }
@keyframes ckw-steam { 0%, 100% { transform: translateY(0) scale(1); } 50% { transform: translateY(-2px) scale(1.07); } }
@keyframes ckc-live { 0% { box-shadow: inset 0 0 0 1px var(--stroke), 0 0 0 0 rgba(47, 179, 46, .5); } 80%, 100% { box-shadow: inset 0 0 0 1px var(--stroke), 0 0 0 9px rgba(47, 179, 46, 0); } }
@keyframes ckc-nudge { 0%, 78%, 100% { transform: rotate(0); } 82% { transform: rotate(-10deg); } 88% { transform: rotate(8deg); } 94% { transform: rotate(-4deg); } }

@media (prefers-reduced-motion: reduce) {
    .ckw, .ckw *, .ckc-sess, .ckc-hint, .ckc-lock, .ckd-item, .ckw-msg, .ckw-at, .ckw-actions { animation: none !important; transition: none !important; }
}

/* ───────────── 2. glass skin for the other dashboard items shown as widgets ───────────── */

/* a widget is only as tall as its content (the height the item is given is a cap, see Desk_Widgets); the small minimum keeps a still-loading widget from collapsing to nothing */
.exa-desktop .wgdash-body { min-height: 44px; background: transparent; color: var(--text); padding: 0; border-radius: 18px; scrollbar-width: thin; scrollbar-color: var(--stroke) transparent; }
.exa-desktop .wgdash-body::-webkit-scrollbar { width: 8px; height: 8px; }
.exa-desktop .wgdash-body::-webkit-scrollbar-thumb { background: var(--stroke); border-radius: 8px; }

/* words */
:is(.exa-desktop .wgdash-body, .dash-glass .dw-card-body) .dn-wrap, :is(.exa-desktop .wgdash-body, .dash-glass .dw-card-body) .dn-clock, :is(.exa-desktop .wgdash-body, .dash-glass .dw-card-body) .dn-note, :is(.exa-desktop .wgdash-body, .dash-glass .dw-card-body) .cin, :is(.exa-desktop .wgdash-body, .dash-glass .dw-card-body) .da-wrap,
:is(.exa-desktop .wgdash-body, .dash-glass .dw-card-body) .dw-toolbar-title, :is(.exa-desktop .wgdash-body, .dash-glass .dw-card-body) .dn-line-title, :is(.exa-desktop .wgdash-body, .dash-glass .dw-card-body) .da-title, :is(.exa-desktop .wgdash-body, .dash-glass .dw-card-body) .dw-card-title,
:is(.exa-desktop .wgdash-body, .dash-glass .dw-card-body) .text-dark, :is(.exa-desktop .wgdash-body, .dash-glass .dw-card-body) .text-gray-800, :is(.exa-desktop .wgdash-body, .dash-glass .dw-card-body) .dw-table tbody td { color: var(--text) !important; }
:is(.exa-desktop .wgdash-body, .dash-glass .dw-card-body) .dn-clock-ampm, :is(.exa-desktop .wgdash-body, .dash-glass .dw-card-body) .dn-clock-date, :is(.exa-desktop .wgdash-body, .dash-glass .dw-card-body) .dw-pager, :is(.exa-desktop .wgdash-body, .dash-glass .dw-card-body) .ck-main small,
:is(.exa-desktop .wgdash-body, .dash-glass .dw-card-body) .ck-head, :is(.exa-desktop .wgdash-body, .dash-glass .dw-card-body) .ck-status small { color: var(--text2); }
:is(.exa-desktop .wgdash-body, .dash-glass .dw-card-body) .dn-hint, :is(.exa-desktop .wgdash-body, .dash-glass .dw-card-body) .dn-line-sub, :is(.exa-desktop .wgdash-body, .dash-glass .dw-card-body) .dn-clock-label, :is(.exa-desktop .wgdash-body, .dash-glass .dw-card-body) .dw-empty, :is(.exa-desktop .wgdash-body, .dash-glass .dw-card-body) .cin-empty,
:is(.exa-desktop .wgdash-body, .dash-glass .dw-card-body) .cin-foot, :is(.exa-desktop .wgdash-body, .dash-glass .dw-card-body) .da-hint, :is(.exa-desktop .wgdash-body, .dash-glass .dw-card-body) .da-section, :is(.exa-desktop .wgdash-body, .dash-glass .dw-card-body) .text-muted { color: var(--text3) !important; }
:is(.exa-desktop .wgdash-body, .dash-glass .dw-card-body) .dn-more, :is(.exa-desktop .wgdash-body, .dash-glass .dw-card-body) .dn-more:hover, :is(.exa-desktop .wgdash-body, .dash-glass .dw-card-body) .da-more, :is(.exa-desktop .wgdash-body, .dash-glass .dw-card-body) .da-ok { color: var(--green); }
:is(.exa-desktop .wgdash-body, .dash-glass .dw-card-body) .dn-clock-time { font-family: var(--fh); font-weight: 800; }
:is(.exa-desktop .wgdash-body, .dash-glass .dw-card-body) .dn-note { font-family: var(--fb); }

/* tone chips and tiles (Agents / Uptime status, Alerts) */
:is(.exa-desktop .wgdash-body, .dash-glass .dw-card-body) .dn-tile, :is(.exa-desktop .wgdash-body, .dash-glass .dw-card-body) .da-tile, :is(.exa-desktop .wgdash-body, .dash-glass .dw-card-body) .da-head { border-radius: 18px; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
:is(.exa-desktop .wgdash-body, .dash-glass .dw-card-body) .dn-tone-good { color: var(--good); background: var(--good-soft); border-color: color-mix(in srgb, var(--good) 28%, transparent); }
:is(.exa-desktop .wgdash-body, .dash-glass .dw-card-body) .dn-tone-bad { color: var(--warn); background: var(--warn-soft); border-color: color-mix(in srgb, var(--warn) 28%, transparent); }
:is(.exa-desktop .wgdash-body, .dash-glass .dw-card-body) .dn-tone-warn { color: var(--amber); background: var(--amber-soft); border-color: color-mix(in srgb, var(--amber) 28%, transparent); }
:is(.exa-desktop .wgdash-body, .dash-glass .dw-card-body) .dn-tone-dim { color: var(--text2); background: var(--gtile); border-color: var(--stroke); }

/* the status boxes that open the list they count (Uptime status): they lift on hover and keep their tone colour in light and dark */
:is(.exa-desktop .wgdash-body, .dash-glass .dw-card-body) a.dn-tile--link { transition: transform .16s cubic-bezier(.22, 1, .36, 1), box-shadow .2s, background .2s; }
:is(.exa-desktop .wgdash-body, .dash-glass .dw-card-body) a.dn-tile--link:hover { filter: none; transform: translateY(-2px); box-shadow: 0 10px 20px rgba(20, 70, 30, .16), inset 0 1px 0 rgba(255, 255, 255, .5); }
:is(.exa-desktop .wgdash-body, .dash-glass .dw-card-body) a.dn-tile--link:active { transform: scale(.97); }
:is(.exa-desktop .wgdash-body, .dash-glass .dw-card-body) a.dn-tile--link:focus-visible { outline: 2px solid var(--bright); outline-offset: 2px; }
:is(.exa-desktop .wgdash-body, .dash-glass .dw-card-body) a.dn-tile--link.dn-tone-good, :is(.exa-desktop .wgdash-body, .dash-glass .dw-card-body) a.dn-tile--link.dn-tone-good:hover { color: var(--good); }
:is(.exa-desktop .wgdash-body, .dash-glass .dw-card-body) a.dn-tile--link.dn-tone-bad, :is(.exa-desktop .wgdash-body, .dash-glass .dw-card-body) a.dn-tile--link.dn-tone-bad:hover { color: var(--warn); }
:is(.exa-desktop .wgdash-body, .dash-glass .dw-card-body) a.dn-tile--link.dn-tone-warn, :is(.exa-desktop .wgdash-body, .dash-glass .dw-card-body) a.dn-tile--link.dn-tone-warn:hover { color: var(--amber); }
:is(.exa-desktop .wgdash-body, .dash-glass .dw-card-body) a.dn-tile--link.dn-tone-dim, :is(.exa-desktop .wgdash-body, .dash-glass .dw-card-body) a.dn-tile--link.dn-tone-dim:hover { color: var(--text2); }

/* lines, links, tables */
:is(.exa-desktop .wgdash-body, .dash-glass .dw-card-body) .dn-line, :is(.exa-desktop .wgdash-body, .dash-glass .dw-card-body) .da-line, :is(.exa-desktop .wgdash-body, .dash-glass .dw-card-body) .dw-pager, :is(.exa-desktop .wgdash-body, .dash-glass .dw-card-body) .cin-ghead { border-color: var(--stroke); }
:is(.exa-desktop .wgdash-body, .dash-glass .dw-card-body) .dn-line:hover, :is(.exa-desktop .wgdash-body, .dash-glass .dw-card-body) .da-line:hover { background: var(--hover); border-radius: 12px; }
:is(.exa-desktop .wgdash-body, .dash-glass .dw-card-body) .dn-link { color: var(--text); background: var(--gtile); border-color: var(--stroke); border-radius: 16px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5); transition: transform .15s, background .15s; }
:is(.exa-desktop .wgdash-body, .dash-glass .dw-card-body) .dn-link:hover { color: var(--text); background: var(--sel); border-color: var(--selline); transform: translateY(-1px); }
:is(.exa-desktop .wgdash-body, .dash-glass .dw-card-body) .dw-table thead th { background: transparent; color: var(--text3); border-color: var(--stroke); }
:is(.exa-desktop .wgdash-body, .dash-glass .dw-card-body) .dw-table tbody td { border-color: var(--stroke); }
:is(.exa-desktop .wgdash-body, .dash-glass .dw-card-body) .dw-table tbody tr:hover td { background: var(--hover); }
:is(.exa-desktop .wgdash-body, .dash-glass .dw-card-body) .dw-row-view-btn { color: var(--text2); background: var(--gtile); border-color: var(--stroke); border-radius: 999px; }
:is(.exa-desktop .wgdash-body, .dash-glass .dw-card-body) .dw-row-view-btn:hover { color: var(--text); background: var(--sel); border-color: var(--selline); }
:is(.exa-desktop .wgdash-body, .dash-glass .dw-card-body) .table { --bs-table-bg: transparent; --bs-table-color: var(--text); --bs-table-hover-bg: var(--hover); --bs-table-hover-color: var(--text); color: var(--text); }
:is(.exa-desktop .wgdash-body, .dash-glass .dw-card-body) .table > :not(caption) > * > * { background-color: transparent; color: inherit; box-shadow: none; }
:is(.exa-desktop .wgdash-body, .dash-glass .dw-card-body) .table-row-dashed tr, :is(.exa-desktop .wgdash-body, .dash-glass .dw-card-body) .table tr { border-color: var(--stroke); }
:is(.exa-desktop .wgdash-body, .dash-glass .dw-card-body) .symbol-label { background: var(--gtile) !important; color: var(--text2) !important; }
:is(.exa-desktop .wgdash-body, .dash-glass .dw-card-body) .form-control, :is(.exa-desktop .wgdash-body, .dash-glass .dw-card-body) .form-control-sm,
:is(.exa-desktop .wgdash-body, .dash-glass .dw-card-body) .e-ddl.e-input-group, :is(.exa-desktop .wgdash-body, .dash-glass .dw-card-body) .e-input-group, :is(.exa-desktop .wgdash-body, .dash-glass .dw-card-body) .e-input-group.e-control-wrapper { color: var(--text); background: var(--gtile); border-color: var(--stroke); }
:is(.exa-desktop .wgdash-body, .dash-glass .dw-card-body) .e-input-group input.e-input, :is(.exa-desktop .wgdash-body, .dash-glass .dw-card-body) .e-input-group .e-input-group-icon { color: var(--text); background: transparent; }
:is(.exa-desktop .wgdash-body, .dash-glass .dw-card-body) .e-btn, :is(.exa-desktop .wgdash-body, .dash-glass .dw-card-body) .e-dropdown-btn { color: var(--text2); background: var(--gtile); border-color: var(--stroke); box-shadow: none; }
:is(.exa-desktop .wgdash-body, .dash-glass .dw-card-body) .e-btn:hover, :is(.exa-desktop .wgdash-body, .dash-glass .dw-card-body) .e-dropdown-btn:hover { color: var(--text); background: var(--hover); }

/* number tiles (tickets, orders): the words and numbers use the shell's ink; the coloured stripe on the left stays */
:is(.exa-desktop .wgdash-body, .dash-glass .dw-card-body) .dw-stat { overflow: hidden; border-radius: 20px; background: var(--gtile); border: 1px solid var(--stroke); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5); transition: transform .15s; }
:is(.exa-desktop .wgdash-body, .dash-glass .dw-card-body) .dw-stat:hover { transform: translateY(-1px); }
:is(.exa-desktop .wgdash-body, .dash-glass .dw-card-body) .dw-stat-top, :is(.exa-desktop .wgdash-body, .dash-glass .dw-card-body) .dw-stat-value-wrap { background: transparent !important; }
:is(.exa-desktop .wgdash-body, .dash-glass .dw-card-body) .dw-stat-label { color: var(--text2) !important; }
:is(.exa-desktop .wgdash-body, .dash-glass .dw-card-body) .dw-stat-value { color: var(--text) !important; font-family: var(--fh); }
:is(.exa-desktop .wgdash-body, .dash-glass .dw-card-body) .dw-stat-photo { border-radius: 9px; }

/* the clocked-in boards */
:is(.exa-desktop .wgdash-body, .dash-glass .dw-card-body) .cin-row { background: var(--gtile); border: 1px solid var(--stroke); border-radius: 20px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5); }
:is(.exa-desktop .wgdash-body, .dash-glass .dw-card-body) .cin-row--stale { background: var(--amber-soft); border-color: color-mix(in srgb, var(--amber) 32%, transparent); }
:is(.exa-desktop .wgdash-body, .dash-glass .dw-card-body) .cin-count { color: var(--good); background: var(--good-soft); }
:is(.exa-desktop .wgdash-body, .dash-glass .dw-card-body) .cin-tag--warn { color: var(--amber); background: var(--amber-soft); border-color: color-mix(in srgb, var(--amber) 30%, transparent); }
:is(.exa-desktop .wgdash-body, .dash-glass .dw-card-body) .ck-main small.cin-at { color: var(--text); }
:is(.exa-desktop .wgdash-body, .dash-glass .dw-card-body) .ck-row--in .ck-main small { color: var(--good); }
:is(.exa-desktop .wgdash-body, .dash-glass .dw-card-body) .ck-pic { color: var(--text2); background: var(--gtile); }
:is(.exa-desktop .wgdash-body, .dash-glass .dw-card-body) .ck-icon { color: var(--text2); }
:is(.exa-desktop .wgdash-body, .dash-glass .dw-card-body) .ck-icon:hover:not(:disabled) { color: var(--text); background: var(--hover); }
:is(.exa-desktop .wgdash-body, .dash-glass .dw-card-body) .ck-msg { border-radius: 14px; }
:is(.exa-desktop .wgdash-body, .dash-glass .dw-card-body) .ck-msg.ck-good { color: var(--good); background: var(--good-soft); }
:is(.exa-desktop .wgdash-body, .dash-glass .dw-card-body) .ck-msg.ck-bad { color: var(--warn); background: var(--warn-soft); }
:is(.exa-desktop .wgdash-body, .dash-glass .dw-card-body) .ck-btn {
    position: relative; overflow: hidden; isolation: isolate; border-radius: 999px; background: var(--btn); color: #fff;
    box-shadow: 0 6px 14px rgba(23, 105, 22, .26), inset 0 0 0 1px rgba(255, 255, 255, .2); transition: transform .16s, filter .2s;
}
:is(.exa-desktop .wgdash-body, .dash-glass .dw-card-body) .ck-btn::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none; background: linear-gradient(180deg, rgba(255, 255, 255, .34), rgba(255, 255, 255, 0) 56%); }
:is(.exa-desktop .wgdash-body, .dash-glass .dw-card-body) .ck-btn--danger { background: linear-gradient(180deg, #EF5B4D, #D92D20); box-shadow: 0 6px 14px rgba(217, 45, 32, .26), inset 0 0 0 1px rgba(255, 255, 255, .2); }
:is(.exa-desktop .wgdash-body, .dash-glass .dw-card-body) .ck-btn--ghost { color: var(--text); background: var(--gtile); border-color: var(--stroke); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5); }
:is(.exa-desktop .wgdash-body, .dash-glass .dw-card-body) .ck-btn:hover:not(:disabled) { transform: translateY(-1px); }
:is(.exa-desktop .wgdash-body, .dash-glass .dw-card-body) .ck-btn:active:not(:disabled) { transform: scale(.97); }
:is(.exa-desktop .wgdash-body, .dash-glass .dw-card-body) .ck-time, :is(.exa-desktop .wgdash-body, .dash-glass .dw-card-body) .ck-search { color: var(--text); background: var(--gtile); border-color: var(--stroke); }

/* the ticket calendar (Syncfusion Schedule) and the gauge: their own light theme is turned transparent so the glass shows through */
:is(.exa-desktop .wgdash-body, .dash-glass .dw-card-body) .e-schedule, :is(.exa-desktop .wgdash-body, .dash-glass .dw-card-body) .e-schedule .e-schedule-toolbar, :is(.exa-desktop .wgdash-body, .dash-glass .dw-card-body) .e-schedule .e-toolbar,
:is(.exa-desktop .wgdash-body, .dash-glass .dw-card-body) .e-schedule .e-content-wrap, :is(.exa-desktop .wgdash-body, .dash-glass .dw-card-body) .e-schedule .e-date-header-wrap, :is(.exa-desktop .wgdash-body, .dash-glass .dw-card-body) .e-schedule .e-header-cells,
:is(.exa-desktop .wgdash-body, .dash-glass .dw-card-body) .e-schedule .e-work-cells, :is(.exa-desktop .wgdash-body, .dash-glass .dw-card-body) .e-schedule .e-month-view .e-work-cells, :is(.exa-desktop .wgdash-body, .dash-glass .dw-card-body) .e-schedule .e-table-wrap table,
:is(.exa-desktop .wgdash-body, .dash-glass .dw-card-body) .e-schedule .e-month-view .e-date-header-wrap table td, :is(.exa-desktop .wgdash-body, .dash-glass .dw-card-body) .e-schedule .e-timeline-view .e-content-wrap { background: transparent !important; color: var(--text) !important; border-color: var(--stroke) !important; }
:is(.exa-desktop .wgdash-body, .dash-glass .dw-card-body) .e-schedule .e-toolbar .e-tbar-btn, :is(.exa-desktop .wgdash-body, .dash-glass .dw-card-body) .e-schedule .e-toolbar .e-tbar-btn-text, :is(.exa-desktop .wgdash-body, .dash-glass .dw-card-body) .e-schedule .e-toolbar .e-icons { background: transparent !important; color: var(--text) !important; }
:is(.exa-desktop .wgdash-body, .dash-glass .dw-card-body) .e-schedule .e-other-month, :is(.exa-desktop .wgdash-body, .dash-glass .dw-card-body) .e-schedule .e-other-month .e-date-header { color: var(--text3) !important; }
:is(.exa-desktop .wgdash-body, .dash-glass .dw-card-body) .e-schedule .e-work-cells:hover { background: var(--hover) !important; }
:is(.exa-desktop .wgdash-body, .dash-glass .dw-card-body) .e-schedule .e-current-date .e-date-header { color: #fff !important; background: var(--btn) !important; }
:is(.exa-desktop .wgdash-body, .dash-glass .dw-card-body) .e-circulargauge svg text { fill: var(--text3) !important; }
:is(.exa-desktop .wgdash-body, .dash-glass .dw-card-body) .e-circulargauge svg [id*="_Pointer"] { fill: var(--text) !important; }
