:root {
    --crewbyte-blue: #2c8fe5;
    --crewbyte-blue-strong: #1474c5;
    --crewbyte-blue-soft: #eaf5ff;
    --crewbyte-blue-pale: #f3f9fe;
    --crewbyte-navy: #0c2a5e;
    --crewbyte-navy-deep: #071d42;
    --crewbyte-navy-soft: #143b75;
    --crewbyte-ink: #0b1d3a;
    --crewbyte-muted: #60758a;
    --crewbyte-line: #d7e5f0;
    --crewbyte-line-strong: #c6dbea;
    --crewbyte-canvas: #f4f8fc;
    --crewbyte-surface: #ffffff;
    --crewbyte-surface-tint: #f8fbff;
    --crewbyte-shadow-sm: 0 10px 28px rgba(12, 42, 94, 0.075), 0 2px 7px rgba(44, 143, 229, 0.025);
    --crewbyte-shadow-md: 0 16px 40px rgba(12, 42, 94, 0.09), 0 4px 12px rgba(44, 143, 229, 0.035);
    --crewbyte-shadow-lg: 0 24px 64px rgba(12, 42, 94, 0.13), 0 6px 18px rgba(44, 143, 229, 0.045);

    --ink: var(--crewbyte-ink);
    --ink-deep: var(--crewbyte-navy);
    --violet: var(--crewbyte-blue);
    --violet-dark: var(--crewbyte-blue-strong);
    --violet-soft: var(--crewbyte-blue-soft);
    --purple: var(--crewbyte-blue);
    --purple-dark: var(--crewbyte-blue-strong);
    --purple-soft: var(--crewbyte-blue-soft);

    --cb-bg: var(--crewbyte-canvas);
    --cb-line: var(--crewbyte-line);
    --cb-line-strong: var(--crewbyte-line-strong);
    --cb-surface: var(--crewbyte-surface);
    --cb-surface-soft: var(--crewbyte-surface-tint);
    --cb-text: var(--crewbyte-ink);
    --cb-text-soft: var(--crewbyte-muted);
    --cb-text-muted: var(--crewbyte-muted);
    --cb-purple: var(--crewbyte-blue);
    --cb-purple-strong: var(--crewbyte-blue-strong);
    --cb-purple-soft: var(--crewbyte-blue-soft);
    --cb-shadow: var(--crewbyte-shadow-md);

    --hub-bg: var(--crewbyte-canvas);
    --hub-line: var(--crewbyte-line);
    --hub-muted: var(--crewbyte-muted);

    --help-purple: var(--crewbyte-blue);
    --help-purple-soft: var(--crewbyte-blue-soft);
    --help-canvas: var(--crewbyte-canvas);
    --careers-purple: var(--crewbyte-blue);
    --careers-purple-dark: var(--crewbyte-blue-strong);
    --careers-purple-soft: var(--crewbyte-blue-soft);
    --dev-purple: var(--crewbyte-blue);
    --dev-purple-dark: var(--crewbyte-blue-strong);
    --dev-purple-soft: var(--crewbyte-blue-soft);
    --roadmap-purple: var(--crewbyte-blue);
    --roadmap-purple-dark: var(--crewbyte-blue-strong);
    --roadmap-purple-soft: var(--crewbyte-blue-soft);
}

::selection {
    color: #fff;
    background: var(--crewbyte-blue);
}

.cb-availability-v2,
.cb-modal.cb-availability-v2-modal {
    --availability-purple: var(--crewbyte-blue);
    --availability-purple-dark: var(--crewbyte-blue-strong);
    --availability-purple-soft: var(--crewbyte-blue-soft);
}

.cb-settings-v3 {
    --settings-purple: var(--crewbyte-blue);
    --settings-purple-dark: var(--crewbyte-blue-strong);
    --settings-purple-soft: var(--crewbyte-blue-soft);
}

.cb-onboarding-v2 {
    --onboarding-purple: var(--crewbyte-blue);
    --onboarding-line: var(--crewbyte-line);
}

.cb-website-chat {
    --chat-purple: var(--crewbyte-blue);
    --chat-purple-dark: var(--crewbyte-blue-strong);
    --chat-navy: var(--crewbyte-navy);
}

/* Public website and legal pages */
.landing-page .site-header,
.privacy-page .site-header,
.legal-page .site-header,
.why-page .site-header,
.landing-page.release-preview .site-header {
    border-bottom-color: rgba(255, 255, 255, 0.1);
    background: var(--crewbyte-navy);
    box-shadow: 0 10px 30px rgba(12, 42, 94, 0.16);
}

.landing-page .site-header.is-scrolled,
.privacy-page .site-header.is-scrolled,
.legal-page .site-header.is-scrolled,
.why-page .site-header.is-scrolled,
.landing-page.release-preview .site-header.is-scrolled {
    border-bottom-color: rgba(255, 255, 255, 0.12);
    background: var(--crewbyte-navy);
    box-shadow: 0 12px 34px rgba(12, 42, 94, 0.22);
}

.landing-page .announcement-bar,
.privacy-page .announcement-bar,
.legal-page .announcement-bar,
.why-page .announcement-bar {
    color: #fff;
    background: var(--crewbyte-navy-deep);
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

.landing-page .announcement-bar a,
.privacy-page .announcement-bar a,
.legal-page .announcement-bar a,
.why-page .announcement-bar a {
    color: #fff;
}

.brand-mark.is-wordmark {
    display: block;
    width: 225px;
    height: 70px;
    overflow: visible;
    border-radius: 0;
    background: transparent;
}

.brand-mark.is-wordmark img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.landing-page .site-header .nav-links a,
.privacy-page .site-header .nav-links a,
.legal-page .site-header .nav-links a,
.why-page .site-header .nav-links a,
.landing-page .site-header .button-quiet,
.privacy-page .site-header .button-quiet,
.legal-page .site-header .button-quiet,
.why-page .site-header .button-quiet {
    color: rgba(255, 255, 255, 0.76);
}

.landing-page .site-header .nav-links a:hover,
.privacy-page .site-header .nav-links a:hover,
.legal-page .site-header .nav-links a:hover,
.why-page .site-header .nav-links a:hover,
.landing-page .site-header .button-quiet:hover,
.privacy-page .site-header .button-quiet:hover,
.legal-page .site-header .button-quiet:hover,
.why-page .site-header .button-quiet:hover {
    color: #fff;
}

.landing-page .site-header .nav-toggle,
.privacy-page .site-header .nav-toggle,
.legal-page .site-header .nav-toggle,
.why-page .site-header .nav-toggle {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.08);
}

.button-primary,
.cb-auth-submit,
.cb-btn-primary,
.cb-pill-cta,
.cb-modal-submit {
    background: linear-gradient(135deg, var(--crewbyte-blue) 0%, var(--crewbyte-blue-strong) 100%);
    box-shadow: 0 14px 30px rgba(44, 143, 229, 0.22);
}

.button-primary:hover,
.cb-auth-submit:hover,
.cb-btn-primary:hover,
.cb-pill-cta:hover,
.cb-modal-submit:hover {
    background: var(--crewbyte-blue-strong);
}

/* Workspace application */
.cb-sidebar {
    color: #fff;
    background: var(--crewbyte-navy) !important;
    border-right-color: rgba(255, 255, 255, 0.09) !important;
    box-shadow: 16px 0 40px rgba(12, 42, 94, 0.08);
}

.cb-sidebar-brand {
    min-height: 72px;
    margin: 0 0 12px;
    padding: 0 10px 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background: transparent;
}

.cb-sidebar-brand-wordmark-image {
    display: block;
    width: 196px;
    height: 66px;
    object-fit: contain;
    object-position: left center;
}

