/*
 * Trial guide v6
 * The guide is a light layer over the existing customer/admin shell.  Tokens
 * are scoped to the v6 bodies so the classic portal keeps its own contract.
 */
body.customer-ui-new.new-panel,
body.admin-surface.admin-ui-new,
body.customer-login-new,
body.admin-login-new,
body.rs-auth,
body.rs-login-body {
    --trial-bar-h: 38px;
    --trial-surface: var(--new-surface-1, #07111d);
    --trial-surface-raised: var(--new-surface-2, #091321);
    --trial-overlay: rgba(1, 7, 17, .78);
    --trial-border: var(--new-border, #142238);
    --trial-border-strong: var(--new-border-strong, #20314d);
    --trial-text: var(--new-text-1, #f3f6fb);
    --trial-muted: var(--new-text-2, #aab5c7);
    --trial-subtle: var(--new-text-3, #7e8ca3);
    --trial-primary: var(--new-blue, var(--portal-primary, #0964f5));
    --trial-bright: var(--new-blue-bright, #3e8bff);
    --trial-success: var(--new-green, #0ab878);
    --trial-warn: var(--new-amber, #f0a51a);
    --trial-danger: var(--new-red, #dd4656);
    --trial-radius: var(--new-radius-md, 10px);
    --trial-radius-sm: var(--new-radius-sm, 7px);
    --trial-shadow: 0 18px 48px rgba(0, 0, 0, .32);
    --trial-font-body: var(--new-font-body, "Nunito", system-ui, sans-serif);
    --trial-font-display: var(--new-font-display, "Rajdhani", system-ui, sans-serif);
    --trial-font-mono: var(--new-font-mono, "JetBrains Mono", ui-monospace, monospace);
}

/* -------------------------------------------------------------------------
   Compact top bar: one row, one status, two actor switches.
   ------------------------------------------------------------------------- */
#rs-trial-bar.trial-bar {
    position: fixed;
    z-index: 2147483000;
    inset-block-start: 0;
    inset-inline: 0;
    display: grid;
    grid-template-columns: minmax(96px, 1fr) auto minmax(96px, 1fr);
    align-items: center;
    gap: 8px;
    block-size: var(--trial-bar-h, 38px);
    min-block-size: 36px;
    max-block-size: 40px;
    padding-inline: clamp(8px, 2vw, 20px);
    box-sizing: border-box;
    color: var(--trial-text, #f3f6fb);
    background: linear-gradient(90deg, #061329 0%, #0b1a31 52%, #061329 100%);
    border-block-end: 1px solid rgba(62, 139, 255, .38);
    box-shadow: 0 4px 18px rgba(1, 7, 17, .36);
    font-family: var(--trial-font-body, "Nunito", system-ui, sans-serif);
}

#rs-trial-bar.trial-bar::before {
    position: absolute;
    inset-block-end: -1px;
    inset-inline-start: 0;
    block-size: 1px;
    inline-size: 100%;
    content: "";
    background: linear-gradient(90deg, rgba(62, 139, 255, 0.12) 0%, rgba(62, 139, 255, 0.85) 30%, rgba(62, 139, 255, 0.85) 70%, rgba(62, 139, 255, 0.12) 100%);
    opacity: .9;
}

#rs-trial-bar .trial-bar__switch,
#rs-trial-bar .sr-nav {
    display: inline-flex;
    align-items: center;
    justify-self: start;
    gap: 6px;
    min-block-size: 30px;
    min-inline-size: 44px;
    padding-block: 4px;
    padding-inline: 8px;
    box-sizing: border-box;
    color: var(--trial-muted, #aab5c7);
    border: 1px solid transparent;
    border-radius: var(--trial-radius-sm, 7px);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .08em;
    line-height: 1;
    text-decoration: none;
    text-transform: uppercase;
    white-space: nowrap;
    transition: color 140ms ease, background-color 140ms ease, border-color 140ms ease;
}

#rs-trial-bar .trial-bar__switch:last-child,
#rs-trial-bar .sr-nav:last-child {
    justify-self: end;
}

#rs-trial-bar .trial-bar__switch:hover,
#rs-trial-bar .trial-bar__switch:focus-visible,
#rs-trial-bar .sr-nav:hover,
#rs-trial-bar .sr-nav:focus-visible {
    color: var(--trial-text, #f3f6fb);
    background: rgba(62, 139, 255, .12);
    border-color: rgba(62, 139, 255, .42);
}

#rs-trial-bar .trial-bar__switch svg,
#rs-trial-bar .sr-nav svg {
    flex: 0 0 auto;
    inline-size: 16px;
    block-size: 16px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.7;
}

#rs-trial-bar .trial-bar__status,
#rs-trial-bar .sr-center {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    justify-self: center;
    gap: 8px;
    min-inline-size: 0;
}

#rs-trial-bar .trial-bar__tag,
#rs-trial-bar .sr-tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    min-inline-size: 0;
    color: var(--trial-text, #f3f6fb);
    font-family: var(--trial-font-display, "Rajdhani", system-ui, sans-serif);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .1em;
    line-height: 1;
    text-transform: uppercase;
    white-space: nowrap;
}

#rs-trial-bar .trial-bar__tag::before,
#rs-trial-bar .sr-tag b {
    display: inline-block;
    inline-size: 6px;
    block-size: 6px;
    content: "";
    background: var(--trial-success, #0ab878);
    border-radius: 50%;
    box-shadow: 0 0 0 3px rgba(10, 184, 120, .13);
}

#rs-trial-bar .sr-tag b {
    overflow: hidden;
    color: transparent;
    font-size: 0;
}

#rs-trial-bar .trial-bar__cta,
#rs-trial-bar .sr-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-block-size: 28px;
    padding-block: 5px;
    padding-inline: 11px;
    color: #031027;
    background: var(--trial-bright, #3e8bff);
    border: 1px solid var(--trial-bright, #3e8bff);
    border-radius: 999px;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .06em;
    line-height: 1;
    text-decoration: none;
    text-transform: uppercase;
    white-space: nowrap;
    transition: filter 140ms ease, transform 140ms ease;
}

#rs-trial-bar .trial-bar__cta:hover,
#rs-trial-bar .trial-bar__cta:focus-visible,
#rs-trial-bar .sr-cta:hover,
#rs-trial-bar .sr-cta:focus-visible {
    color: #010711;
    filter: brightness(1.13);
    transform: translateY(-1px);
}

#rs-trial-bar.trial-bar--urgent,
#rs-trial-bar.sr-bar--urgent {
    background: linear-gradient(90deg, #2b1c08, #51310a 52%, #2b1c08);
    border-block-end-color: rgba(240, 165, 26, .62);
}

#rs-trial-bar.trial-bar--urgent .trial-bar__tag::before,
#rs-trial-bar.sr-bar--urgent .sr-tag b {
    background: var(--trial-warn, #f0a51a);
    box-shadow: 0 0 0 3px rgba(240, 165, 26, .15);
}

#rs-trial-bar.trial-bar--urgent .trial-bar__cta,
#rs-trial-bar.sr-bar--urgent .sr-cta {
    color: #261702;
    background: var(--trial-warn, #f0a51a);
    border-color: var(--trial-warn, #f0a51a);
}

#rs-trial-bar.trial-bar--expired,
#rs-trial-bar.sr-bar--expired {
    background: linear-gradient(90deg, #2c0b17, #521322 52%, #2c0b17);
    border-block-end-color: rgba(221, 70, 86, .65);
}

#rs-trial-bar.trial-bar--expired .trial-bar__tag::before,
#rs-trial-bar.sr-bar--expired .sr-tag b {
    background: var(--trial-danger, #dd4656);
    box-shadow: 0 0 0 3px rgba(221, 70, 86, .14);
}

/* v6 fixed shells move below the bar; logical offsets keep RTL aligned. */
body.customer-ui-new.new-panel.has-rs-trial-bar #new-topbar,
body.admin-surface.admin-ui-new.has-rs-trial-bar #admin-header {
    inset-block-start: var(--trial-bar-h, 38px) !important;
}

body.customer-ui-new.new-panel.has-rs-trial-bar #new-sidebar,
body.admin-surface.admin-ui-new.has-rs-trial-bar #admin-nav {
    inset-block-start: var(--trial-bar-h, 38px) !important;
    block-size: calc(100dvh - var(--trial-bar-h, 38px)) !important;
    max-block-size: calc(100dvh - var(--trial-bar-h, 38px));
}

body.customer-ui-new.new-panel.has-rs-trial-bar .main-container {
    padding-block-start: calc(var(--new-topbar-height, var(--new-header-height, 60px)) + var(--trial-bar-h, 38px)) !important;
}

/* Admin reserves its header inside #content; add only the Trial bar here. */
body.admin-surface.admin-ui-new.has-rs-trial-bar .main-container {
    padding-block-start: var(--trial-bar-h, 42px) !important;
}

/* Keep the admin header out of flow on mobile, as the shell reserves its height. */
body.admin-surface.admin-ui-new.has-rs-trial-bar #admin-header {
    position: fixed !important;
}

body.customer-ui-new.new-panel.has-rs-trial-bar #content.main-content,
body.admin-surface.admin-ui-new.has-rs-trial-bar #content.main-content {
    min-inline-size: 0;
}

/* Legacy shell compatibility remains intentionally small. */
body.has-rs-trial-bar .rs-wrap {
    padding-block-start: var(--trial-bar-h, 38px) !important;
}

body.has-rs-trial-bar .rs-wrap > .rs-sidebar,
body.has-rs-trial-bar .rs-wrap .rs-topbar {
    inset-block-start: var(--trial-bar-h, 38px) !important;
}

body.has-rs-trial-bar .rs-wrap > .rs-sidebar {
    block-size: calc(100dvh - var(--trial-bar-h, 38px)) !important;
}

body.has-rs-trial-bar .rs-wrap > .rs-main {
    min-block-size: calc(100dvh - var(--trial-bar-h, 38px));
}

/* Login surfaces are full width; the bar is the only extra chrome. */
body.customer-login-new.has-rs-trial-bar,
body.admin-login-new.has-rs-trial-bar,
body.rs-auth.has-rs-trial-bar,
body.rs-login-body.has-rs-trial-bar {
    padding-block-start: var(--trial-bar-h, 38px);
    box-sizing: border-box;
    min-height: 100dvh;
    overflow-x: hidden;
}

body.customer-login-new.has-rs-trial-bar .customer-auth-shell,
body.customer-login-new.has-rs-trial-bar .customer-auth-panel,
body.customer-login-new.has-rs-trial-bar .customer-auth-hero,
body.admin-login-new.has-rs-trial-bar .admin-auth-shell,
body.admin-login-new.has-rs-trial-bar .admin-auth-panel,
body.admin-login-new.has-rs-trial-bar .admin-auth-hero {
    min-height: calc(100dvh - var(--trial-bar-h, 38px));
    box-sizing: border-box;
}

/* -------------------------------------------------------------------------
   Shared guide primitives: focus, layer, tour-safe pointer behavior.
   ------------------------------------------------------------------------- */
body.customer-ui-new.new-panel :focus-visible,
body.admin-surface.admin-ui-new :focus-visible,
body.customer-login-new :focus-visible,
body.admin-login-new :focus-visible,
body.rs-auth :focus-visible,
body.rs-login-body :focus-visible {
    outline: 2px solid var(--trial-bright, #3e8bff);
    outline-offset: 2px;
}

body.customer-ui-new.new-panel .sg-tour-active .db-nav-card[data-dashboard-link],
body.admin-surface.admin-ui-new .sg-tour-active .db-nav-card[data-dashboard-link],
body.customer-ui-new.new-panel .sg-tour-active .main-content a[href],
body.admin-surface.admin-ui-new .sg-tour-active .main-content a[href] {
    position: relative;
    z-index: 100001;
    pointer-events: auto;
}

.sg-tour-active .new-nav-item,
.sg-tour-active .admin-nav-item,
.sg-tour-active .rs-nav-item {
    pointer-events: auto;
}

/* -------------------------------------------------------------------------
   FAB and checklist panel
   ------------------------------------------------------------------------- */
.cs-guide-fab {
    position: fixed;
    z-index: 100050;
    inset-block-end: calc(18px + env(safe-area-inset-bottom, 0px));
    inset-inline-end: clamp(12px, 2vw, 24px);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    inline-size: 48px;
    block-size: 48px;
    padding: 0;
    color: var(--trial-text, #f3f6fb);
    background: var(--trial-primary, #0964f5);
    border: 1px solid rgba(62, 139, 255, .8);
    border-radius: 50%;
    box-shadow: 0 10px 28px rgba(1, 7, 17, .38), 0 0 0 4px rgba(9, 100, 245, .14);
    cursor: pointer;
    font-family: var(--trial-font-display, "Rajdhani", system-ui, sans-serif);
    font-size: 12px;
    font-weight: 900;
    transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

#cs-guide-fab-toggle.cs-guide-fab-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    inline-size: 100%;
    block-size: 100%;
    padding: 0;
    color: inherit;
    background: transparent;
    border: 0;
    border-radius: inherit;
    cursor: pointer;
}

.cs-guide-fab:hover,
.cs-guide-fab:focus-visible {
    background: var(--trial-bright, #3e8bff);
    box-shadow: 0 12px 32px rgba(1, 7, 17, .48), 0 0 0 5px rgba(62, 139, 255, .18);
    transform: translateY(-2px);
}

.cs-guide-fab svg {
    inline-size: 20px;
    block-size: 20px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.cs-guide-fab-badge {
    position: absolute;
    inset-block-start: -5px;
    inset-inline-end: -5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-inline-size: 21px;
    block-size: 21px;
    padding-inline: 4px;
    color: #041025;
    background: var(--trial-success, #0ab878);
    border: 2px solid var(--trial-surface, #07111d);
    border-radius: 999px;
    font-family: var(--trial-font-mono, monospace);
    font-size: 9px;
    font-weight: 800;
    line-height: 1;
}

.cs-guide-fab-badge--complete {
    color: #031027;
    background: var(--trial-success, #0ab878);
}

.cs-guide-fab--pulse {
    animation: trial-fab-pulse 1.8s ease-out 1;
}

@keyframes trial-fab-pulse {
    0% { box-shadow: 0 0 0 0 rgba(62, 139, 255, .48); }
    70% { box-shadow: 0 0 0 14px rgba(62, 139, 255, 0); }
    100% { box-shadow: 0 10px 28px rgba(1, 7, 17, .38), 0 0 0 4px rgba(9, 100, 245, .14); }
}

.cs-guide-panel {
    position: fixed;
    z-index: 100049;
    inset-block-end: calc(78px + env(safe-area-inset-bottom, 0px));
    inset-inline-end: clamp(12px, 2vw, 24px);
    display: flex;
    flex-direction: column;
    inline-size: min(362px, calc(100vw - 24px));
    max-block-size: min(560px, calc(100dvh - 104px));
    overflow: hidden;
    color: var(--trial-text, #f3f6fb);
    background: var(--trial-surface, #07111d);
    border: 1px solid var(--trial-border-strong, #20314d);
    border-radius: var(--trial-radius, 10px);
    box-shadow: var(--trial-shadow, 0 18px 48px rgba(0, 0, 0, .32));
    opacity: 0;
    pointer-events: none;
    transform: translateY(8px) scale(.98);
    transition: opacity 180ms ease, transform 180ms ease;
}

.cs-guide-panel.is-open,
.cs-guide-panel[aria-hidden="false"] {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
}

.cs-guide-panel__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding-block: 16px 12px;
    padding-inline: 16px;
    background: linear-gradient(135deg, rgba(9, 100, 245, .16), transparent 70%);
    border-block-end: 1px solid var(--trial-border, #142238);
}

.cs-guide-panel__title {
    margin: 0;
    color: var(--trial-text, #f3f6fb);
    font-family: var(--trial-font-display, "Rajdhani", system-ui, sans-serif);
    font-size: 20px;
    font-weight: 800;
    letter-spacing: .03em;
}

.cs-guide-panel__meta,
.cs-guide-panel__hint,
.cs-guide-step__desc {
    color: var(--trial-muted, #aab5c7);
    font-size: 11px;
    line-height: 1.35;
}

.cs-guide-panel__meta {
    margin-block-start: 3px;
}

.cs-guide-panel__close,
.cs-guide-panel__reset,
.cs-guide-panel__switch {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-inline-size: 36px;
    min-block-size: 34px;
    color: var(--trial-muted, #aab5c7);
    background: transparent;
    border: 1px solid transparent;
    border-radius: var(--trial-radius-sm, 7px);
    cursor: pointer;
    font-family: inherit;
    font-size: 11px;
}

.cs-guide-panel__close:hover,
.cs-guide-panel__close:focus-visible,
.cs-guide-panel__reset:hover,
.cs-guide-panel__reset:focus-visible,
.cs-guide-panel__switch:hover,
.cs-guide-panel__switch:focus-visible {
    color: var(--trial-text, #f3f6fb);
    background: rgba(62, 139, 255, .1);
    border-color: var(--trial-border-strong, #20314d);
}

.cs-guide-panel__progress {
    block-size: 3px;
    margin-inline: 16px;
    overflow: hidden;
    background: var(--trial-border, #142238);
    border-radius: 999px;
}

.cs-guide-panel__progress > span {
    display: block;
    block-size: 100%;
    background: linear-gradient(90deg, var(--trial-primary, #0964f5), var(--trial-success, #0ab878));
    border-radius: inherit;
    transition: inline-size 180ms ease;
}

.cs-guide-panel__body {
    overflow: auto;
    padding-block: 8px 12px;
    padding-inline: 10px;
}

.cs-guide-step {
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    inline-size: 100%;
    min-block-size: 52px;
    padding-block: 8px;
    padding-inline: 7px;
    box-sizing: border-box;
    color: var(--trial-text, #f3f6fb);
    background: transparent;
    border: 1px solid transparent;
    border-radius: var(--trial-radius-sm, 7px);
    text-align: start;
    transition: background-color 140ms ease, border-color 140ms ease;
}

.cs-guide-step--tourable {
    cursor: pointer;
}

.cs-guide-step--tourable:hover,
.cs-guide-step--tourable:focus-visible {
    background: rgba(62, 139, 255, .09);
    border-color: rgba(62, 139, 255, .32);
}

.cs-guide-step--done {
    opacity: .72;
}

.cs-guide-step__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    inline-size: 28px;
    block-size: 28px;
    color: var(--trial-bright, #3e8bff);
    background: rgba(62, 139, 255, .1);
    border-radius: 8px;
}

.cs-guide-step__icon svg {
    inline-size: 16px;
    block-size: 16px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.cs-guide-step--done .cs-guide-step__icon {
    color: var(--trial-success, #0ab878);
    background: rgba(10, 184, 120, .11);
}

.cs-guide-step__label {
    display: block;
    overflow: hidden;
    color: var(--trial-text, #f3f6fb);
    font-size: 12px;
    font-weight: 800;
    line-height: 1.25;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cs-guide-step__desc {
    display: block;
    overflow: hidden;
    margin-block-start: 2px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cs-guide-step__play {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-inline-size: 32px;
    min-block-size: 32px;
    color: var(--trial-bright, #3e8bff);
    background: transparent;
    border: 1px solid var(--trial-border, #142238);
    border-radius: 50%;
    cursor: pointer;
}

.cs-guide-step__play:hover,
.cs-guide-step__play:focus-visible {
    color: var(--trial-text, #f3f6fb);
    background: var(--trial-primary, #0964f5);
    border-color: var(--trial-primary, #0964f5);
}

.cs-guide-panel__foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding-block: 8px;
    padding-inline: 12px;
    border-block-start: 1px solid var(--trial-border, #142238);
}

.cs-guide-panel-done {
    margin: 8px 10px;
    padding: 14px 12px;
    color: var(--trial-text, #f3f6fb);
    background: rgba(10, 184, 120, .08);
    border: 1px solid rgba(10, 184, 120, .26);
    border-radius: var(--trial-radius-sm, 7px);
    text-align: center;
}

.cs-guide-panel-done[hidden],
.cs-guide-panel-coach-hint[hidden] {
    display: none;
}

.cs-guide-panel-done strong {
    display: block;
    font-family: var(--trial-font-display, "Rajdhani", system-ui, sans-serif);
    font-size: 16px;
}

.cs-guide-panel-done p {
    margin: 4px 0 10px;
    color: var(--trial-muted, #aab5c7);
    font-size: 11px;
}

.cs-guide-panel__done,
.cs-guide-panel-done-tour-btn,
.cs-guide-panel-admin-discover {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-block-size: 34px;
    padding-inline: 10px;
    color: var(--trial-muted, #aab5c7);
    background: transparent;
    border: 1px solid var(--trial-border, #142238);
    border-radius: 999px;
    cursor: pointer;
    font-size: 10px;
    font-weight: 800;
    text-decoration: none;
}

.cs-guide-panel-done-tour-btn:hover,
.cs-guide-panel-done-tour-btn:focus-visible,
.cs-guide-panel-admin-discover:hover,
.cs-guide-panel-admin-discover:focus-visible {
    color: var(--trial-text, #f3f6fb);
    border-color: var(--trial-bright, #3e8bff);
}

.cs-guide-announcer {
    position: absolute;
    inline-size: 1px;
    block-size: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}

/* -------------------------------------------------------------------------
   Journey coach and page explore offer
   ------------------------------------------------------------------------- */
.sg-journey-coach {
    position: fixed;
    z-index: 100048;
    inset-block-end: calc(78px + env(safe-area-inset-bottom, 0px));
    inset-inline-end: clamp(12px, 2vw, 24px);
    display: grid;
    grid-template-columns: 30px minmax(0, 1fr);
    align-items: center;
    gap: 9px;
    inline-size: min(390px, calc(100vw - 24px));
    padding-block: 10px;
    padding-inline: 11px;
    box-sizing: border-box;
    color: var(--trial-text, #f3f6fb);
    background: var(--trial-surface-raised, #091321);
    border: 1px solid rgba(62, 139, 255, .38);
    border-radius: var(--trial-radius, 10px);
    box-shadow: var(--trial-shadow, 0 18px 48px rgba(0, 0, 0, .32));
}

.sg-journey-coach[hidden] {
    display: none;
}

.sg-journey-coach__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    inline-size: 30px;
    block-size: 30px;
    color: var(--trial-bright, #3e8bff);
    background: rgba(62, 139, 255, .12);
    border-radius: 9px;
}

.sg-journey-coach__title {
    margin: 0;
    color: var(--trial-text, #f3f6fb);
    font-size: 12px;
    font-weight: 850;
    line-height: 1.2;
}

.sg-journey-coach__copy,
.sg-journey-coach__progress {
    display: block;
    overflow: hidden;
    margin-block-start: 3px;
    color: var(--trial-muted, #aab5c7);
    font-size: 10px;
    line-height: 1.25;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sg-journey-coach__actions {
    display: flex;
    grid-column: 2;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px;
}

.sg-journey-coach button,
.sg-journey-coach a {
    min-block-size: 32px;
    padding-block: 5px;
    padding-inline: 8px;
    border-radius: 999px;
    cursor: pointer;
    font-family: inherit;
    font-size: 10px;
    font-weight: 800;
    text-decoration: none;
}

.sg-journey-coach__primary {
    color: #031027;
    background: var(--trial-bright, #3e8bff);
    border: 1px solid var(--trial-bright, #3e8bff);
}

.sg-journey-coach__secondary,
.sg-journey-coach__dismiss {
    color: var(--trial-muted, #aab5c7);
    background: transparent;
    border: 1px solid var(--trial-border, #142238);
}

.sg-page-explore-offer,
.sg-page-explore-bar {
    color: var(--trial-text, #f3f6fb);
    font-family: var(--trial-font-body, "Nunito", system-ui, sans-serif);
}

.sg-page-explore-offer {
    position: fixed;
    z-index: 100060;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 20px;
    background: var(--trial-overlay, rgba(1, 7, 17, .78));
}

.sg-page-explore-offer[hidden],
.sg-page-explore-bar[hidden] {
    display: none;
}

.sg-page-explore-offer__card {
    inline-size: min(430px, 100%);
    padding: 22px;
    background: var(--trial-surface, #07111d);
    border: 1px solid var(--trial-border-strong, #20314d);
    border-radius: var(--trial-radius, 10px);
    box-shadow: var(--trial-shadow, 0 18px 48px rgba(0, 0, 0, .32));
}

.sg-page-explore-offer__eyebrow,
.sg-lang-guide-gate__eyebrow,
.trial-mode-dialog__eyebrow {
    margin: 0 0 9px;
    color: var(--trial-bright, #3e8bff);
    font-family: var(--trial-font-mono, monospace);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .11em;
    text-transform: uppercase;
}

.sg-page-explore-offer__title,
.sg-lang-guide-gate__title,
.trial-mode-dialog__title {
    margin: 0;
    color: var(--trial-text, #f3f6fb);
    font-family: var(--trial-font-display, "Rajdhani", system-ui, sans-serif);
    font-size: 24px;
    font-weight: 800;
    letter-spacing: .03em;
}

.sg-page-explore-offer__copy,
.sg-lang-guide-gate__copy,
.trial-mode-dialog__copy {
    margin-block: 7px 16px;
    color: var(--trial-muted, #aab5c7);
    font-size: 12px;
    line-height: 1.5;
}

.sg-page-explore-offer__actions,
.sg-lang-guide-gate__actions,
.trial-mode-dialog__actions {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 14px !important;
    width: 100% !important;
    margin-top: 24px !important;
    box-sizing: border-box !important;
    align-items: stretch !important;
}

.sg-page-explore-offer button,
.sg-page-explore-offer a,
.sg-lang-guide-gate button,
.trial-mode-dialog a,
.trial-mode-dialog button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    min-height: 46px !important;
    padding-block: 8px !important;
    padding-inline: 16px !important;
    border-radius: 999px !important;
    cursor: pointer !important;
    font-family: inherit !important;
    font-size: 13.5px !important;
    font-weight: 800 !important;
    text-decoration: none !important;
    box-sizing: border-box !important;
    white-space: nowrap !important;
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.sg-page-explore-offer__primary,
.sg-page-explore-offer-btn--primary,
.sg-lang-guide-gate__primary,
.trial-mode-dialog__cta,
.trial-mode-dialog__btn--primary {
    background: linear-gradient(135deg, #0964f5 0%, #00d2ff 100%) !important;
    color: #ffffff !important;
    border: 1px solid rgba(0, 210, 255, 0.4) !important;
    box-shadow: 0 4px 20px rgba(0, 210, 255, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.35) !important;
}

.sg-page-explore-offer__primary:hover,
.sg-page-explore-offer-btn--primary:hover,
.sg-lang-guide-gate__primary:hover,
.trial-mode-dialog__cta:hover,
.trial-mode-dialog__btn--primary:hover {
    transform: translateY(-1.5px) !important;
    box-shadow: 0 6px 26px rgba(0, 210, 255, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.5) !important;
}

.sg-page-explore-offer__secondary,
.sg-page-explore-offer-btn:not(.sg-page-explore-offer-btn--primary),
.sg-lang-guide-gate__secondary,
.trial-mode-dialog__dismiss,
.trial-mode-dialog__btn--secondary {
    color: #cbd5e1 !important;
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.16) !important;
    backdrop-filter: blur(8px) !important;
}

.sg-page-explore-offer__secondary:hover,
.sg-page-explore-offer-btn:not(.sg-page-explore-offer-btn--primary):hover,
.sg-lang-guide-gate__secondary:hover,
.trial-mode-dialog__dismiss:hover,
.trial-mode-dialog__btn--secondary:hover {
    background: rgba(255, 255, 255, 0.16) !important;
    color: #ffffff !important;
    border-color: rgba(255, 255, 255, 0.3) !important;
    transform: translateY(-1.5px) !important;
}

.sg-page-explore-bar {
    position: fixed;
    z-index: 100058;
    inset-block-end: calc(16px + env(safe-area-inset-bottom, 0px));
    inset-inline: 50%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    inline-size: min(560px, calc(100vw - 24px));
    padding-block: 9px;
    padding-inline: 12px;
    box-sizing: border-box;
    background: var(--trial-surface, #07111d);
    border: 1px solid var(--trial-border-strong, #20314d);
    border-radius: 999px;
    box-shadow: var(--trial-shadow, 0 18px 48px rgba(0, 0, 0, .32));
    transform: translateX(-50%);
}

.sg-page-explore-bar__copy {
    overflow: hidden;
    color: var(--trial-muted, #aab5c7);
    font-size: 11px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* -------------------------------------------------------------------------
   Language gate
   ------------------------------------------------------------------------- */
.sg-lang-guide-gate {
    position: fixed;
    z-index: 100070;
    inset: 0;
    display: grid;
    place-items: center;
    padding: clamp(12px, 3vw, 28px);
    background: var(--trial-overlay, rgba(1, 7, 17, .65));
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.sg-lang-guide-gate[hidden] {
    display: none;
}

.sg-lang-guide-gate__card {
    box-sizing: border-box;
    inline-size: min(560px, 100%);
    max-block-size: calc(100dvh - 24px);
    overflow: auto;
    padding: 24px;
    scrollbar-gutter: stable;
    background:
        radial-gradient(circle at 100% 0, rgba(62, 139, 255, .12), transparent 34%),
        var(--trial-surface, #07111d);
    border: 1px solid var(--trial-border-strong, #20314d);
    border-radius: 18px;
    box-shadow: 0 26px 80px rgba(0, 0, 0, .48);
}

.sg-lang-guide-gate__languages {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-block: 18px 20px;
}

.sg-lang-guide-gate__language {
    position: relative;
    display: flex;
    align-items: center;
    gap: 9px;
    min-inline-size: 0;
    min-block-size: 46px;
    padding: 8px 11px;
    color: var(--trial-muted, #aab5c7);
    background: rgba(255, 255, 255, .018);
    border: 1px solid var(--trial-border, #142238);
    border-radius: 12px;
    cursor: pointer;
    font-family: inherit;
    font-size: 12px;
    font-weight: 750;
    text-align: start;
    transition: background-color .16s ease, border-color .16s ease, color .16s ease, transform .16s ease;
}

.sg-lang-guide-gate__language:hover,
.sg-lang-guide-gate__language:focus-visible {
    color: var(--trial-text, #f3f6fb);
    background: rgba(62, 139, 255, .08);
    border-color: var(--trial-bright, #3e8bff);
    transform: translateY(-1px);
}

.sg-lang-guide-gate__language[aria-selected="true"] {
    color: var(--trial-text, #f3f6fb);
    background: linear-gradient(135deg, rgba(62, 139, 255, .2), rgba(62, 139, 255, .08));
    border-color: var(--trial-bright, #3e8bff);
    box-shadow: inset 0 0 0 1px rgba(62, 139, 255, .18);
}

.sg-lang-guide-gate__language[aria-selected="true"]::after {
    content: "\2713";
    flex: 0 0 auto;
    margin-inline-start: auto;
    color: var(--trial-bright, #3e8bff);
    font-size: 12px;
    font-weight: 900;
}

.sg-lang-guide-gate__flag {
    flex: 0 0 auto;
    display: block;
    inline-size: 24px;
    block-size: 18px;
    object-fit: cover;
    border-radius: 4px;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, .16), 0 3px 8px rgba(0, 0, 0, .24);
}

.sg-lang-guide-gate__language-name {
    min-inline-size: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sg-lang-guide-gate__actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
}

.sg-lang-guide-gate__primary,
.sg-lang-guide-gate__secondary {
    min-block-size: 44px;
    padding-inline: 20px;
    font-size: 12px;
}

.sg-lang-guide-gate__primary {
    box-shadow: 0 10px 24px rgba(62, 139, 255, .24);
}

@media (max-width: 460px) {
    .sg-lang-guide-gate__card {
        padding: 20px;
    }

    .sg-lang-guide-gate__languages {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 330px) {
    .sg-lang-guide-gate__languages {
        grid-template-columns: 1fr;
    }
}

@media (max-height: 620px) and (min-width: 461px) {
    .sg-lang-guide-gate__card {
        padding: 18px 22px;
    }

    .sg-lang-guide-gate__languages {
        gap: 6px;
        margin-block: 12px 14px;
    }

    .sg-lang-guide-gate__language {
        min-block-size: 40px;
        padding-block: 6px;
    }

    .sg-lang-guide-gate__primary,
    .sg-lang-guide-gate__secondary {
        min-block-size: 40px;
    }
}

/* -------------------------------------------------------------------------
   Driver.js presentation
   ------------------------------------------------------------------------- */
.sg-driver-popover,
.driver-popover.sg-driver-popover {
    z-index: 100090;
    inline-size: min(330px, calc(100vw - 24px));
    padding: 16px;
    color: var(--trial-text, #f3f6fb);
    background: var(--trial-surface, #07111d);
    border: 1px solid var(--trial-border-strong, #20314d);
    border-radius: var(--trial-radius, 10px);
    box-shadow: var(--trial-shadow, 0 18px 48px rgba(0, 0, 0, .32));
    font-family: var(--trial-font-body, "Nunito", system-ui, sans-serif);
}

.sg-driver-popover .driver-popover-title {
    color: var(--trial-text, #f3f6fb);
    font-family: var(--trial-font-display, "Rajdhani", system-ui, sans-serif);
    font-size: 19px;
    font-weight: 800;
}

.sg-driver-popover .driver-popover-description {
    color: var(--trial-muted, #aab5c7);
    font-size: 12px;
    line-height: 1.45;
}

.sg-driver-progress-meta {
    display: grid;
    gap: 8px;
    inline-size: 100%;
    min-inline-size: 0;
    color: var(--trial-subtle, #7e8ca3);
    font-family: var(--trial-font-mono, monospace);
    font-size: 10px;
}

.sg-driver-progress-row {
    display: grid;
    gap: 4px;
}

.sg-driver-progress-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.sg-driver-progress-kicker {
    overflow: hidden;
    text-overflow: ellipsis;
    text-transform: uppercase;
    white-space: nowrap;
}

.sg-driver-progress-frac {
    flex: 0 0 auto;
    color: var(--trial-muted, #aab5c7);
}

.sg-driver-progress-frac--accent {
    color: var(--trial-bright, #3e8bff);
}

.sg-driver-progress-sep {
    margin-inline: 2px;
    color: var(--trial-subtle, #7e8ca3);
}

.sg-driver-progress-name {
    overflow: hidden;
    color: var(--trial-muted, #aab5c7);
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sg-driver-progress-track {
    block-size: 3px;
    overflow: hidden;
    background: rgba(126, 140, 163, .2);
    border-radius: 999px;
}

.sg-driver-progress-fill {
    block-size: 100%;
    background: var(--trial-bright, #3e8bff);
    border-radius: inherit;
}

.sg-driver-progress-fill--guide {
    background: var(--trial-success, #0ab878);
}

.sg-driver-popover .driver-popover-progress-text[aria-hidden="true"] {
    display: none !important;
}

.sg-driver-popover .driver-popover-footer {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
    align-items: stretch;
}

.sg-driver-popover .driver-popover-navigation-btns {
    display: flex !important;
    justify-self: end;
    gap: 6px;
}

.sg-driver-popover .driver-popover-footer button,
.sg-driver-popover .driver-popover-navigation-btns button {
    appearance: none !important;
    -webkit-appearance: none !important;
    min-block-size: 36px;
    padding-inline: 16px;
    border-radius: 999px;
    font-family: inherit;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.sg-driver-popover .driver-popover-footer button.driver-popover-prev-btn,
.sg-driver-popover .driver-popover-navigation-btns button.driver-popover-prev-btn {
    color: var(--trial-text, #cbd5e1) !important;
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.16) !important;
}

.sg-driver-popover .driver-popover-footer button.driver-popover-prev-btn:hover,
.sg-driver-popover .driver-popover-navigation-btns button.driver-popover-prev-btn:hover {
    background: rgba(255, 255, 255, 0.16) !important;
    color: #ffffff !important;
}

.sg-driver-popover .driver-popover-footer button.driver-popover-next-btn,
.sg-driver-popover .driver-popover-navigation-btns button.driver-popover-next-btn {
    color: #ffffff !important;
    background: linear-gradient(135deg, #0964f5 0%, #00d2ff 100%) !important;
    border: 1px solid rgba(0, 210, 255, 0.4) !important;
    box-shadow: 0 4px 16px rgba(0, 210, 255, 0.35) !important;
}

.sg-driver-popover .driver-popover-footer button.driver-popover-next-btn:hover,
.sg-driver-popover .driver-popover-navigation-btns button.driver-popover-next-btn:hover {
    box-shadow: 0 6px 22px rgba(0, 210, 255, 0.55) !important;
    transform: translateY(-1px);
}

/* -------------------------------------------------------------------------
   Mutation dialog and read-only hints
   ------------------------------------------------------------------------- */
.trial-mode-dialog {
    position: fixed;
    z-index: 100080;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 18px;
    background: var(--trial-overlay, rgba(1, 7, 17, .78));
}

.trial-mode-dialog[hidden] {
    display: none;
}

.trial-mode-dialog__card {
    inline-size: min(430px, 100%);
    padding: 22px;
    color: var(--trial-text, #f3f6fb);
    background: var(--trial-surface, #07111d);
    border: 1px solid rgba(221, 70, 86, .48);
    border-radius: var(--trial-radius, 10px);
    box-shadow: var(--trial-shadow, 0 18px 48px rgba(0, 0, 0, .32));
    text-align: center;
}

.trial-mode-dialog__icon {
    display: grid;
    place-items: center;
    inline-size: 42px;
    block-size: 42px;
    margin: 2px auto 12px;
    color: var(--trial-danger, #dd4656);
    background: rgba(221, 70, 86, .1);
    border-radius: 12px;
}

.trial-mode__lock,
.trial-mode-dialog__icon svg {
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.6;
}

.trial-mode-dialog__copy {
    max-inline-size: 340px;
    margin-inline: auto;
}

.trial-mode-dialog__cta {
    margin-inline: 4px;
}

.trial-mode-dialog__dismiss {
    margin-inline: 4px;
}

.trial-checkout-hint {
    margin-block: 0 10px;
    padding-block: 8px;
    padding-inline: 10px;
    color: var(--trial-muted, #aab5c7);
    background: rgba(221, 70, 86, .08);
    border-inline-start: 3px solid var(--trial-danger, #dd4656);
    border-radius: 4px;
    font-size: 11px;
    line-height: 1.4;
}

.rs-trial-download-badge {
    display: inline-flex;
    align-items: center;
    min-block-size: 20px;
    margin-inline-start: 6px;
    padding-inline: 5px;
    color: var(--trial-warn, #f0a51a);
    background: rgba(240, 165, 26, .1);
    border: 1px solid rgba(240, 165, 26, .35);
    border-radius: 999px;
    font-family: var(--trial-font-mono, monospace);
    font-size: 8px;
    font-weight: 800;
    letter-spacing: .06em;
    vertical-align: middle;
}

/* -------------------------------------------------------------------------
   Contextual tips and empty states
   ------------------------------------------------------------------------- */
.sg-tip {
    position: fixed;
    z-index: 100040;
    inset-block-end: calc(18px + env(safe-area-inset-bottom, 0px));
    inset-inline-start: clamp(12px, 2vw, 24px);
    display: flex;
    align-items: center;
    gap: 8px;
    inline-size: min(320px, calc(100vw - 24px));
    padding-block: 10px;
    padding-inline: 11px;
    color: var(--trial-muted, #aab5c7);
    background: var(--trial-surface-raised, #091321);
    border: 1px solid var(--trial-border, #142238);
    border-radius: var(--trial-radius-sm, 7px);
    box-shadow: var(--trial-shadow, 0 18px 48px rgba(0, 0, 0, .32));
    font-size: 11px;
}

.sg-tip__icon {
    flex: 0 0 auto;
    color: var(--trial-bright, #3e8bff);
}

.sg-tip__dismiss {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-inline-size: 30px;
    min-block-size: 30px;
    margin-inline-start: auto;
    color: var(--trial-subtle, #7e8ca3);
    background: transparent;
    border: 0;
    border-radius: 50%;
    cursor: pointer;
}

.trial-empty-state {
    display: grid;
    justify-items: center;
    gap: 5px;
    padding-block: 28px;
    padding-inline: 16px;
    color: var(--trial-muted, #aab5c7);
    text-align: center;
}

.trial-empty-state__icon {
    display: grid;
    place-items: center;
    inline-size: 38px;
    block-size: 38px;
    margin-block-end: 4px;
    color: var(--trial-bright, #3e8bff);
    background: rgba(62, 139, 255, .1);
    border-radius: 12px;
}

.trial-empty-state__icon svg {
    inline-size: 20px;
    block-size: 20px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.7;
}

.trial-empty-state__title {
    margin: 0;
    color: var(--trial-text, #f3f6fb);
    font-family: var(--trial-font-display, "Rajdhani", system-ui, sans-serif);
    font-size: 18px;
    font-weight: 800;
}

.trial-empty-state__copy {
    max-inline-size: 330px;
    margin: 0;
    font-size: 11px;
    line-height: 1.4;
}

.trial-empty-state__cta {
    min-block-size: 34px;
    margin-block-start: 6px;
    padding-inline: 11px;
    color: var(--trial-bright, #3e8bff);
    background: transparent;
    border: 1px solid var(--trial-border-strong, #20314d);
    border-radius: 999px;
    font-size: 10px;
    font-weight: 850;
    text-decoration: none;
}

/* Mobile / narrow phone: preserve one-line bar and a usable panel. */
@media (max-width: 639px) {
    #rs-trial-bar.trial-bar {
        grid-template-columns: auto minmax(0, 1fr) auto;
        gap: 4px;
        padding-inline: 6px;
    }

    #rs-trial-bar .trial-bar__switch,
    #rs-trial-bar .sr-nav {
        padding-inline: 6px;
        font-size: 9px;
        letter-spacing: .04em;
    }

    #rs-trial-bar .trial-bar__status,
    #rs-trial-bar .sr-center {
        gap: 5px;
        overflow: hidden;
    }

    #rs-trial-bar .trial-bar__tag,
    #rs-trial-bar .sr-tag {
        overflow: hidden;
        font-size: 11px;
        letter-spacing: .06em;
        text-overflow: ellipsis;
    }

    #rs-trial-bar .trial-bar__cta,
    #rs-trial-bar .sr-cta {
        min-block-size: 27px;
        padding-inline: 8px;
        font-size: 9px;
    }

    .cs-guide-panel,
    .sg-journey-coach {
        inset-inline-end: 12px;
        inline-size: calc(100vw - 24px);
    }

    .sg-journey-coach {
        grid-template-columns: 28px minmax(0, 1fr);
    }

    .sg-journey-coach__actions {
        grid-column: 2;
    }

    .sg-page-explore-bar {
        border-radius: var(--trial-radius, 10px);
    }
}

/* -------------------------------------------------------------------------
   Guide v2: one clear entry, one readable panel, no overlapping chrome
   ------------------------------------------------------------------------- */
.cs-guide-backdrop {
    position: fixed;
    z-index: 100047;
    inset-block-start: var(--trial-bar-h, 38px);
    inset-inline: 0;
    inset-block-end: 0;
    background: rgba(1, 7, 17, .46);
    opacity: 0;
    pointer-events: none;
    transition: opacity 180ms ease;
}

.cs-guide-backdrop.is-open {
    opacity: 1;
    pointer-events: auto;
}

.cs-guide-fab {
    inline-size: auto;
    min-inline-size: 118px;
    block-size: 46px;
    padding: 2px;
    background: linear-gradient(135deg, var(--trial-primary, #0964f5), var(--trial-bright, #3e8bff));
    border-radius: 14px;
}

#cs-guide-fab-toggle.cs-guide-fab-btn {
    gap: 8px;
    justify-content: flex-start;
    padding-inline: 12px 16px;
    background: rgba(3, 16, 39, .18);
    border-radius: 12px;
}

.cs-guide-fab-label {
    overflow: hidden;
    max-inline-size: 82px;
    font-size: 11px;
    letter-spacing: .02em;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cs-guide-fab-badge {
    inset-block-start: -7px;
    inset-inline-end: -7px;
}

body.cs-guide-panel-open .cs-guide-fab {
    opacity: 0;
    pointer-events: none;
    transform: translateY(6px);
}

.cs-guide-panel {
    z-index: 100049;
    inset-block-end: 16px;
    inline-size: min(420px, calc(100vw - 28px));
    max-block-size: min(680px, calc(100dvh - 70px));
    background:
        radial-gradient(circle at 100% 0, rgba(62, 139, 255, .12), transparent 30%),
        var(--trial-surface, #07111d);
    border-color: rgba(62, 139, 255, .34);
    border-radius: 18px;
    box-shadow: 0 28px 90px rgba(0, 0, 0, .58);
    transform: translateY(12px) scale(.985);
}

.cs-guide-panel__head {
    flex: 0 0 auto;
    align-items: center;
    padding: 18px 18px 14px;
    background: linear-gradient(135deg, rgba(9, 100, 245, .18), transparent 72%);
}

.cs-guide-panel__title {
    font-size: 21px;
}

.cs-guide-panel__close {
    min-inline-size: 36px;
    min-block-size: 36px;
    border-radius: 10px;
    font-size: 20px;
}

.cs-guide-panel__progress {
    flex: 0 0 auto;
    block-size: 4px;
    margin-block-start: 0;
    margin-inline: 18px;
}

.cs-guide-panel__progress-label {
    flex: 0 0 auto;
    margin: 8px 18px 4px;
    font-size: 12px;
    line-height: 1.35;
}

.cs-guide-panel__body {
    display: grid;
    gap: 7px;
    padding: 10px 12px 12px;
}

.cs-guide-step {
    grid-template-columns: 32px minmax(0, 1fr) 34px;
    gap: 11px;
    min-block-size: 66px;
    padding: 10px;
    background: rgba(255, 255, 255, .018);
    border-color: var(--trial-border, #142238);
    border-radius: 13px;
    font-family: inherit;
    cursor: pointer;
}

.cs-guide-step:hover,
.cs-guide-step:focus-visible,
.cs-guide-step--next {
    background: rgba(62, 139, 255, .09);
    border-color: rgba(62, 139, 255, .52);
    outline: none;
}

.cs-guide-step__icon {
    inline-size: 32px;
    block-size: 32px;
    border-radius: 10px;
}

.cs-guide-step__label {
    font-size: 14px;
    line-height: 1.2;
}

.cs-guide-step__desc {
    -webkit-line-clamp: 2;
    line-clamp: 2;
    margin-block-start: 4px;
    font-size: 12px;
    line-height: 1.35;
}

.cs-guide-step__play {
    min-inline-size: 34px;
    min-block-size: 34px;
    border-radius: 10px;
}

.cs-guide-step__play svg {
    inline-size: 15px;
    block-size: 15px;
}

.cs-guide-panel-admin-discover {
    flex: 0 0 auto;
    margin: 0 12px 10px;
    min-block-size: 38px;
    border-radius: 11px;
}

.cs-guide-panel__foot {
    flex: 0 0 auto;
    gap: 8px;
    padding: 10px 12px 12px;
    background: rgba(1, 7, 17, .28);
}

.cs-guide-panel__foot > button {
    min-block-size: 40px;
    border-color: var(--trial-border, #142238);
    border-radius: 11px;
    font-size: 11px;
}

.sg-journey-coach {
    inline-size: min(330px, calc(100vw - 24px));
    padding: 12px 34px 12px 12px;
    border-radius: 15px;
    box-shadow: 0 22px 70px rgba(0, 0, 0, .52);
}

.sg-journey-coach__actions {
    grid-column: 2;
}

.sg-journey-coach__primary {
    min-block-size: 36px;
    padding-inline: 14px;
}

.sg-driver-popover,
.driver-popover.sg-driver-popover {
    inline-size: min(380px, calc(100vw - 24px));
    max-inline-size: min(380px, calc(100vw - 24px));
    padding: 18px;
    border-color: rgba(62, 139, 255, .34);
    border-radius: 15px;
    box-shadow: 0 24px 72px rgba(0, 0, 0, .54);
}

.sg-driver-popover .driver-popover-title {
    font-size: 21px;
    line-height: 1.15;
}

.sg-driver-popover .driver-popover-description {
    margin-block-start: 6px;
    font-size: 13px;
    line-height: 1.45;
}

.sg-driver-progress-meta {
    gap: 7px;
}

.sg-driver-progress-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.sg-driver-progress-summary__item {
    overflow: hidden;
    color: var(--trial-muted, #aab5c7);
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sg-driver-progress-summary__item--page {
    color: var(--trial-bright, #3e8bff);
}

.sg-driver-popover .driver-popover-footer button {
    min-block-size: 38px;
    padding-inline: 14px;
    border-radius: 11px;
    font-size: 12px;
}

@media (max-width: 639px) {
    .cs-guide-fab {
        inset-block-end: calc(12px + env(safe-area-inset-bottom, 0px));
        inset-inline-end: 12px;
        min-inline-size: 110px;
    }

    .cs-guide-panel {
        inset-inline: 8px;
        inset-block-end: 8px;
        inline-size: auto;
        max-block-size: calc(100dvh - var(--trial-bar-h, 38px) - 16px);
        border-radius: 18px;
    }

    .cs-guide-panel__head {
        padding-inline: 16px;
    }

    .cs-guide-panel__body {
        padding-inline: 10px;
    }

    .sg-journey-coach {
        inset-inline: 8px;
        inset-block-end: 70px;
        inline-size: auto;
    }

    .sg-driver-popover,
    .driver-popover.sg-driver-popover {
        inline-size: min(350px, calc(100vw - 20px));
        padding: 16px;
    }

    #rs-trial-bar.trial-bar {
        grid-template-columns: auto 1fr auto;
        gap: 6px;
        padding-inline: 8px;
    }

    #rs-trial-bar .trial-bar__status,
    #rs-trial-bar .sr-center {
        display: flex;
        align-items: center;
        justify-content: center;
        min-inline-size: 0;
        gap: 6px;
        overflow: hidden;
    }

    #rs-trial-bar .trial-bar__tag,
    #rs-trial-bar .sr-tag {
        font-size: 10px;
        padding-inline: 7px 9px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    #rs-trial-bar .trial-bar__cta,
    #rs-trial-bar .sr-cta {
        flex-shrink: 0;
        padding-inline: 8px;
        font-size: 9px;
    }

    #rs-trial-bar .trial-bar__switch,
    #rs-trial-bar .sr-nav {
        min-inline-size: 0;
        padding-inline: 6px;
        font-size: 9px;
        gap: 4px;
    }
}

@media (max-width: 359px) {
    #rs-trial-bar .trial-bar__switch,
    #rs-trial-bar .sr-nav {
        gap: 3px;
        padding-inline: 4px;
        font-size: 8px;
    }

    #rs-trial-bar .trial-bar__switch svg,
    #rs-trial-bar .sr-nav svg {
        inline-size: 14px;
        block-size: 14px;
    }

    #rs-trial-bar .trial-bar__tag,
    #rs-trial-bar .sr-tag {
        font-size: 10px;
    }

    #rs-trial-bar .trial-bar__cta,
    #rs-trial-bar .sr-cta {
        padding-inline: 6px;
        font-size: 8px;
    }

    .cs-guide-panel__head,
    .sg-page-explore-offer__card,
    .sg-lang-guide-gate__card,
    .trial-mode-dialog__card {
        padding-inline: 14px;
    }

    .sg-lang-guide-gate__actions,
    .sg-page-explore-offer__actions,
    .trial-mode-dialog__actions {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        gap: 12px !important;
        margin-top: 20px !important;
    }

    .sg-page-explore-offer__primary,
    .sg-page-explore-offer-btn--primary,
    .sg-lang-guide-gate__primary,
    .trial-mode-dialog__btn--primary {
        order: 1 !important;
        width: 100% !important;
        min-height: 48px !important;
        font-size: 14px !important;
        margin: 0 !important;
    }

    .sg-page-explore-offer__secondary,
    .sg-page-explore-offer-btn:not(.sg-page-explore-offer-btn--primary),
    .sg-lang-guide-gate__secondary,
    .trial-mode-dialog__btn--secondary {
        order: 2 !important;
        width: 100% !important;
        min-height: 44px !important;
        font-size: 13px !important;
        margin: 0 !important;
    }

    .cs-guide-step {
        grid-template-columns: 25px minmax(0, 1fr) auto;
        gap: 7px;
    }
}

/* RTL relies on logical properties above; only the direction-sensitive icon
   alignment is flipped here. */
[dir="rtl"] #rs-trial-bar .trial-bar__tag::before,
[dir="rtl"] #rs-trial-bar .sr-tag b {
    order: 2;
}

@media (prefers-reduced-motion: reduce) {
    #rs-trial-bar *,
    .cs-guide-fab,
    .cs-guide-panel,
    .sg-journey-coach,
    .sg-page-explore-offer,
    .sg-page-explore-bar,
    .sg-lang-guide-gate,
    .sg-tip,
    .trial-empty-state,
    .trial-mode-dialog {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
    }

    .cs-guide-fab--pulse {
        animation: none !important;
    }
}

/* Trial support is browse-only: keep the composer visible, but explain the
   disabled action with the same native title/description on every control. */
.cp-page--support-command .scc-trial-banner {
    position: sticky;
    inset-block-start: var(--trial-bar-h, 0px);
    z-index: 25;
    display: flex;
    align-items: flex-start;
    gap: 9px;
    margin: 0 0 14px;
    padding: 10px 14px;
    color: var(--white, #f8fafc);
    font-family: var(--mono, "JetBrains Mono", monospace);
    font-size: 11px;
    line-height: 1.5;
    background: rgba(232, 25, 44, 0.12);
    border: 1px solid rgba(232, 25, 44, 0.35);
    border-inline-start: 3px solid var(--red, #e8192c);
}

.cp-page--support-command .scc-trial-banner__icon {
    display: inline-flex;
    flex: 0 0 1.2em;
    align-items: center;
    justify-content: center;
    color: var(--red, #e8192c);
    font-size: 16px;
    line-height: 1;
}

.cp-page--support-command .scc-trial-banner__icon svg,
.cp-page--support-command .scc-trial-badge__icon {
    width: 1em;
    height: 1em;
}

.cp-page--support-command .scc-trial-banner__copy {
    min-width: 0;
}

.cp-page--support-command.scc--trial-readonly .scc-trial-disabled {
    opacity: 0.48;
    cursor: not-allowed !important;
}

.cp-page--support-command .scc-qs-btn,
.cp-page--support-command #sccOpenModal,
.cp-page--support-command #sccOpenModalCompact,
.cp-page--support-command #sccOpenModalEmpty {
    position: relative;
}

.cp-page--support-command .scc-trial-badge {
    position: absolute;
    inset-block-start: 6px;
    inset-inline-end: 6px;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    max-width: calc(100% - 12px);
    padding: 2px 5px;
    color: #fca5a5;
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 0.05em;
    line-height: 1;
    text-transform: uppercase;
    background: rgba(232, 25, 44, 0.18);
    border: 1px solid rgba(232, 25, 44, 0.45);
    border-radius: 2px;
    pointer-events: none;
}

.cp-page--support-command .scc-trial-badge__label {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cp-page--support-command .scc-trial-reply-note,
.cp-page--support-command .scc-trial-compose-note {
    display: flex;
    align-items: flex-start;
    gap: 7px;
    margin: 0 0 10px;
    padding: 8px 10px;
    color: var(--txt2, #c0d8ec);
    font-size: 11px;
    line-height: 1.45;
    background: rgba(148, 163, 184, 0.08);
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 4px;
}

.trial-support-readonly {
    position: relative;
}

.trial-support-readonly__note {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 0 0 8px;
    color: var(--txt2, #b8cad9);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.trial-support-readonly__note .trial-mode__lock {
    width: 14px;
    height: 14px;
    color: var(--amber, #f59e0b);
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.trial-support-readonly :is(input, textarea, button):disabled {
    cursor: not-allowed;
    opacity: 0.58;
}

/* Outbound mail is intentionally off in every trial tenant. Do not present
   that expected state as a setup error on the first admin screen. */
.new-admin-dashboard-mail-alert {
    display: none !important;
}

@media (max-width: 900px) {
    .cp-page--support-command .scc-trial-banner {
        inset-block-start: var(--trial-bar-h, 0px);
        margin-block-end: 12px;
    }

    .cp-page--support-command .scc-filter-grid {
        display: flex;
        flex-direction: row;
        gap: 8px;
        overflow-x: auto;
        padding-block-end: 4px;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x proximity;
    }

    .cp-page--support-command .scc-filter-card {
        flex: 0 0 min(70vw, 200px);
        scroll-snap-align: start;
    }

    .cp-page--support-command .sp-wrap {
        min-height: min(52dvh, 420px);
        height: auto;
        max-height: none;
        overflow: visible;
    }

    .cp-page--support-command .sp-list {
        min-height: 260px;
        max-height: none;
    }

    .cp-page--support-command .sp-list-body {
        min-height: min(52dvh, 360px);
        max-height: none;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
}


/* -------------------------------------------------------------------------
   Guide overhaul — chrome suppression, panel readability, coach layout
   ------------------------------------------------------------------------- */

/* While a tour or a welcome dialog owns the screen, the FAB and coach must not
   float above the driver popover (they overlapped it on small viewports). */
body.sg-guide-chrome-suppressed .cs-guide-fab,
body.sg-guide-chrome-suppressed .sg-journey-coach,
body.sg-tour-active .cs-guide-fab,
body.sg-tour-active .sg-journey-coach {
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
}

body.cs-guide-panel-open {
    overflow: hidden;
}

.cs-guide-panel__progress-label {
    margin: 6px 16px 0;
    color: var(--trial-subtle, #7e8ca3);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .02em;
}

/* Step descriptions are full sentences now — wrap to two lines instead of
   truncating them to a single ellipsised line. */
.cs-guide-step__desc {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;
    white-space: normal;
    text-overflow: clip;
    line-height: 1.35;
}

.cs-guide-step {
    align-items: start;
}

.cs-guide-step--done {
    opacity: .9;
}

.cs-guide-step--next {
    border-color: rgba(62, 139, 255, .38);
    background: rgba(62, 139, 255, .07);
}

/* The footer buttons were clipped by the panel edge on narrow panels. */
.cs-guide-panel__foot {
    flex-wrap: wrap;
    justify-content: flex-end;
    padding-inline: 14px;
}

.cs-guide-panel__foot > button {
    flex: 0 0 auto;
    min-inline-size: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cs-guide-panel__reset {
    min-block-size: 34px !important;
    padding-inline: 14px !important;
    color: var(--trial-subtle, #7e8ca3) !important;
    background: transparent !important;
}

.cs-guide-panel__reset:hover,
.cs-guide-panel__reset:focus-visible {
    color: var(--trial-text, #f3f6fb) !important;
    border-color: rgba(62, 139, 255, .42) !important;
}

.sg-driver-popover .driver-popover-close-btn {
    display: inline-grid !important;
    place-items: center;
    inline-size: 32px;
    block-size: 32px;
    padding: 0;
    border-radius: 9px;
    line-height: 1;
}

/* Coach dismiss control: pinned to the card corner so it never wraps onto its
   own centered line on mobile. */
.sg-journey-coach {
    position: fixed;
    padding-inline-end: 32px;
}

.sg-journey-coach__close {
    position: absolute;
    inset-block-start: 6px;
    inset-inline-end: 6px;
    min-inline-size: 24px;
    min-block-size: 24px;
    padding: 0;
    line-height: 1;
}

@media (max-width: 639px) {
    .sg-journey-coach__actions {
        flex-wrap: nowrap;
        overflow: hidden;
    }

    .sg-journey-coach__actions > button,
    .sg-journey-coach__actions > a {
        min-inline-size: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .sg-driver-popover,
    .driver-popover.sg-driver-popover {
        inline-size: calc(100vw - 24px);
        max-inline-size: 380px;
        padding: 14px;
    }
}

/* -------------------------------------------------------------------------
   Trial command bar — compact context, nearby role switching, safe layering.
   Kept after legacy responsive rules so this is the single rendered contract.
   ------------------------------------------------------------------------- */
body.customer-ui-new.new-panel,
body.admin-surface.admin-ui-new,
body.customer-login-new,
body.admin-login-new,
body.rs-auth,
body.rs-login-body {
    --trial-bar-h: 42px;
}

#rs-trial-bar.trial-bar {
    z-index: 1030;
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 10px;
    block-size: var(--trial-bar-h, 42px);
    min-block-size: var(--trial-bar-h, 42px);
    max-block-size: var(--trial-bar-h, 42px);
    padding: 4px clamp(8px, 1.6vw, 18px);
    background: color-mix(in srgb, #071426 94%, transparent);
    border-block-end: 1px solid color-mix(in srgb, var(--trial-primary, #0964f5) 45%, #1d314d);
    box-shadow: 0 8px 24px rgba(1, 7, 17, .24);
    -webkit-backdrop-filter: blur(14px) saturate(1.15);
    backdrop-filter: blur(14px) saturate(1.15);
}

#rs-trial-bar.trial-bar::before {
    inset-block: 7px;
    inset-inline-start: 0;
    inline-size: 2px;
    block-size: auto;
    background: var(--trial-bright, #3e8bff);
    border-radius: 0 999px 999px 0;
    box-shadow: 0 0 14px rgba(62, 139, 255, .58);
}

#rs-trial-bar .trial-bar__status,
#rs-trial-bar .sr-center {
    justify-self: start;
    gap: 0;
    overflow: hidden;
}

#rs-trial-bar .trial-bar__tag,
#rs-trial-bar .sr-tag {
    gap: 8px;
    overflow: hidden;
    color: var(--trial-text, #f3f6fb);
    font-family: var(--trial-font-body, "Nunito", system-ui, sans-serif);
    font-size: 10px;
    letter-spacing: .05em;
    text-overflow: ellipsis;
}

#rs-trial-bar .trial-bar__tag::before,
#rs-trial-bar .sr-tag::before {
    display: none;
    content: none;
}

#rs-trial-bar .trial-bar__state-dot {
    inline-size: 7px;
    block-size: 7px;
    flex: 0 0 7px;
    background: var(--trial-success, #0ab878);
    border-radius: 50%;
    box-shadow: 0 0 0 3px rgba(10, 184, 120, .12), 0 0 10px rgba(10, 184, 120, .4);
}

#rs-trial-bar .trial-bar__mode {
    overflow: hidden;
    color: var(--trial-text, #f3f6fb);
    font-family: var(--trial-font-mono, "JetBrains Mono", monospace);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .1em;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#rs-trial-bar .trial-bar__remaining {
    display: inline-flex;
    min-block-size: 24px;
    align-items: center;
    padding-inline: 9px;
    overflow: hidden;
    color: var(--trial-muted, #aab5c7);
    background: rgba(148, 163, 184, .08);
    border: 1px solid rgba(148, 163, 184, .16);
    border-radius: 999px;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .04em;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#rs-trial-bar .trial-bar__switcher {
    display: inline-flex;
    align-items: center;
    justify-self: center;
    gap: 2px;
    padding: 2px;
    background: rgba(2, 8, 18, .62);
    border: 1px solid rgba(148, 163, 184, .18);
    border-radius: 10px;
}

#rs-trial-bar .trial-bar__switch,
#rs-trial-bar .sr-nav {
    justify-self: auto;
    gap: 6px;
    min-inline-size: 0;
    min-block-size: 30px;
    padding: 5px 10px;
    color: var(--trial-subtle, #7e8ca3);
    border: 0;
    border-radius: 7px;
    font-size: 9px;
    letter-spacing: .06em;
}

#rs-trial-bar .trial-bar__switch:last-child,
#rs-trial-bar .sr-nav:last-child {
    justify-self: auto;
}

#rs-trial-bar .trial-bar__switch:hover,
#rs-trial-bar .trial-bar__switch:focus-visible,
#rs-trial-bar .sr-nav:hover,
#rs-trial-bar .sr-nav:focus-visible {
    color: var(--trial-text, #f3f6fb);
    background: rgba(62, 139, 255, .1);
    border-color: transparent;
}

#rs-trial-bar .trial-bar__switch.is-active {
    color: #f7fbff;
    background: color-mix(in srgb, var(--trial-primary, #0964f5) 78%, #10233d);
    box-shadow: 0 4px 12px rgba(3, 16, 39, .3);
}

#rs-trial-bar .trial-bar__switch svg,
#rs-trial-bar .sr-nav svg {
    inline-size: 14px;
    block-size: 14px;
}

#rs-trial-bar .trial-bar__cta,
#rs-trial-bar .sr-cta {
    justify-self: end;
    gap: 7px;
    min-block-size: 32px;
    padding: 6px 12px;
    color: #f7fbff;
    background: color-mix(in srgb, var(--trial-primary, #0964f5) 84%, #173a66);
    border-color: color-mix(in srgb, var(--trial-bright, #3e8bff) 58%, transparent);
    border-radius: 9px;
    box-shadow: 0 5px 15px rgba(3, 31, 77, .26);
    font-size: 9px;
    letter-spacing: .05em;
}

#rs-trial-bar .trial-bar__cta svg,
#rs-trial-bar .sr-cta svg {
    inline-size: 14px;
    block-size: 14px;
    flex: 0 0 14px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

#rs-trial-bar.trial-bar--urgent .trial-bar__state-dot,
#rs-trial-bar.sr-bar--urgent .trial-bar__state-dot {
    background: var(--trial-warn, #f0a51a);
    box-shadow: 0 0 0 3px rgba(240, 165, 26, .12), 0 0 10px rgba(240, 165, 26, .4);
}

#rs-trial-bar.trial-bar--expired .trial-bar__state-dot,
#rs-trial-bar.sr-bar--expired .trial-bar__state-dot {
    background: var(--trial-danger, #dd4656);
    box-shadow: 0 0 0 3px rgba(221, 70, 86, .12), 0 0 10px rgba(221, 70, 86, .4);
}

@media (max-width: 639px) {
    #rs-trial-bar.trial-bar {
        grid-template-columns: minmax(0, 1fr) auto auto;
        gap: 5px;
        padding-block: 1px;
        padding-inline: 6px;
    }

    #rs-trial-bar .trial-bar__tag,
    #rs-trial-bar .sr-tag {
        gap: 5px;
        padding: 0;
        font-size: 9px;
    }

    #rs-trial-bar .trial-bar__remaining {
        min-block-size: 22px;
        padding-inline: 7px;
        font-size: 8px;
    }

    #rs-trial-bar .trial-bar__switch,
    #rs-trial-bar .sr-nav {
        gap: 0;
        min-inline-size: 40px;
        min-block-size: 40px;
        padding-inline: 8px;
        font-size: 0;
    }

    #rs-trial-bar .trial-bar__switcher {
        padding: 0;
    }

    #rs-trial-bar .trial-bar__switch span,
    #rs-trial-bar .sr-nav span {
        display: none;
    }

    #rs-trial-bar .trial-bar__cta,
    #rs-trial-bar .sr-cta {
        min-inline-size: 40px;
        min-block-size: 40px;
        padding-inline: 8px;
    }
}

@media (max-width: 359px) {
    #rs-trial-bar .trial-bar__mode {
        display: none;
    }
}

@media (max-width: 299px) {
    #rs-trial-bar .trial-bar__cta span,
    #rs-trial-bar .sr-cta span {
        display: none;
    }
}

html[data-theme="light"] #rs-trial-bar.trial-bar {
    --trial-text: #182b45;
    --trial-muted: #465a73;
    --trial-subtle: #52657c;
    color-scheme: light;
    background: rgba(248, 251, 255, .96);
    border-block-end-color: #c7d7ec;
    box-shadow: 0 4px 16px rgba(24, 43, 69, .08);
}

html[data-theme="light"] #rs-trial-bar .trial-bar__remaining {
    color: #465a73;
    background: #edf3fa;
    border-color: #cbd8e8;
}

html[data-theme="light"] #rs-trial-bar .trial-bar__switcher {
    background: #eaf1f9;
    border-color: #cbd8e8;
}

html[data-theme="light"] #rs-trial-bar .trial-bar__switch:hover,
html[data-theme="light"] #rs-trial-bar .trial-bar__switch:focus-visible {
    color: #173a66;
    background: #dbe9fa;
}

html[data-theme="light"] #rs-trial-bar .trial-bar__switch.is-active {
    color: #fff;
    background: var(--trial-primary, #0964f5);
    box-shadow: 0 2px 6px rgba(9, 100, 245, .16);
}