.cb-sidebar-scroll::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2) !important;
}

.cb-sidebar .cb-nav-group h2 {
    color: rgba(159, 211, 251, 0.74) !important;
}

.cb-sidebar .cb-nav-link {
    color: rgba(255, 255, 255, 0.75) !important;
}

.cb-sidebar .cb-nav-link:hover {
    color: #fff !important;
    background: rgba(255, 255, 255, 0.09) !important;
}

.cb-shell,
.cb-page-shell,
.cb-auth-shell {
    background-color: var(--crewbyte-canvas);
}

.cb-nav-link.is-active {
    color: #fff !important;
    background: var(--crewbyte-blue) !important;
    box-shadow: 0 10px 24px rgba(3, 24, 59, 0.24);
}

.cb-sidebar-footer {
    border-top-color: rgba(255, 255, 255, 0.11) !important;
}

.cb-sidebar .cb-nav-lock {
    color: rgba(255, 255, 255, 0.58);
}

.cb-topbar {
    color: #fff;
    background: var(--crewbyte-navy) !important;
    border-bottom-color: rgba(255, 255, 255, 0.1) !important;
    box-shadow: 0 12px 30px rgba(12, 42, 94, 0.1);
}

.cb-topbar-close,
.cb-topbar-search-icon,
.cb-topbar-chip-icon,
.cb-topbar-user-chevron {
    color: rgba(255, 255, 255, 0.7) !important;
}

.cb-topbar-search input,
.cb-topbar-chip,
.cb-topbar-icon-button,
.cb-topbar-user,
.cb-topbar-notification-menu[open] .cb-topbar-icon-button,
.cb-topbar-user-menu[open] .cb-topbar-user {
    color: #fff !important;
    border-color: rgba(255, 255, 255, 0.16) !important;
    background: rgba(255, 255, 255, 0.08) !important;
}

.cb-topbar-search input::placeholder,
.cb-topbar-search-shortcut,
.cb-topbar-user-copy small {
    color: rgba(255, 255, 255, 0.58) !important;
}

.cb-topbar-search-wrap .cb-topbar-search input:focus {
    color: #fff;
    border-color: rgba(159, 211, 251, 0.7);
    background: rgba(255, 255, 255, 0.12);
    outline: 3px solid rgba(44, 143, 229, 0.2);
}

.cb-topbar-select-chip select,
.cb-topbar-user-copy strong {
    color: #fff !important;
}

.cb-topbar-select-chip select option {
    color: var(--crewbyte-ink);
    background: #fff;
}

.cb-topbar-alert-dot {
    border-color: var(--crewbyte-navy);
}

.cb-auth-frame {
    display: grid;
    grid-template-columns: minmax(320px, 0.9fr) minmax(440px, 1.1fr);
    width: min(100%, 1040px);
    min-height: 680px;
    overflow: hidden;
    border: 1px solid rgba(12, 42, 94, 0.1);
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 28px 80px rgba(12, 42, 94, 0.15);
}

.cb-auth-shell {
    padding: 32px;
    background: var(--crewbyte-canvas) !important;
}

.cb-auth-brand-panel {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-width: 0;
    overflow: hidden;
    padding: 46px 44px 38px;
    color: #fff;
    background: var(--crewbyte-navy);
}

.cb-auth-brand-panel::after {
    content: "";
    position: absolute;
    right: -92px;
    bottom: 76px;
    width: 250px;
    height: 250px;
    border: 54px solid rgba(44, 143, 229, 0.22);
    border-radius: 50%;
    pointer-events: none;
}

.cb-auth-brand-wordmark {
    position: relative;
    z-index: 1;
    display: block;
    width: 232px;
    height: 80px;
    overflow: visible;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.cb-auth-brand-wordmark img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: left center;
}

.cb-auth-brand-message {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 16px;
    align-self: center;
}

.cb-auth-brand-message span {
    color: #9fd3fb;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.cb-auth-brand-message h1 {
    max-width: 390px;
    margin: 0;
    color: #fff;
    font-size: 56px;
    line-height: 1;
    letter-spacing: 0;
}

.cb-auth-brand-message p {
    max-width: 330px;
    margin: 0;
    color: rgba(255, 255, 255, 0.68);
    font-size: 16px;
    line-height: 1.65;
}

.cb-auth-brand-signature {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255, 255, 255, 0.68);
    font-size: 12px;
    font-weight: 700;
}

.cb-auth-brand-signature img {
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 50%;
}

.cb-auth-content {
    display: grid;
    place-items: center;
    min-width: 0;
    padding: 48px 54px;
}

.cb-auth-content .cb-auth-panel {
    width: min(100%, 420px);
    padding-top: 0;
}

.cb-auth-content .cb-auth-card {
    border-radius: 12px;
    box-shadow: 0 18px 44px rgba(12, 42, 94, 0.08);
}

/* Hub */
body.cb-hub-shell-body {
    --hub-purple: var(--crewbyte-blue);
    --hub-purple-dark: var(--crewbyte-blue-strong);
    --hub-purple-soft: var(--crewbyte-blue-soft);
    --hub-bg: var(--crewbyte-canvas);
    background: var(--crewbyte-canvas) !important;
}

body.cb-hub-shell-body .cb-hub-v2-shell {
    background: var(--crewbyte-canvas) !important;
}

body.cb-hub-shell-body .cb-hub-v2-sidebar {
    color: #fff !important;
    background: var(--crewbyte-navy) !important;
    border-right-color: rgba(255, 255, 255, 0.09) !important;
    box-shadow: 16px 0 40px rgba(12, 42, 94, 0.09) !important;
}

body.cb-hub-shell-body .cb-hub-v2-sidebar::before {
    background: var(--crewbyte-navy) !important;
}

body.cb-hub-shell-body .cb-hub-v2-brand {
    gap: 8px !important;
    height: 76px !important;
    min-height: 76px !important;
    margin: 0 8px 10px !important;
    padding: 0 4px 12px !important;
    border-bottom-color: rgba(255, 255, 255, 0.1) !important;
    background: transparent !important;
}

body.cb-hub-shell-body .cb-hub-v2-brand-wordmark-image {
    display: block !important;
    width: 136px !important;
    height: 64px !important;
    object-fit: contain !important;
    object-position: left center !important;
}

body.cb-hub-shell-body .cb-hub-v2-brand-copy,
body.cb-hub-shell-body .cb-hub-v2-brand-copy strong {
    display: block !important;
    color: #9fd3fb !important;
    font-size: 12px !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase !important;
    white-space: nowrap;
}

body.cb-hub-shell-body .cb-hub-v2-nav-label {
    color: rgba(159, 211, 251, 0.7) !important;
}

body.cb-hub-shell-body .cb-hub-v2-nav-link {
    color: rgba(255, 255, 255, 0.74) !important;
}

body.cb-hub-shell-body .cb-hub-v2-nav-link.is-active {
    color: #fff !important;
    border-color: transparent !important;
    background: var(--crewbyte-blue) !important;
    box-shadow: 0 10px 22px rgba(4, 22, 54, 0.25) !important;
}

body.cb-hub-shell-body .cb-hub-v2-nav-link:hover {
    color: #fff !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
    background: rgba(255, 255, 255, 0.09) !important;
}

body.cb-hub-shell-body .cb-hub-v2-sidebar-footer {
    border-top-color: rgba(255, 255, 255, 0.11) !important;
    background: transparent !important;
}

body.cb-hub-shell-body .cb-hub-v2-account-avatar {
    color: #fff !important;
    background: rgba(255, 255, 255, 0.11) !important;
}

body.cb-hub-shell-body .cb-hub-v2-account-copy strong {
    color: #fff !important;
}

body.cb-hub-shell-body .cb-hub-v2-account-copy small,
body.cb-hub-shell-body .cb-hub-v2-collapse {
    color: rgba(255, 255, 255, 0.65) !important;
}

body.cb-hub-shell-body .cb-hub-v2-collapse:hover {
    color: #fff !important;
    background: rgba(255, 255, 255, 0.09) !important;
}

body.cb-hub-shell-body .cb-hub-v2-topbar {
    color: #fff !important;
    background: var(--crewbyte-navy) !important;
    border-bottom-color: rgba(255, 255, 255, 0.1) !important;
    box-shadow: 0 12px 30px rgba(12, 42, 94, 0.1) !important;
}

body.cb-hub-shell-body .cb-hub-v2-breadcrumb,
body.cb-hub-shell-body .cb-hub-v2-breadcrumb strong {
    color: #fff !important;
}

body.cb-hub-shell-body .cb-hub-v2-breadcrumb span {
    color: rgba(255, 255, 255, 0.42) !important;
}

body.cb-hub-shell-body .cb-hub-v2-search {
    border-color: rgba(255, 255, 255, 0.16) !important;
    background: rgba(255, 255, 255, 0.08) !important;
}

body.cb-hub-shell-body .cb-hub-v2-search input,
body.cb-hub-shell-body .cb-hub-v2-search span,
body.cb-hub-shell-body .cb-hub-v2-search svg,
body.cb-hub-shell-body .cb-hub-v2-search kbd {
    color: rgba(255, 255, 255, 0.74) !important;
}

body.cb-hub-shell-body .cb-hub-v2-search kbd {
    min-width: 0 !important;
    height: auto !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
}

body.cb-hub-shell-body .cb-hub-v2-search input::placeholder {
    color: rgba(255, 255, 255, 0.55) !important;
}

body.cb-hub-shell-body .cb-hub-v2-icon-button {
    color: rgba(255, 255, 255, 0.8) !important;
    border-color: rgba(255, 255, 255, 0.14) !important;
    background: rgba(255, 255, 255, 0.08) !important;
}

body.cb-hub-shell-body .cb-hub-v2-quick-action {
    color: #fff !important;
    background: var(--crewbyte-blue) !important;
}

body.cb-hub-shell-body .cb-hub-v2-operational {
    color: #b9f6dc !important;
}

body.cb-hub-shell-body .cb-hub-v2-topbar-avatar {
    color: var(--crewbyte-navy) !important;
    background: #fff !important;
}

body.cb-hub-v2-login-body {
    background: var(--crewbyte-canvas) !important;
}

body.cb-hub-v2-login-body .cb-hub-v2-login-header {
    min-height: 76px !important;
    color: #fff !important;
    background: var(--crewbyte-navy) !important;
}

body.cb-hub-v2-login-body .cb-hub-v2-login-brand {
    color: #fff !important;
}

body.cb-hub-v2-login-body .cb-hub-v2-login-wordmark-image {
    display: block !important;
    width: 174px !important;
    height: 70px !important;
    object-fit: contain !important;
}

body.cb-hub-v2-login-body .cb-hub-v2-login-brand-copy strong {
    color: #fff !important;
}

body.cb-hub-v2-login-body .cb-hub-v2-login-status {
    color: rgba(255, 255, 255, 0.78) !important;
    border-color: rgba(255, 255, 255, 0.15) !important;
    background: rgba(255, 255, 255, 0.07) !important;
    box-shadow: none !important;
}

/* Setup and location selection */
.cb-onboarding-v2-brand,
.cb-location-picker-brand {
    min-height: 58px;
    padding: 0;
    border-radius: 0;
    color: #fff;
    background: transparent;
}

.cb-onboarding-v2-wordmark-image,
.cb-onboarding-brand-wordmark-image {
    display: block;
    width: 164px;
    max-width: 164px;
    height: 56px;
    object-fit: contain;
}

.cb-onboarding-v2-brand > span:last-child {
    color: rgba(255, 255, 255, 0.72);
    border-left-color: rgba(255, 255, 255, 0.2);
}

.cb-onboarding-v2-topbar,
.cb-location-picker-topbar {
    min-height: 82px;
    padding: 0 22px !important;
    color: #fff;
    border: 0 !important;
    border-radius: 10px;
    background: var(--crewbyte-navy);
    box-shadow: 0 18px 46px rgba(12, 42, 94, 0.14);
}

.cb-onboarding-v2-topbar a,
.cb-location-picker-topbar a {
    color: #fff;
}

.cb-onboarding-v2-topbar .cb-onboarding-v2-account,
.cb-location-picker-topbar .cb-location-picker-account {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.08);
}

.cb-location-picker {
    background: linear-gradient(180deg, #f3f9fe 0%, #f8fbfd 58%, #f3faf7 100%);
}

.cb-location-picker-avatar {
    background: var(--crewbyte-blue);
}

/* Help Centre */
.help-header {
    color: #fff;
    border-bottom-color: rgba(255, 255, 255, 0.1);
    background: var(--crewbyte-navy);
    box-shadow: 0 10px 30px rgba(12, 42, 94, 0.12);
}

.help-brand__wordmark {
    display: block;
    width: 164px;
    height: 60px;
    object-fit: contain;
}

.help-brand__divider {
    background: rgba(255, 255, 255, 0.2);
}

.help-brand__product,
.help-primary-nav a,
.help-sign-in,
.help-staff-link,
.help-header .icon-button {
    color: rgba(255, 255, 255, 0.76);
}

.help-primary-nav a:hover,
.help-primary-nav a.is-active,
.help-sign-in:hover,
.help-staff-link:hover,
.help-staff-link.is-active {
    color: #fff;
    background: rgba(255, 255, 255, 0.09);
}

.help-header-search input {
    color: var(--crewbyte-ink);
    background: #fff;
    border-color: rgba(255, 255, 255, 0.2);
}

/* Careers */
.cb-careers-header,
.cb-careers-header.is-scrolled,
.is-manage .cb-careers-header,
.is-manage .cb-careers-header.is-scrolled {
    color: #fff;
    border-bottom-color: rgba(255, 255, 255, 0.1);
    background: var(--crewbyte-navy);
    box-shadow: 0 10px 30px rgba(12, 42, 94, 0.12);
}

.cb-careers-brand-wordmark {
    display: block;
    width: 170px;
    height: 66px;
    object-fit: contain;
}

.cb-careers-brand-divider {
    background: rgba(255, 255, 255, 0.2);
}

.cb-careers-brand-product,
.cb-careers-nav a,
.cb-careers-login-link {
    color: rgba(255, 255, 255, 0.76);
}

.cb-careers-nav a:hover,
.cb-careers-nav a.is-active,
.cb-careers-login-link:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.09);
}

.cb-careers-footer .cb-careers-brand-wordmark {
    width: 190px;
    height: 68px;
}

/* Developer */
.cb-dev-brand {
    align-items: center;
    gap: 7px;
    margin-inline: 0;
}

.cb-dev-sidebar {
    background: var(--crewbyte-navy) !important;
}

.cb-dev-brand-wordmark {
    display: block;
    width: 184px;
    height: 66px;
    object-fit: contain;
}

.cb-dev-brand em {
    color: #9fd3fb;
}

.cb-dev-nav a.is-active {
    color: #fff !important;
    border-color: transparent !important;
    background: var(--crewbyte-blue) !important;
    box-shadow: 0 10px 24px rgba(4, 22, 54, 0.24) !important;
}

.cb-dev-sidebar-label {
    color: rgba(159, 211, 251, 0.68) !important;
}

.cb-dev-auth-brand {
    min-height: 62px;
    padding: 0;
    border-radius: 0;
    color: #fff;
    background: transparent;
}

.cb-dev-auth-brand-wordmark {
    display: block;
    width: 174px;
    height: 60px;
    object-fit: contain;
}

.cb-dev-auth-brand em {
    color: #9fd3fb;
    border-left-color: rgba(255, 255, 255, 0.2);
}

/* Templates */
.cb-templates-body .site-header {
    color: #fff;
    border-bottom-color: rgba(255, 255, 255, 0.1);
    background: var(--crewbyte-navy);
    box-shadow: 0 10px 30px rgba(12, 42, 94, 0.12);
}

.cb-templates-body .brand {
    min-width: 230px;
}

.cb-templates-body .brand-wordmark {
    display: block;
    width: 170px;
    height: 66px;
    object-fit: contain;
}

.cb-templates-body .brand-product {
    color: rgba(255, 255, 255, 0.74);
    border-left-color: rgba(255, 255, 255, 0.2);
}

.cb-templates-body .site-navigation > a,
.cb-templates-body .site-navigation .nav-crewbyte {
    color: rgba(255, 255, 255, 0.76);
}

.cb-templates-body .site-navigation > a:hover,
.cb-templates-body .site-navigation > a[aria-current="page"] {
    color: #fff;
}

.cb-templates-body .header-search input {
    background: #fff;
}

/* Public roadmap */
.cb-roadmap-header {
    color: #fff;
    border-bottom-color: rgba(255, 255, 255, 0.1);
    background: var(--crewbyte-navy);
    box-shadow: 0 10px 30px rgba(12, 42, 94, 0.12);
}

.cb-roadmap-brand-wordmark {
    display: block;
    width: 170px;
    height: 66px;
    object-fit: contain;
}

.cb-roadmap-brand-divider {
    background: rgba(255, 255, 255, 0.2);
}

.cb-roadmap-brand-product,
.cb-roadmap-nav a {
    color: rgba(255, 255, 255, 0.76);
}

.cb-roadmap-nav a:hover,
.cb-roadmap-nav a.is-active {
    color: #fff;
    background: rgba(255, 255, 255, 0.09);
}

.cb-roadmap-brand.is-footer {
    padding: 0;
    border-radius: 0;
    background: transparent;
}

/* Light enterprise surface system */
body.cb-shell-body,
body.cb-shell-body .cb-shell,
body.cb-shell-body .cb-shell-main,
body.cb-shell-body .cb-page-shell,
body.cb-hub-shell-body,
body.cb-hub-shell-body .cb-hub-v2-shell,
body.cb-hub-shell-body .cb-hub-v2-main,
body.cb-hub-shell-body .cb-hub-v2-content {
    background-color: var(--crewbyte-canvas) !important;
}

body.cb-shell-body:not(.cb-hub-shell-body) .cb-card,
body.cb-shell-body:not(.cb-hub-shell-body) .cb-panel,
body.cb-shell-body:not(.cb-hub-shell-body) .cb-stat-card,
body.cb-shell-body:not(.cb-hub-shell-body) .cb-table-shell,
body.cb-shell-body:not(.cb-hub-shell-body) .cb-list-shell,
body.cb-shell-body:not(.cb-hub-shell-body) .cb-surface,
body.cb-shell-body:not(.cb-hub-shell-body) .cb-dash-ref-card,
body.cb-shell-body:not(.cb-hub-shell-body) .cb-dash-ref-live-clock,
body.cb-shell-body:not(.cb-hub-shell-body) .cb-staff-v2-directory,
body.cb-shell-body:not(.cb-hub-shell-body) .cb-availability-v2-directory,
body.cb-shell-body:not(.cb-hub-shell-body) .cb-ops-v2-panel,
body.cb-shell-body:not(.cb-hub-shell-body) .cb-settings-v3-surface,
body.cb-shell-body:not(.cb-hub-shell-body) .cb-settings-v3-tabs,
body.cb-shell-body.cb-page-body-rota .cb-rota-v2-toolbar.cb-rota-v3-commandbar,
body.cb-shell-body.cb-page-body-rota .cb-rota-v3-summary,
body.cb-shell-body.cb-page-body-rota .cb-rota-v2-boardwrap {
    border-color: var(--crewbyte-line) !important;
    background: var(--crewbyte-surface) !important;
    box-shadow: var(--crewbyte-shadow-sm) !important;
}

body.cb-shell-body:not(.cb-hub-shell-body) .cb-dash-ref-summary-card,
body.cb-shell-body:not(.cb-hub-shell-body) .cb-dashboard-stat,
body.cb-shell-body:not(.cb-hub-shell-body) .cb-staff-v2-summary,
body.cb-shell-body:not(.cb-hub-shell-body) .cb-availability-v2-summary,
body.cb-shell-body:not(.cb-hub-shell-body) .cb-ops-v2-metrics {
    border-color: var(--crewbyte-line) !important;
    background: linear-gradient(155deg, #ffffff 18%, #f8fbff 100%) !important;
    box-shadow: var(--crewbyte-shadow-sm) !important;
}

body.cb-shell-body:not(.cb-hub-shell-body) .cb-ops-v2-metric,
body.cb-shell-body:not(.cb-hub-shell-body) .cb-dashboard-mini-stat,
body.cb-shell-body:not(.cb-hub-shell-body) .cb-dashboard-quick-action {
    border-color: var(--crewbyte-line) !important;
    background-color: var(--crewbyte-surface-tint) !important;
}

body.cb-shell-body:not(.cb-hub-shell-body) .cb-dash-ref-card-head,
body.cb-shell-body:not(.cb-hub-shell-body) .cb-card-head,
body.cb-shell-body:not(.cb-hub-shell-body) .cb-table-head,
body.cb-shell-body:not(.cb-hub-shell-body) .cb-list-shell-head {
    border-color: #e3edf5 !important;
    background: linear-gradient(90deg, #f8fbff 0%, #ffffff 78%) !important;
}

body.cb-shell-body:not(.cb-hub-shell-body) .cb-dash-ref-schedule-row:hover,
body.cb-shell-body:not(.cb-hub-shell-body) .cb-dash-ref-clock-row:hover,
body.cb-shell-body:not(.cb-hub-shell-body) .cb-dash-ref-attention-row:hover,
body.cb-shell-body:not(.cb-hub-shell-body) .cb-list-row:hover,
body.cb-shell-body:not(.cb-hub-shell-body) .cb-staff-v2-row:hover,
body.cb-shell-body:not(.cb-hub-shell-body) .cb-availability-v2-row:hover,
body.cb-shell-body:not(.cb-hub-shell-body) .cb-documents-v2-row:hover {
    background-color: var(--crewbyte-surface-tint) !important;
}

body.cb-shell-body:not(.cb-hub-shell-body) .cb-dash-ref-title > span,
body.cb-shell-body:not(.cb-hub-shell-body) .cb-dash-ref-live-clock span,
body.cb-shell-body:not(.cb-hub-shell-body) .cb-dash-ref-summary-card > span,
body.cb-shell-body:not(.cb-hub-shell-body) .cb-dash-ref-person span,
body.cb-shell-body:not(.cb-hub-shell-body) .cb-dash-ref-person small,
body.cb-shell-body:not(.cb-hub-shell-body) .cb-dash-ref-scale,
body.cb-shell-body:not(.cb-hub-shell-body) .cb-dash-ref-range,
body.cb-shell-body:not(.cb-hub-shell-body) .cb-dash-ref-chart-labels,
body.cb-shell-body:not(.cb-hub-shell-body) .cb-dash-ref-announcement-card small {
    color: var(--crewbyte-muted) !important;
}

body.cb-shell-body:not(.cb-hub-shell-body) .cb-dash-ref-clock-btn,
body.cb-shell-body:not(.cb-hub-shell-body) .cb-dash-ref-quick-card,
body.cb-shell-body:not(.cb-hub-shell-body) .cb-ops-v2-primary,
body.cb-shell-body:not(.cb-hub-shell-body) .cb-ops-v2-button.is-primary,
body.cb-shell-body:not(.cb-hub-shell-body) .cb-rota-v3-primary,
body.cb-shell-body:not(.cb-hub-shell-body) .cb-rota-v3-auto {
    background: linear-gradient(135deg, var(--crewbyte-blue) 0%, var(--crewbyte-blue-strong) 100%) !important;
    box-shadow: 0 14px 30px rgba(44, 143, 229, 0.22) !important;
}

body.cb-hub-shell-body .cb-hub-kpi-card,
body.cb-hub-shell-body .cb-hub-v2-stat-card {
    border-color: var(--crewbyte-line) !important;
    background: linear-gradient(155deg, #ffffff 18%, #f8fbff 100%) !important;
    box-shadow: var(--crewbyte-shadow-sm) !important;
}

body.cb-hub-shell-body .cb-hub-panel,
body.cb-hub-shell-body .cb-hub-table-shell,
body.cb-hub-shell-body .cb-hub-lead-card,
body.cb-hub-shell-body .cb-hub-service-card,
body.cb-hub-shell-body .cb-hub-flag-row,
body.cb-hub-shell-body .cb-hub-table-card,
body.cb-hub-shell-body .cb-hub-form-card,
body.cb-hub-shell-body .cb-hub-record-card,
body.cb-hub-shell-body .cb-hub-v2-table-card,
body.cb-hub-shell-body .cb-hub-v2-form-card {
    border-color: var(--crewbyte-line) !important;
    background-color: var(--crewbyte-surface) !important;
    box-shadow: var(--crewbyte-shadow-sm) !important;
}

body.cb-hub-shell-body .cb-hub-table-toolbar,
body.cb-hub-shell-body .cb-hub-v2-card-head {
    border-color: #e3edf5 !important;
    background: linear-gradient(90deg, #f8fbff 0%, #ffffff 78%) !important;
}

body.cb-hub-shell-body .cb-hub-data-table tbody tr:hover,
body.cb-hub-shell-body .cb-hub-activity-feed a:hover,
body.cb-hub-shell-body .cb-hub-health-list a:hover {
    background-color: var(--crewbyte-surface-tint) !important;
}

body.cb-hub-shell-body .cb-hub-v2-quick-action {
    background: linear-gradient(135deg, var(--crewbyte-blue) 0%, var(--crewbyte-blue-strong) 100%) !important;
    box-shadow: 0 12px 28px rgba(44, 143, 229, 0.24) !important;
}

/* The standalone CB mark is a roundel; full wordmarks stay rectangular. */
.cb-brand-image-icon,
img[src*="crewbyte-icon"] {
    border-radius: 50% !important;
    clip-path: circle(50% at 50% 50%);
    object-fit: cover;
}

.cb-sidebar-brand-mark.is-image,
.cb-onboarding-brand-mark.is-image,
.cb-onboarding-v2-brand-mark.is-image,
.cb-hub-v2-brand-mark.is-image,
.cb-hub-v2-login-logo.is-image,
.cb-location-picker-brand-mark.is-image,
.hero-sync-brand-mark,
.hero-sync-logo,
.preview-brand > span,
.cb-chat-teaser-mark,
.cb-chat-launcher,
.cb-chat-brand > span {
    border-radius: 50% !important;
    overflow: hidden !important;
}

@media (max-width: 940px) {
    .landing-page .nav-menu,
    .privacy-page .nav-menu,
    .legal-page .nav-menu,
    .why-page .nav-menu {
        color: var(--crewbyte-ink);
        background: #fff;
    }

    .landing-page .site-header .nav-links a,
    .privacy-page .site-header .nav-links a,
    .legal-page .site-header .nav-links a,
    .why-page .site-header .nav-links a,
    .landing-page .site-header .button-quiet,
    .privacy-page .site-header .button-quiet,
    .legal-page .site-header .button-quiet,
    .why-page .site-header .button-quiet {
        color: var(--crewbyte-ink);
    }
}

@media (max-width: 860px) {
    .cb-auth-shell {
        padding: 0;
    }

    .cb-auth-frame {
        grid-template-columns: 1fr;
        width: 100%;
        min-height: 100vh;
        border: 0;
        border-radius: 0;
        box-shadow: none;
    }

    .cb-auth-brand-panel {
        min-height: 112px;
        padding: 16px 24px;
    }

    .cb-auth-brand-panel::after,
    .cb-auth-brand-message,
    .cb-auth-brand-signature {
        display: none;
    }

    .cb-auth-brand-wordmark {
        width: 190px;
        height: 72px;
    }

    .cb-auth-content {
        align-content: start;
        padding: 38px 22px 48px;
    }

    .cb-onboarding-v2-topbar,
    .cb-location-picker-topbar {
        min-height: 72px;
        padding: 0 16px !important;
        border-radius: 8px;
    }
}

@media (max-width: 760px) {
    .brand-mark.is-wordmark {
        width: 170px;
        height: 60px;
    }

    .cb-location-picker-brand,
    .cb-onboarding-v2-brand {
        min-height: 52px;
    }

    .cb-onboarding-v2-wordmark-image,
    .cb-onboarding-brand-wordmark-image {
        width: 145px;
        max-width: 145px;
        height: 50px;
    }

    .help-brand__wordmark,
    .cb-careers-brand-wordmark,
    .cb-roadmap-brand-wordmark,
    .cb-templates-body .brand-wordmark {
        width: 145px;
        height: 58px;
    }
}

@media (max-width: 680px) {
    .cb-topbar {
        grid-template-columns: 20px minmax(0, 1fr) !important;
        gap: 10px !important;
        padding: 10px 12px !important;
    }

    .cb-topbar-search-shortcut {
        display: none !important;
    }

    .cb-topbar-right {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) 36px 44px;
        gap: 8px !important;
        width: 100%;
    }

    .cb-topbar-switcher,
    .cb-topbar-switcher .cb-topbar-chip,
    .cb-topbar-right > .cb-topbar-chip {
        width: 100%;
        min-width: 0;
    }

    .cb-topbar-user {
        width: 44px;
        min-width: 44px;
        padding: 0 !important;
        justify-content: center;
    }

    .cb-topbar-user-copy,
    .cb-topbar-user-chevron {
        display: none !important;
    }
}

@media (max-width: 980px) {
    body.cb-hub-shell-body .cb-hub-v2-shell {
        grid-template-columns: minmax(0, 1fr) !important;
    }

    body.cb-hub-shell-body .cb-hub-v2-sidebar {
        position: relative !important;
        width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
        overflow: visible !important;
    }

    body.cb-hub-shell-body .cb-hub-v2-brand {
        height: 64px !important;
        min-height: 64px !important;
        margin: 0 12px !important;
        padding: 0 4px !important;
    }

    body.cb-hub-shell-body .cb-hub-v2-brand-wordmark-image {
        width: 124px !important;
        height: 54px !important;
    }

    body.cb-hub-shell-body .cb-hub-v2-nav {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        gap: 6px !important;
        padding: 8px 12px 10px !important;
        overflow-x: auto !important;
        overscroll-behavior-inline: contain;
        scrollbar-width: none;
    }

    body.cb-hub-shell-body .cb-hub-v2-nav::-webkit-scrollbar {
        display: none;
    }

    body.cb-hub-shell-body .cb-hub-v2-nav-group {
        display: flex !important;
        flex: none !important;
        flex-direction: row !important;
        align-items: center !important;
        gap: 6px !important;
        margin: 0 !important;
    }

    body.cb-hub-shell-body .cb-hub-v2-nav-label {
        display: none !important;
    }

    body.cb-hub-shell-body .cb-hub-v2-nav-link {
        flex: none !important;
        width: auto !important;
        white-space: nowrap;
    }

    body.cb-hub-shell-body .cb-hub-v2-sidebar-footer {
        display: none !important;
    }

    body.cb-hub-shell-body .cb-hub-v2-topbar {
        position: relative !important;
        height: auto !important;
        min-height: 0 !important;
        padding: 10px 12px !important;
        flex-direction: column !important;
        align-items: stretch !important;
    }

    body.cb-hub-shell-body .cb-hub-v2-breadcrumb {
        min-width: 0 !important;
    }

    body.cb-hub-shell-body .cb-hub-v2-topbar-right {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) 34px 36px;
        gap: 8px !important;
        width: 100%;
    }

    body.cb-hub-shell-body .cb-hub-v2-search {
        grid-column: 1 / -1;
        width: 100% !important;
    }

    body.cb-hub-shell-body .cb-hub-v2-icon-button,
    body.cb-hub-shell-body .cb-hub-v2-notifications {
        grid-column: 2;
        grid-row: 2;
    }

    body.cb-hub-shell-body .cb-hub-v2-quick-action {
        grid-column: 1;
        grid-row: 2;
        justify-self: start;
    }

    body.cb-hub-shell-body .cb-hub-v2-operational {
        display: none !important;
    }

    body.cb-hub-shell-body .cb-hub-v2-topbar-avatar {
        grid-column: 3;
        grid-row: 2;
    }

    body.cb-hub-shell-body .cb-hub-v2-content {
        padding: 20px 14px !important;
    }
}

@media (max-width: 900px) {
    .cb-templates-body .site-navigation,
    .cb-roadmap-nav {
        color: var(--crewbyte-ink);
        background: #fff;
    }

    .cb-templates-body .site-navigation > a,
    .cb-templates-body .site-navigation .nav-crewbyte,
    .cb-roadmap-nav a {
        color: var(--crewbyte-ink);
    }
}

/* Dashboard operations workspace */
body.cb-dashboard-ref-body {
    --cb-ops-navy: #082849;
    --cb-ops-navy-deep: #061b34;
    --cb-ops-blue: #1587d4;
    --cb-ops-blue-soft: #e8f5ff;
    --cb-ops-cyan: #59d2ff;
    --cb-ops-ink: #081b35;
    --cb-ops-muted: #6c7f98;
    --cb-ops-line: #dce6f0;
    --cb-ops-surface: #ffffff;
    background: #f3f7fb !important;
    color: var(--cb-ops-ink) !important;
    font-family: "Plus Jakarta Sans", sans-serif !important;
}

body.cb-dashboard-ref-body .cb-dashboard-legacy {
    display: none !important;
}

body.cb-dashboard-ref-body .cb-page-shell {
    width: 100% !important;
    max-width: 1500px !important;
    margin: 0 auto !important;
    padding: 20px 28px 40px !important;
}

body.cb-dashboard-ref-body .cb-ops-dashboard,
body.cb-dashboard-ref-body .cb-ops-dashboard * {
    box-sizing: border-box;
}

.cb-ops-dashboard {
    display: grid;
    gap: 18px;
    width: 100%;
}

/* Dashboard command header.
   Status-led and compact: a meta strip, the one line that matters, then the
   metrics. Uses the same white card language as the panels below it. */

.cb-ops-command {
    overflow: hidden;
    background: var(--cb-ops-surface);
    border: 1px solid var(--cb-ops-line);
    border-radius: 18px;
    box-shadow: 0 1px 2px rgba(8, 27, 53, 0.05);
}

.cb-ops-command-bar {
    display: flex;
    padding: 11px 20px;
    gap: 14px;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--cb-ops-line);
}

.cb-ops-command-date,
.cb-ops-command-clock {
    margin: 0;
    color: var(--cb-ops-muted);
    font-size: 12px;
    line-height: 1.2;
    font-weight: 600;
}

.cb-ops-command-clock {
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.02em;
}

.cb-ops-command-status {
    padding: 19px 20px 17px;
}

.cb-ops-command-status h1 {
    margin: 0;
    color: var(--cb-ops-ink);
    font-size: 21px;
    line-height: 1.25;
    font-weight: 700;
    letter-spacing: -0.025em;
}

/* Amber only when there is genuinely something to do, so the colour keeps
   meaning instead of being decoration. */
.cb-ops-command-status.has-actions h1 {
    color: #8a5200;
}

.cb-ops-command-status p {
    margin: 5px 0 0;
    color: var(--cb-ops-muted);
    font-size: 13px;
    line-height: 1.4;
    font-weight: 500;
}

/* Kept here because .cb-ops-panel-kicker later in this file only overrides
   colour and relies on these properties for layout and type. */
.cb-ops-panel-kicker {
    display: inline-flex;
    gap: 7px;
    align-items: center;
    font-size: 9px;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.cb-ops-metrics {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border-top: 1px solid var(--cb-ops-line);
}

.cb-ops-metric {
    display: grid;
    grid-template-columns: 32px minmax(0, 1fr) auto;
    min-width: 0;
    padding: 14px 18px;
    gap: 11px;
    align-items: center;
    border-right: 1px solid var(--cb-ops-line);
}

.cb-ops-metric:last-child {
    border-right: 0;
}

.cb-ops-metric-icon {
    display: grid;
    width: 32px;
    height: 32px;
    place-items: center;
    color: var(--cb-ops-blue);
    background: var(--cb-ops-blue-soft);
    border-radius: 9px;
}

.cb-ops-metric-icon svg {
    width: 16px;
    height: 16px;
}

.cb-ops-metric-copy {
    display: grid;
    min-width: 0;
    gap: 2px;
}

.cb-ops-metric-copy > span {
    overflow: hidden;
    color: var(--cb-ops-muted);
    font-size: 11px;
    font-weight: 600;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cb-ops-metric-copy strong {
    color: var(--cb-ops-ink);
    font-size: 22px;
    line-height: 1.1;
    font-weight: 700;
    letter-spacing: -0.03em;
}

.cb-ops-metric-copy small {
    overflow: hidden;
    color: var(--cb-ops-muted);
    font-size: 10px;
    font-weight: 500;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cb-ops-metric > em {
    padding: 3px 8px;
    color: #0f7a4a;
    background: #dcf5e9;
    border-radius: 999px;
    font-size: 10px;
    font-style: normal;
    font-weight: 700;
    white-space: nowrap;
}

@media (max-width: 900px) {
    .cb-ops-metrics {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .cb-ops-metric:nth-child(2n) {
        border-right: 0;
    }

    .cb-ops-metric:nth-child(-n + 2) {
        border-bottom: 1px solid var(--cb-ops-line);
    }
}

@media (max-width: 540px) {
    .cb-ops-command-bar {
        flex-wrap: wrap;
        gap: 4px;
    }

    .cb-ops-metrics {
        grid-template-columns: minmax(0, 1fr);
    }

    .cb-ops-metric {
        border-right: 0;
        border-bottom: 1px solid var(--cb-ops-line);
    }

    .cb-ops-metric:last-child {
        border-bottom: 0;
    }
}

.cb-ops-workspace {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 18px;
    align-items: start;
}

.cb-ops-primary,
.cb-ops-rail {
    display: grid;
    min-width: 0;
    gap: 18px;
}

.cb-ops-panel,
.cb-ops-actions {
    min-width: 0;
    background: var(--cb-ops-surface);
    border: 1px solid var(--cb-ops-line);
    border-radius: 18px;
    box-shadow: 0 12px 32px rgba(12, 39, 69, 0.065);
}

.cb-ops-panel-head,
.cb-ops-rail-head {
    display: flex;
    min-height: 74px;
    padding: 16px 18px;
    gap: 18px;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #e5ecf3;
}

.cb-ops-panel-head.is-compact {
    min-height: 62px;
    padding-block: 13px;
}

.cb-ops-panel-kicker {
    color: #1987cf;
}

.cb-ops-panel-head h2,
.cb-ops-rail-head h2,
.cb-ops-update h2 {
    margin: 2px 0 0;
    color: var(--cb-ops-ink);
    font-size: 15px;
    line-height: 1.25;
    font-weight: 800;
    letter-spacing: -0.025em;
}

.cb-ops-panel-head p {
    margin: 3px 0 0;
    color: #8191a6;
    font-size: 10px;
}

.cb-ops-panel-tools {
    display: flex;
    gap: 16px;
    align-items: center;
}

.cb-ops-scale {
    display: grid;
    grid-template-columns: auto 110px auto;
    gap: 8px;
    align-items: center;
    color: #8294a9;
    font-size: 8px;
    font-weight: 700;
}

.cb-ops-scale i {
    height: 1px;
    background: #dce5ee;
}

.cb-ops-text-link,
.cb-ops-update > a {
    display: inline-flex;
    gap: 5px;
    align-items: center;
    color: #0b79be;
    font-size: 10px;
    font-weight: 800;
}

.cb-ops-text-link svg {
    width: 12px;
    height: 12px;
    transform: rotate(-90deg);
}

.cb-ops-schedule-list {
    display: grid;
}

.cb-ops-shift-row {
    display: grid;
    grid-template-columns: minmax(170px, 1.1fr) minmax(88px, 0.58fr) minmax(150px, 1.25fr) minmax(105px, 0.62fr) auto;
    min-height: 60px;
    padding: 9px 18px;
    gap: 11px;
    align-items: center;
    border-bottom: 1px solid #edf2f6;
}

.cb-ops-shift-row:last-child {
    border-bottom: 0;
}

.cb-ops-shift-row:hover {
    background: #fbfdff;
}

.cb-ops-person {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    min-width: 0;
    gap: 10px;
    align-items: center;
}

.cb-ops-avatar {
    display: grid;
    width: 38px;
    min-width: 38px;
    height: 38px;
    place-items: center;
    overflow: hidden;
    color: #fff;
    background: #1688d4;
    border-radius: 12px;
    font-size: 10px;
    line-height: 1;
    font-weight: 800;
    text-transform: uppercase;
}

.cb-ops-person > div,
.cb-ops-clock-row > div {
    display: grid;
    min-width: 0;
    gap: 2px;
}

.cb-ops-person strong,
.cb-ops-clock-row strong,
.cb-ops-attention-list strong {
    overflow: hidden;
    color: var(--cb-ops-ink);
    font-size: 11px;
    line-height: 1.25;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cb-ops-person span,
.cb-ops-clock-row span,
.cb-ops-attention-list span {
    color: #8293a8;
    font-size: 9px;
    line-height: 1.25;
}

.cb-ops-person .cb-ops-avatar,
.cb-ops-clock-row .cb-ops-avatar,
.cb-ops-attention-list .cb-ops-avatar {
    color: #fff;
    font-size: 10px;
    line-height: 1;
}

.cb-ops-role,
.cb-ops-location,
.cb-ops-status {
    display: inline-flex;
    width: fit-content;
    max-width: 100%;
    min-height: 23px;
    padding: 4px 8px;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 999px;
    font-size: 8px !important;
    line-height: 1.1;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cb-ops-role {
    color: #0879bb;
    background: #e7f5ff;
}

.cb-ops-location {
    color: #5b6f88;
    background: #f0f4f8;
}

.cb-ops-status {
    color: #7a5a00;
    background: #fff1be;
    text-transform: capitalize;
}

.cb-ops-status.status-published,
.cb-ops-status.status-completed,
.cb-ops-status.status-active,
.cb-ops-status.status-clocked-in {
    color: #007b56;
    background: #dcf8ea;
}

.cb-ops-status.status-flagged,
.cb-ops-status.status-rejected,
.cb-ops-status.status-absent {
    color: #be344f;
    background: #ffe4ea;
}

.cb-ops-timeline {
    position: relative;
    height: 10px;
    overflow: hidden;
    background: #eaf0f6;
    border-radius: 999px;
}

.cb-ops-timeline > span {
    position: absolute;
    top: 0;
    bottom: 0;
    min-width: 10px;
    background: linear-gradient(90deg, #1489d6, #44afe8);
    border-radius: inherit;
}

.cb-ops-empty {
    display: grid;
    min-height: 230px;
    padding: 30px;
    place-items: center;
    place-content: center;
    gap: 7px;
    text-align: center;
}

.cb-ops-empty > span {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    color: #1388d4;
    background: #e9f6ff;
    border-radius: 13px;
}

.cb-ops-empty strong {
    color: var(--cb-ops-ink);
    font-size: 13px;
}

.cb-ops-empty p,
.cb-ops-empty a {
    margin: 0;
    color: #7b8da3;
    font-size: 10px;
}

.cb-ops-empty a {
    color: #0b7fc8;
    font-weight: 800;
}

.cb-ops-lower-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(270px, 0.85fr);
    gap: 18px;
}

.cb-ops-range,
.cb-ops-clock-counts {
    color: #7d8ea4;
    font-size: 9px;
    font-weight: 700;
}

.cb-ops-chart {
    position: relative;
    height: 142px;
    padding: 16px 18px 25px;
    background: linear-gradient(#fff, #fbfdff);
}

.cb-ops-chart::before {
    content: "";
    position: absolute;
    inset: 20px 18px 28px;
    background: repeating-linear-gradient(to bottom, transparent 0 30px, #e8eef4 31px 32px);
}

.cb-ops-chart svg {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 92px;
    overflow: visible;
}

.cb-ops-chart-area {
    fill: url("#cb-ops-gradient");
    fill: rgba(30, 145, 215, 0.08);
}

.cb-ops-chart-line {
    fill: none;
    stroke: #1587d4;
    stroke-width: 2.2;
    vector-effect: non-scaling-stroke;
}

.cb-ops-chart-labels {
    position: absolute;
    right: 18px;
    bottom: 8px;
    left: 18px;
    display: flex;
    justify-content: space-between;
    color: #8a9bb0;
    font-size: 8px;
    font-weight: 700;
}

.cb-ops-clock-counts {
    display: flex;
    gap: 10px;
}

.cb-ops-clock-counts span {
    display: inline-flex;
    gap: 5px;
    align-items: center;
}

.cb-ops-clock-counts i {
    width: 6px;
    height: 6px;
    border-radius: 999px;
}

.cb-ops-clock-counts .is-live {
    background: #19bd83;
}

.cb-ops-clock-counts .is-warn {
    background: #f5a623;
}

.cb-ops-mini-empty {
    display: grid;
    min-height: 142px;
    padding: 22px;
    place-content: center;
    gap: 4px;
    text-align: center;
}

.cb-ops-mini-empty strong {
    color: var(--cb-ops-ink);
    font-size: 11px;
}

.cb-ops-mini-empty span {
    color: #8495aa;
    font-size: 9px;
}

.cb-ops-clock-list,
.cb-ops-attention-list {
    display: grid;
}

.cb-ops-clock-row {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr) auto auto;
    min-height: 47px;
    padding: 7px 14px;
    gap: 9px;
    align-items: center;
    border-bottom: 1px solid #edf2f6;
}

.cb-ops-clock-row .cb-ops-avatar {
    width: 32px;
    min-width: 32px;
    height: 32px;
    border-radius: 10px;
}

.cb-ops-actions {
    overflow: hidden;
    color: #fff;
    background: linear-gradient(145deg, #072846 0%, #0b4972 100%);
    border-color: rgba(16, 92, 139, 0.5);
}

.cb-ops-actions header {
    display: grid;
    padding: 17px 18px 13px;
    gap: 2px;
}

.cb-ops-actions header span {
    color: #65c8f3;
    font-size: 8px;
    font-weight: 800;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.cb-ops-actions header strong {
    color: #fff;
    font-size: 16px;
    font-weight: 800;
}

.cb-ops-actions > div {
    display: grid;
    padding: 0 10px 10px;
    gap: 5px;
}

.cb-ops-actions a {
    display: grid;
    grid-template-columns: 30px minmax(0, 1fr) auto;
    min-height: 42px;
    padding: 6px 10px 6px 7px;
    gap: 9px;
    align-items: center;
    color: #fff;
    background: rgba(255, 255, 255, 0.075);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}

.cb-ops-actions a:hover {
    background: rgba(74, 194, 246, 0.15);
    transform: translateX(2px);
}

.cb-ops-actions a > span {
    display: grid;
    width: 30px;
    height: 30px;
    place-items: center;
    color: #66d2ff;
    background: rgba(74, 193, 244, 0.11);
    border-radius: 9px;
}

.cb-ops-actions a svg {
    width: 14px;
    height: 14px;
}

.cb-ops-actions a strong {
    font-size: 10px;
    font-weight: 750;
}

.cb-ops-actions a i {
    color: #64cffa;
    font-size: 14px;
    font-style: normal;
}

.cb-ops-rail-head {
    min-height: 64px;
    padding: 14px 16px;
}

.cb-ops-rail-head > em {
    display: grid;
    width: 26px;
    height: 26px;
    place-items: center;
    color: #a16b00;
    background: #fff1c6;
    border-radius: 999px;
    font-size: 9px;
    font-style: normal;
    font-weight: 800;
}

.cb-ops-attention .cb-ops-mini-empty {
    min-height: 96px;
}

.cb-ops-mini-empty.is-positive strong::before {
    content: "";
    display: inline-block;
    width: 7px;
    height: 7px;
    margin-right: 7px;
    background: #19bd83;
    border-radius: 999px;
}

.cb-ops-attention-list a {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr) auto;
    min-height: 54px;
    padding: 8px 14px;
    gap: 9px;
    align-items: center;
    border-bottom: 1px solid #edf2f6;
}

.cb-ops-attention-list a:last-child {
    border-bottom: 0;
}

.cb-ops-attention-list .cb-ops-avatar {
    width: 32px;
    min-width: 32px;
    height: 32px;
    border-radius: 10px;
}

.cb-ops-attention-list a > div {
    display: grid;
    min-width: 0;
    gap: 2px;
}

.cb-ops-attention-list a > i {
    color: #1590d9;
    font-size: 13px;
    font-style: normal;
}

.cb-ops-update {
    position: relative;
    overflow: hidden;
    padding: 17px 18px;
}

.cb-ops-update::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 4px;
    background: #1688d4;
}

.cb-ops-update h2 {
    margin-top: 8px;
}

.cb-ops-update p {
    display: -webkit-box;
    margin: 7px 0 12px;
    overflow: hidden;
    color: #6d8098;
    font-size: 9px;
    line-height: 1.55;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.cb-ops-locations {
    padding-bottom: 5px;
}

.cb-ops-locations > div {
    display: grid;
    grid-template-columns: 26px minmax(0, 1fr) auto;
    min-height: 43px;
    padding: 7px 14px;
    gap: 9px;
    align-items: center;
    border-bottom: 1px solid #edf2f6;
}

.cb-ops-locations > div:last-child {
    border-bottom: 0;
}

.cb-ops-location-index {
    display: grid;
    width: 24px;
    height: 24px;
    place-items: center;
    color: #0b7fc8;
    background: #e9f6ff;
    border-radius: 8px;
    font-size: 8px;
    font-weight: 800;
}

.cb-ops-locations strong {
    overflow: hidden;
    color: var(--cb-ops-ink);
    font-size: 10px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cb-ops-locations em {
    color: #8092a8;
    font-size: 8px;
    font-style: normal;
    font-weight: 700;
}

.cb-ops-dashboard .tone-purple,
.cb-ops-dashboard .tone-blue {
    color: #0879bb;
}

.cb-ops-dashboard .cb-ops-avatar.tone-purple,
.cb-ops-dashboard .cb-ops-avatar.tone-blue {
    color: #fff;
    background: #1688d4;
}

.cb-ops-dashboard .cb-ops-avatar.tone-rose {
    color: #fff;
    background: #ee4a72;
}

.cb-ops-dashboard .cb-ops-avatar.tone-green,
.cb-ops-dashboard .cb-ops-avatar.tone-emerald {
    color: #fff;
    background: #18ad80;
}

.cb-ops-dashboard .cb-ops-avatar.tone-amber {
    color: #fff;
    background: #ea971a;
}

.cb-ops-dashboard .cb-ops-role.tone-rose {
    color: #b72f54;
    background: #ffe8ef;
}

.cb-ops-dashboard .cb-ops-role.tone-green,
.cb-ops-dashboard .cb-ops-role.tone-emerald {
    color: #007b56;
    background: #dff8ec;
}

.cb-ops-dashboard .cb-ops-role.tone-amber {
    color: #925e00;
    background: #fff0c9;
}

@media (max-width: 1280px) {
    body.cb-dashboard-ref-body .cb-page-shell {
        padding-inline: 20px !important;
    }

    .cb-ops-workspace {
        grid-template-columns: minmax(0, 1fr) 290px;
    }

    .cb-ops-shift-row {
        grid-template-columns: minmax(160px, 1fr) minmax(82px, 0.55fr) minmax(120px, 1fr) auto;
    }

    .cb-ops-shift-row > .cb-ops-location {
        display: none;
    }
}

@media (max-width: 1060px) {
    .cb-ops-workspace {
        grid-template-columns: minmax(0, 1fr);
    }

    .cb-ops-rail {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .cb-ops-actions {
        grid-row: span 2;
    }
}

@media (max-width: 820px) {
    body.cb-dashboard-ref-body .cb-page-shell {
        padding: 14px !important;
    }

    .cb-ops-lower-grid,
    .cb-ops-rail {
        grid-template-columns: minmax(0, 1fr);
    }

    .cb-ops-actions {
        grid-row: auto;
    }

    .cb-ops-shift-row {
        grid-template-columns: minmax(150px, 1fr) minmax(100px, 0.8fr) auto;
    }

    .cb-ops-shift-row > .cb-ops-role,
    .cb-ops-shift-row > .cb-ops-location {
        display: none;
    }
}

@media (max-width: 560px) {
    .cb-ops-panel-head {
        align-items: flex-start;
    }

    .cb-ops-panel-tools,
    .cb-ops-scale {
        display: none;
    }

    .cb-ops-shift-row {
        grid-template-columns: minmax(0, 1fr) auto;
    }

    .cb-ops-shift-row > .cb-ops-timeline {
        display: none;
    }
}
