/* ==========================================================================
   Variables, base layout and shared client dashboard styles
   ========================================================================== */

@view-transition {
    navigation: none;
}

:root {
    --cd-danger: #ff7189;
    --cd-warning: #ffd276;
    --cd-sidebar-width: 258px;
    color-scheme: dark;
}

* {
    box-sizing: border-box;
}

html {
    min-height: 100%;
    background: var(--cd-bg);
}

body {
    min-height: 100vh;
    margin: 0;
    color: var(--cd-text);
    font-size: 15px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
select {
    font: inherit;
}

button,
a,
input,
select,
summary {
    -webkit-tap-highlight-color: transparent;
}

.cd-topbar {
    position: fixed;
    z-index: 50;
    top: 0;
    right: 0;
    left: 0;
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 0 24px;
    border-bottom: 1px solid var(--cd-border);
    backdrop-filter: blur(18px);
}

.cd-brand {
    display: inline-flex;
    align-items: center;
    font-weight: 760;
    letter-spacing: -0.02em;
}

.cd-brand-mark {
    display: inline-grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border: 1px solid rgba(104, 222, 255, 0.42);
    border-radius: 13px;
    font-size: 13px;
    font-weight: 900;
}

.cd-brand-text {
    white-space: nowrap;
}

.cd-topbar-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: auto;
}

.cd-account-button,
.cd-notification,
.cd-icon-button {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    border: 1px solid var(--cd-border);
    color: var(--cd-text);
}

.cd-account-button,
.cd-notification {
    padding: 0 14px;
}

.cd-icon-button {
    width: 42px;
    padding: 0;
    cursor: pointer;
}

.cd-account-button:hover,
.cd-notification:hover,
.cd-icon-button:hover {
    transform: translateY(-1px);
}

.cd-account-button:active,
.cd-notification:active,
.cd-icon-button:active,
.cd-button:active,
.cd-nav-item:active {
    transform: translateY(1px) scale(0.99);
}

.cd-account-button:focus-visible,
.cd-notification:focus-visible,
.cd-icon-button:focus-visible,
.cd-button:focus-visible,
.cd-nav-item:focus-visible,
.cd-field input:focus-visible,
.cd-field select:focus-visible,
.cd-policy summary:focus-visible {
    outline: 2px solid var(--cd-accent);
    outline-offset: 3px;
}

.cd-notification {
    position: relative;
}

.cd-notification-dot {
    position: absolute;
    top: 7px;
    left: 25px;
    width: 7px;
    height: 7px;
    border-radius: 999px;
}

.cd-app-shell {
    display: grid;
    grid-template-columns: var(--cd-sidebar-width) minmax(0, 1fr);
}

.cd-sidebar {
    position: fixed;
    z-index: 40;
    bottom: 0;
    left: 0;
    width: var(--cd-sidebar-width);
    padding: 22px 16px;
    border-right: 1px solid var(--cd-border);
    backdrop-filter: blur(18px);
}

.cd-nav {
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.cd-nav-item {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 0 15px;
    border: 1px solid transparent;
    background: transparent;
    font-weight: 650;
    text-align: left;
    cursor: pointer;
}

.cd-nav-item i {
    width: 20px;
    text-align: center;
    transition: color 140ms ease, transform 140ms ease;
}

.cd-nav-item:hover {
    color: var(--cd-text);
}

.cd-nav-item:hover i {
    transform: translateX(1px);
}

.cd-nav-item.is-active {
    color: #eafdff;
}

.cd-logout-form {
    margin-top: auto;
}

.cd-nav-button {
    border: 1px solid rgba(255, 113, 137, 0.12);
    color: #eab8c1;
}

.cd-nav-button i {
    color: #d98899;
}

.cd-main {
    grid-column: 2;
    min-width: 0;
    padding: 42px clamp(24px, 4vw, 62px) 64px;
}

.cd-page-heading {
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 28px;
    animation: cd-rise-in 320ms ease both;
}

.cd-page-heading p,
.cd-auth-heading p {
    max-width: 680px;
    margin: 0;
}

.cd-eyebrow {
    font-size: 12px;
    font-weight: 850;
    text-transform: uppercase;
}

.cd-card {
    animation: cd-rise-in 360ms 45ms ease both;
}

.cd-placeholder-card {
    display: grid;
    place-items: center;
    align-content: center;
    gap: 13px;
    padding: 40px;
    color: var(--cd-muted);
    text-align: center;
}

.cd-placeholder-card i {
    color: var(--cd-accent);
    font-size: 26px;
}

.cd-placeholder-card strong {
    color: var(--cd-text);
    font-size: 19px;
}

.cd-form-section {
    margin-bottom: 22px;
}

.cd-section-heading {
    display: flex;
    align-items: center;
    gap: 11px;
    margin-bottom: 24px;
}

.cd-section-heading h2,
.cd-department-list h3 {
    margin: 0;
    letter-spacing: -0.02em;
}

.cd-section-heading h2 {
    font-size: 20px;
}

.cd-department-list h3 {
    margin-bottom: 14px;
    font-size: 14px;
    color: var(--cd-muted);
}

.cd-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.cd-field {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.cd-field > span {
    font-size: 13px;
    font-weight: 700;
}

.cd-field input,
.cd-field select {
    width: 100%;
    min-height: 46px;
    padding: 0 13px;
    border: 1px solid var(--cd-border);
    color: var(--cd-text);
}

.cd-field input:not([readonly]):focus,
.cd-field select:not(:disabled):focus {
    outline: none;
}

.cd-field input[readonly],
.cd-field select:disabled {
    color: #9db0c0;
    cursor: default;
    opacity: 0.85;
}

.cd-field-full {
    grid-column: 1 / -1;
}

.cd-field-error {
    color: #ff9aaa;
    font-size: 12px;
}

.cd-department-list {
    margin-top: 26px;
    padding-top: 24px;
    border-top: 1px solid var(--cd-border);
}

.cd-department-row {
    display: grid;
    grid-template-columns: minmax(140px, 0.7fr) minmax(0, 1fr) minmax(0, 1fr);
    align-items: end;
    gap: 16px;
    border-bottom: 1px solid rgba(159, 187, 214, 0.09);
}

.cd-department-row:last-child {
    border-bottom: 0;
}

.cd-department-name {
    min-height: 46px;
    display: flex;
    align-items: center;
    color: var(--cd-text);
    font-weight: 720;
}

.cd-radio-group {
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.cd-radio-group label {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 12px;
    border: 1px solid var(--cd-border);
    color: var(--cd-muted);
    background: rgba(255, 255, 255, 0.025);
}

.cd-check-field {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    color: #c9d6df;
}

.cd-check-field input {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    accent-color: var(--cd-accent-strong);
}

.cd-policy {
    margin-top: 20px;
    border-top: 1px solid var(--cd-border);
    color: var(--cd-muted);
}

.cd-policy summary {
    padding: 16px 0 0;
    color: var(--cd-accent);
    font-weight: 700;
    cursor: pointer;
}

.cd-policy > div {
    padding: 15px 0 0;
}

.cd-form-actions {
    display: flex;
}

.cd-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0 18px;
    border: 1px solid transparent;
    cursor: pointer;
}

.cd-button-primary:hover {
    transform: translateY(-2px);
}

.cd-button-primary:hover i {
    transform: translateX(2px);
}

.cd-button i {
    transition: transform 150ms ease;
}

.cd-button-secondary {
    color: var(--cd-text);
    border-color: var(--cd-border);
    background: rgba(255, 255, 255, 0.04);
}

.cd-alert {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    margin-bottom: 20px;
    padding: 14px 16px;
    border: 1px solid var(--cd-border);
    animation: cd-rise-in 260ms ease both;
}

.cd-alert-danger {
    color: #ffd7de;
    border-color: rgba(255, 113, 137, 0.28);
    background: rgba(255, 113, 137, 0.09);
}

.cd-alert-success {
    color: #d7ffeb;
    border-color: rgba(112, 229, 174, 0.27);
    background: rgba(112, 229, 174, 0.08);
}

.cd-account-notice div {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.cd-account-notice span {
    color: #eab9c2;
}

.cd-readonly-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border: 1px solid var(--cd-border);
    font-size: 12px;
    font-weight: 750;
}

.cd-auth-body {
    display: grid;
    place-items: center;
    padding: 28px;
}

.cd-auth-body::before,
.cd-auth-body::after {
    position: fixed;
    z-index: -1;
    border-radius: 50%;
    content: "";
}

.cd-auth-body::before {
    top: -15rem;
    left: -10rem;
    background: #49d4f4;
}

.cd-auth-brand {
    display: flex;
    align-items: center;
}

.cd-auth-card {
    padding: clamp(25px, 6vw, 42px);
    animation: cd-rise-in 340ms ease both;
}

.cd-form {
    display: flex;
    flex-direction: column;
    gap: 17px;
}

.cd-auth-card .cd-button {
    width: 100%;
    margin-top: 3px;
}

.cd-auth-link {
    display: block;
    margin-top: 21px;
    font-weight: 700;
    text-align: center;
}

.cd-overlay {
    position: fixed;
    z-index: 35;
    inset: var(--cd-topbar-height) 0 0;
    display: none;
    background: rgba(0, 0, 0, 0.56);
    backdrop-filter: blur(3px);
}

@keyframes cd-rise-in {
    from {
        transform: translateY(8px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

::view-transition-old(root),
::view-transition-new(root) {
    animation-duration: 180ms;
    animation-timing-function: ease-out;
}

@keyframes cd-page-out {
    to {
        transform: translateY(-3px);
        opacity: 0;
    }
}

@keyframes cd-page-in {
    from {
        transform: translateY(5px);
        opacity: 0;
    }
}

@media (max-width: 960px) {
    .cd-menu-toggle {
        display: inline-flex;
    }

    .cd-app-shell {
        display: block;
    }

    .cd-sidebar {
        transform: translateX(-102%);
        transition: transform 190ms ease;
        box-shadow: 18px 0 50px rgba(0, 0, 0, 0.28);
    }

    .cd-menu-open .cd-sidebar {
        transform: translateX(0);
    }

    .cd-menu-open .cd-overlay {
        display: block;
    }

    .cd-main {
        width: 100%;
        padding-top: 34px;
    }
}

@media (max-width: 720px) {

    .cd-topbar {
        gap: 10px;
        padding: 0 14px;
    }

    .cd-brand-mark {
        width: 35px;
        height: 35px;
    }

    .cd-brand-text,
    .cd-account-button span,
    .cd-notification-text {
        display: none;
    }

    .cd-account-button,
    .cd-notification {
        width: 42px;
        padding: 0;
    }

    .cd-notification-dot {
        left: 24px;
    }

    .cd-main {
        padding: 27px 16px 48px;
    }

    .cd-page-heading {
        align-items: flex-start;
        flex-direction: column;
        margin-bottom: 22px;
    }

    .cd-form-grid,
    .cd-department-row {
        grid-template-columns: 1fr;
    }

    .cd-department-row {
        gap: 11px;
    }

    .cd-department-name {
        min-height: auto;
    }

    .cd-form-section {
        padding: 20px 16px;
        border-radius: 17px;
    }

    .cd-auth-body {
        align-items: start;
        padding: 18px 14px;
    }

    .cd-auth-shell {
        margin-top: 7vh;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ==========================================================================
   Foundation refinements: layout, themes, navigation and authentication
   ========================================================================== */
:root {
    --cd-bg: #04101d;
    --cd-border: rgba(143, 193, 230, 0.15);
    --cd-text: #f5faff;
    --cd-muted: #90a9bf;
    --cd-accent: #4da9ff;
    --cd-accent-strong: #278cf1;
    --cd-success: #6ad8ad;
}

body {
    position: relative;
    isolation: isolate;
}

body::before,
body::after {
    position: fixed;
    inset: 0;
    pointer-events: none;
    content: "";
}

body::before {
    z-index: -2;
    background-image:
        linear-gradient(rgba(118, 181, 223, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(118, 181, 223, 0.035) 1px, transparent 1px);
    background-size: 56px 56px;
    -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), transparent 92%);
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), transparent 92%);
}

body::after {
    z-index: -1;
    background:
        radial-gradient(circle at 28% 40%, rgba(77, 169, 255, 0.055), transparent 20rem),
        radial-gradient(circle at 70% 28%, rgba(45, 188, 187, 0.045), transparent 18rem);
}

.cd-topbar {
    border-bottom-color: rgba(101, 167, 211, 0.18);
}

.cd-topbar::after {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 2%, rgba(77, 169, 255, 0.52) 28%, rgba(45, 188, 187, 0.38) 72%, transparent 98%);
    content: "";
    opacity: 0.75;
}

.cd-brand-mark {
    position: relative;
    overflow: hidden;
    border-color: rgba(134, 212, 255, 0.5);
    color: #03101b;
    background: linear-gradient(135deg, #76c7ff 0%, #4da9ff 52%, #2dbcbb 100%);
    box-shadow: 0 10px 30px rgba(42, 153, 224, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.cd-brand-mark::after {
    position: absolute;
    top: -55%;
    left: -85%;
    width: 70%;
    height: 210%;
    transform: rotate(22deg);
    background: rgba(255, 255, 255, 0.42);
    content: "";
    transition: left 320ms ease;
}

.cd-brand:hover .cd-brand-mark::after,
.cd-auth-brand:hover .cd-brand-mark::after {
    left: 130%;
}

.cd-account-button,
.cd-notification,
.cd-icon-button {
    border-color: rgba(119, 174, 211, 0.17);
}

.cd-account-button:hover,
.cd-notification:hover,
.cd-icon-button:hover {
    border-color: rgba(77, 169, 255, 0.4);
}

.cd-sidebar {
    border-right-color: rgba(107, 171, 215, 0.16);
}

.cd-nav {
    z-index: 1;
}

.cd-nav-item {
    color: #9eb5c8;
}

.cd-nav-item:hover {
    border-color: rgba(111, 175, 218, 0.15);
    background: linear-gradient(90deg, rgba(77, 169, 255, 0.075), rgba(45, 188, 187, 0.025));
}

.cd-nav-item.is-active {
    border-color: rgba(77, 169, 255, 0.29);
}

.cd-main::before {
    position: absolute;
    z-index: -1;
    top: 22px;
    right: clamp(18px, 5vw, 90px);
    width: clamp(220px, 26vw, 390px);
    height: clamp(220px, 26vw, 390px);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(45, 188, 187, 0.075), rgba(77, 169, 255, 0.035) 42%, transparent 70%);
    content: "";
    filter: blur(2px);
}

.cd-page-heading {
    position: relative;
    border: 1px solid transparent;
}

.cd-page-heading::before {
    position: absolute;
    z-index: -1;
    content: "";
}

.cd-page-heading::after {
    position: absolute;
    z-index: -1;
    background-image: repeating-linear-gradient(90deg, rgba(118, 190, 233, 0.08) 0, rgba(118, 190, 233, 0.08) 1px, transparent 1px, transparent 18px);
    content: "";
}

.cd-page-heading h1,
.cd-auth-heading h1 {
    color: #f8fbff;
    text-shadow: 0 10px 32px rgba(0, 0, 0, 0.25);
}

.cd-page-heading p,
.cd-auth-heading p {
    color: #98afc2;
}

.cd-eyebrow {
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    border: 1px solid rgba(77, 169, 255, 0.2);
    letter-spacing: 0.12em;
}

.cd-eyebrow::before {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--cd-secondary);
    box-shadow: 0 0 13px rgba(45, 188, 187, 0.7);
    content: "";
}

.cd-card {
    position: relative;
    overflow: hidden;
    border: 1px solid transparent;
    backdrop-filter: blur(18px);
}

.cd-dashboard-visual {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.cd-dashboard-grid {
    position: absolute;
    right: -8%;
    bottom: -25%;
    left: -8%;
    height: 74%;
    transform: perspective(500px) rotateX(61deg);
    transform-origin: bottom;
    background-image:
        linear-gradient(rgba(77, 169, 255, 0.13) 1px, transparent 1px),
        linear-gradient(90deg, rgba(45, 188, 187, 0.11) 1px, transparent 1px);
    background-size: 52px 52px;
    -webkit-mask-image: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent 91%);
    mask-image: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent 91%);
}

.cd-dashboard-core::before,
.cd-dashboard-core::after {
    position: absolute;
    inset: -18px;
    border: 1px solid rgba(77, 169, 255, 0.15);
    border-radius: 50%;
    content: "";
}

.cd-dashboard-core::after {
    inset: -36px;
    border-color: rgba(45, 188, 187, 0.11);
}

.cd-dashboard-orbit {
    position: absolute;
    top: 50%;
    left: 50%;
    border: 1px solid rgba(93, 180, 237, 0.17);
    border-radius: 50%;
    box-shadow: inset 0 0 45px rgba(77, 169, 255, 0.018);
}

.cd-dashboard-orbit::before {
    position: absolute;
    top: 50%;
    left: -4px;
    width: 8px;
    height: 8px;
    transform: translateY(-50%);
    border-radius: 50%;
    background: var(--cd-secondary);
    box-shadow: 0 0 18px rgba(45, 188, 187, 0.85);
    content: "";
}

.cd-dashboard-orbit-one {
    width: min(45vw, 480px);
    height: min(23vw, 245px);
    transform: translate(-50%, -50%) rotate(-13deg);
    animation: cd-orbit-drift 12s ease-in-out infinite alternate;
}

.cd-dashboard-orbit-two {
    width: min(31vw, 330px);
    height: min(43vw, 450px);
    transform: translate(-50%, -50%) rotate(43deg);
    border-color: rgba(45, 188, 187, 0.13);
    animation: cd-orbit-drift-two 14s ease-in-out infinite alternate;
}

.cd-dashboard-beam {
    position: absolute;
    top: 50%;
    width: min(72vw, 860px);
    height: 1px;
    transform: translate(-50%, -50%) rotate(-8deg);
    background: linear-gradient(90deg, transparent, rgba(77, 169, 255, 0.5), rgba(45, 188, 187, 0.4), transparent);
    box-shadow: 0 0 20px rgba(77, 169, 255, 0.16);
}

.cd-dashboard-node {
    position: absolute;
    width: 9px;
    height: 9px;
    border: 1px solid rgba(171, 224, 255, 0.58);
    border-radius: 50%;
}

.cd-dashboard-node-one {
    top: 24%;
    left: 22%;
}

.cd-dashboard-node-two {
    top: 68%;
    right: 19%;
}

.cd-dashboard-node-three {
    right: 31%;
    bottom: 17%;
    width: 6px;
    height: 6px;
}

.cd-placeholder-card {
    isolation: isolate;
    min-height: 330px;
}

.cd-placeholder-card::before,
.cd-placeholder-card::after {
    position: absolute;
    z-index: -1;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 1px solid rgba(77, 169, 255, 0.12);
    border-radius: 50%;
    content: "";
}

.cd-placeholder-card::before {
    width: 210px;
    height: 210px;
    box-shadow: 0 0 0 34px rgba(77, 169, 255, 0.018), 0 0 0 68px rgba(45, 188, 187, 0.014);
}

.cd-placeholder-card::after {
    width: 105px;
    height: 105px;
    background: radial-gradient(circle, rgba(77, 169, 255, 0.16), rgba(45, 188, 187, 0.035) 60%, transparent 72%);
}

.cd-placeholder-card strong {
    position: relative;
    z-index: 1;
    padding: 11px 17px;
    border: 1px solid rgba(77, 169, 255, 0.24);
    background: rgba(4, 17, 29, 0.76);
    box-shadow: 0 12px 35px rgba(0, 7, 18, 0.23), inset 0 1px 0 rgba(255, 255, 255, 0.035);
    backdrop-filter: blur(12px);
}

.cd-form-section::before {
    position: absolute;
    top: 0;
    left: clamp(24px, 4vw, 52px);
    width: min(230px, 35%);
    height: 1px;
    background: linear-gradient(90deg, rgba(77, 169, 255, 0.8), rgba(45, 188, 187, 0.35), transparent);
    content: "";
}

.cd-section-heading i {
    width: 38px;
    height: 38px;
    display: inline-grid;
    place-items: center;
    border: 1px solid rgba(77, 169, 255, 0.2);
    color: #6fc0ff;
    background: linear-gradient(145deg, rgba(77, 169, 255, 0.11), rgba(45, 188, 187, 0.05));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

.cd-field > span {
    color: #b6c9d8;
}

.cd-field input,
.cd-field select {
    border-color: rgba(121, 174, 210, 0.17);
    background: linear-gradient(145deg, rgba(2, 13, 23, 0.62), rgba(7, 24, 38, 0.52));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.02);
}

.cd-field input:not([readonly]):hover,
.cd-field select:not(:disabled):hover {
    border-color: rgba(77, 169, 255, 0.36);
}

.cd-field input:not([readonly]):focus,
.cd-field select:not(:disabled):focus {
    border-color: var(--cd-accent);
    background: rgba(4, 18, 31, 0.82);
    box-shadow: 0 0 0 4px rgba(77, 169, 255, 0.1), 0 12px 30px rgba(0, 8, 20, 0.16);
}

.cd-field input[readonly],
.cd-field select:disabled {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.024), rgba(255, 255, 255, 0.009));
}

.cd-department-row {
    margin-bottom: 10px;
    padding: 16px;
    border: 1px solid rgba(121, 174, 210, 0.1);
    border-radius: 15px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.022), rgba(255, 255, 255, 0.009));
}

.cd-button-primary {
    position: relative;
    overflow: hidden;
}

.cd-button-primary::before {
    position: absolute;
    top: -80%;
    left: -50%;
    width: 32%;
    height: 260%;
    transform: rotate(22deg);
    background: rgba(255, 255, 255, 0.34);
    content: "";
    transition: left 300ms ease;
}

.cd-button-primary:hover::before {
    left: 125%;
}

.cd-readonly-badge {
    border-color: rgba(45, 188, 187, 0.19);
    color: #9fc8ca;
    background: rgba(45, 188, 187, 0.06);
}

.cd-auth-body::before {
    inset: 0;
    width: auto;
    height: auto;
    border-radius: 0;
    filter: none;
    -webkit-mask-image: radial-gradient(circle at center, #000 10%, transparent 82%);
}

.cd-auth-body::after {
    right: -13rem;
    bottom: -16rem;
    width: 35rem;
    height: 35rem;
    border: 1px solid rgba(45, 188, 187, 0.1);
    background: radial-gradient(circle, rgba(45, 188, 187, 0.16), transparent 67%);
    box-shadow: 0 0 0 48px rgba(45, 188, 187, 0.02), 0 0 0 96px rgba(77, 169, 255, 0.014);
    filter: blur(0);
    opacity: 1;
}

.cd-auth-brand {
    letter-spacing: -0.015em;
}

.cd-auth-card {
    position: relative;
}

.cd-auth-card::before {
    position: absolute;
    border-radius: 50%;
    content: "";
}

.cd-auth-card::after {
    position: absolute;
    top: 0;
    content: "";
}

.cd-auth-card > * {
    position: relative;
    z-index: 1;
}

.cd-auth-link {
    transition: color 150ms ease, text-shadow 150ms ease;
}

.cd-auth-link:hover {
    text-shadow: 0 0 20px rgba(77, 169, 255, 0.28);
}

@keyframes cd-core-float {
    0%, 100% {
        transform: translate(-50%, -50%) translateY(0) scale(1);
    }
    50% {
        transform: translate(-50%, -50%) translateY(-8px) scale(1.025);
    }
}

@keyframes cd-orbit-drift {
    from {
        transform: translate(-50%, -50%) rotate(-13deg) scale(0.98);
    }
    to {
        transform: translate(-50%, -50%) rotate(-7deg) scale(1.02);
    }
}

@keyframes cd-orbit-drift-two {
    from {
        transform: translate(-50%, -50%) rotate(43deg) scale(1.01);
    }
    to {
        transform: translate(-50%, -50%) rotate(49deg) scale(0.98);
    }
}

@media (max-width: 960px) {
    .cd-page-heading {
        padding: 26px 24px;
    }

    .cd-dashboard-orbit-one {
        width: 590px;
        height: 280px;
    }

    .cd-dashboard-orbit-two {
        width: 360px;
        height: 510px;
    }
}

@media (max-width: 720px) {
    body::before {
        background-size: 42px 42px;
    }

    .cd-page-heading::before {
        top: -170px;
        right: -145px;
    }

    .cd-page-heading::after {
        right: -34px;
        bottom: 9px;
    }

    .cd-dashboard-orbit-one {
        width: 430px;
        height: 220px;
    }

    .cd-dashboard-orbit-two {
        width: 280px;
        height: 390px;
    }

    .cd-placeholder-card {
        min-height: 300px;
    }

    .cd-section-heading i {
        width: 34px;
        height: 34px;
    }
}
:root {
    --cd-primary: #1473e6;
    --cd-primary-bright: #4da9ff;
    --cd-secondary: #2dbcbb;
    --cd-topbar-height: 78px;
    --cd-shadow: 0 30px 90px rgba(0, 18, 44, 0.42), 0 12px 34px rgba(5, 98, 173, 0.12);
}

body {
    font-family: "Manrope", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background:
        radial-gradient(ellipse at 9% -5%, rgba(44, 142, 238, 0.34), transparent 34rem),
        radial-gradient(ellipse at 93% 2%, rgba(45, 188, 187, 0.24), transparent 31rem),
        radial-gradient(ellipse at 72% 96%, rgba(20, 115, 230, 0.16), transparent 38rem),
        linear-gradient(143deg, #03101d 0%, #061a2b 45%, #041421 72%, #03101b 100%);
}

h1,
h2,
h3,
.cd-brand,
.cd-nav-item,
.cd-button,
.cd-eyebrow,
.cd-readonly-badge,
.cd-auth-brand {
    font-family: "Sora", "Manrope", ui-sans-serif, system-ui, sans-serif;
}

.cd-topbar {
    height: 78px;
    padding-right: clamp(18px, 3vw, 22px);
    padding-left: clamp(18px, 3vw, 22px);
}

.cd-brand {
    min-width: 0;
}

.cd-brand-logo {
    display: block;
    object-fit: contain;
}

.cd-brand-logo-icon {
    width: 38px;
    height: 38px;
    display: none;
}

.cd-brand-divider {
    width: 1px;
    height: 26px;
    display: inline-block;
    flex: 0 0 auto;
    background: linear-gradient(to bottom, transparent, rgba(135, 202, 241, 0.42), transparent);
}

.cd-brand-text {
    color: #b9cbda;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.01em;
}

.cd-account-button,
.cd-notification,
.cd-icon-button {
    border-radius: 999px;
}

.cd-sidebar {
    top: 78px;
}

.cd-nav-item {
    min-height: 50px;
    font-size: 13px;
    letter-spacing: -0.01em;
}

.cd-nav-item.is-active {
    background:
        linear-gradient(105deg, rgba(77, 169, 255, 0.22), rgba(45, 188, 187, 0.085)) padding-box,
        linear-gradient(125deg, rgba(91, 184, 255, 0.52), rgba(45, 188, 187, 0.16), transparent 75%) border-box;
    box-shadow: 0 15px 34px rgba(0, 33, 73, 0.25), inset 3px 0 0 var(--cd-primary-bright);
}

.cd-app-shell {
    padding-top: 78px;
}

.cd-main {
    padding-top: 46px;
}

.cd-page-heading h1,
.cd-auth-heading h1 {
    font-family: "Sora", "Manrope", sans-serif;
    font-weight: 700;
    letter-spacing: -0.05em;
}

.cd-eyebrow {
    border-radius: 999px 999px 999px 8px;
    color: #9bd6ff;
    background: linear-gradient(100deg, rgba(77, 169, 255, 0.13), rgba(45, 188, 187, 0.08));
}

.cd-card {
    border-radius: 36px 36px 36px 14px;
    box-shadow: var(--cd-shadow);
}

.cd-form-section {
    padding: clamp(26px, 3.4vw, 40px);
}

.cd-form-section::after {
    position: absolute;
    right: 24px;
    bottom: 20px;
    width: 78px;
    height: 13px;
    border: 1px solid rgba(102, 192, 255, 0.16);
    border-radius: 999px 999px 999px 6px;
    background: linear-gradient(90deg, rgba(77, 169, 255, 0.16), rgba(45, 188, 187, 0.12));
    content: "";
    opacity: 0.58;
}

.cd-section-heading i {
    border-radius: 16px 16px 16px 6px;
}

.cd-field input,
.cd-field select,
.cd-radio-group label {
    border-radius: 15px 15px 15px 7px;
}

.cd-button {
    min-height: 48px;
    padding-right: 22px;
    padding-left: 22px;
    letter-spacing: -0.015em;
}

.cd-form-actions {
    z-index: 2;
}

.cd-form-actions::before,
.cd-form-actions::after {
    position: absolute;
    width: 24px;
    height: 24px;
    content: "";
    pointer-events: none;
}

.cd-form-actions::before {
    top: 14px;
    left: -24px;
    border-bottom-right-radius: 24px;
    box-shadow: 8px 8px 0 8px #04111e;
}

.cd-form-actions::after {
    top: -24px;
    right: 0;
    border-bottom-right-radius: 24px;
    box-shadow: 8px 8px 0 8px #04111e;
}

.cd-dashboard-base {
    min-height: clamp(440px, 61vh, 660px);
    border-radius: 46px 46px 46px 16px;
    background:
        radial-gradient(circle at 78% 40%, rgba(45, 188, 187, 0.14), transparent 26rem) padding-box,
        radial-gradient(circle at 28% 70%, rgba(77, 169, 255, 0.17), transparent 27rem) padding-box,
        linear-gradient(142deg, rgba(7, 29, 48, 0.98), rgba(3, 17, 30, 0.95)) padding-box,
        linear-gradient(130deg, rgba(99, 192, 255, 0.5), rgba(45, 188, 187, 0.2), rgba(151, 198, 228, 0.055)) border-box;
    box-shadow: 0 42px 110px rgba(0, 12, 31, 0.46), 0 20px 48px rgba(20, 115, 230, 0.11), inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

.cd-dashboard-map {
    background-image:
        linear-gradient(90deg, rgba(4, 20, 34, 0.82) 0%, rgba(4, 20, 34, 0.2) 36%, rgba(4, 20, 34, 0.04) 72%),
        linear-gradient(180deg, rgba(4, 20, 34, 0.28), rgba(4, 20, 34, 0.58)),
        url("../javascript/libraries/regantis-assets@2026-07-31/files/images/map2.png");
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}

.cd-dashboard-grid {
    opacity: 0.6;
}

.cd-dashboard-brand-chip {
    position: absolute;
    bottom: 32px;
    left: 34px;
    min-width: 190px;
    height: 64px;
    display: flex;
    align-items: center;
    padding: 15px 22px;
    border: 1px solid rgba(255, 255, 255, 0.54);
    border-radius: 999px 999px 999px 14px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(224, 244, 250, 0.9));
    box-shadow: 0 20px 52px rgba(0, 12, 30, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(18px);
}

.cd-dashboard-brand-chip img {
    width: 145px;
    max-height: 34px;
    object-fit: contain;
}

.cd-dashboard-orbit-one {
    left: 31%;
}

.cd-dashboard-orbit-two {
    left: 31%;
}

.cd-dashboard-beam {
    left: 42%;
}

.cd-placeholder-card {
    border-radius: 46px 46px 46px 16px;
}

.cd-placeholder-card strong {
    border-radius: 999px 999px 999px 10px;
}

.cd-auth-shell {
    width: min(100%, 520px);
}

.cd-auth-brand {
    gap: 14px;
    color: #aebfcd;
    font-size: 13px;
    font-weight: 600;
}

.cd-auth-card-centered {
    text-align: center;
}

.cd-auth-card-centered .cd-button {
    margin-top: 18px;
}

.cd-alert,
.cd-readonly-badge {
    border-radius: 20px 20px 20px 8px;
}

@media (max-width: 960px) {
    :root {
        --cd-topbar-height: 72px;
    }

    .cd-topbar {
        height: 72px;
    }

    .cd-sidebar {
        top: 72px;
    }

    .cd-app-shell {
        padding-top: 72px;
    }

    .cd-dashboard-map {
        right: -9%;
        width: 92%;
        opacity: 0.58;
    }

    .cd-dashboard-core,
    .cd-dashboard-orbit-one,
    .cd-dashboard-orbit-two {
        left: 40%;
    }
}

@media (max-width: 720px) {
    :root {
        --cd-topbar-height: 66px;
    }

    .cd-topbar {
        height: var(--cd-topbar-height);
    }

    .cd-sidebar {
        top: var(--cd-topbar-height);
    }

    .cd-app-shell {
        padding-top: var(--cd-topbar-height);
    }

    .cd-brand-logo-full,
    .cd-brand-divider,
    .cd-brand-text {
        display: none;
    }

    .cd-page-heading,
    .cd-card,
    .cd-dashboard-base,
    .cd-placeholder-card,
    .cd-auth-card {
        border-radius: 28px 28px 28px 12px;
    }

    .cd-dashboard-base {
        min-height: 430px;
    }

    .cd-dashboard-map {
        opacity: 0.48;
    }

    .cd-dashboard-core,
    .cd-dashboard-orbit-one,
    .cd-dashboard-orbit-two {
        left: 50%;
    }

    .cd-dashboard-core {
        top: 43%;
    }

    .cd-dashboard-brand-chip {
        right: 18px;
        bottom: 18px;
        left: 18px;
        min-width: 0;
        height: 58px;
        justify-content: center;
    }

    .cd-dashboard-brand-chip img {
        width: 132px;
    }

    .cd-form-actions {
        width: 100%;
        padding: 0;
        background: transparent;
    }

    .cd-form-actions::before,
    .cd-form-actions::after {
        display: none;
    }

    .cd-form-actions .cd-button {
        width: 100%;
    }
}
:root {
    --cd-theme-yellow: #fdb816;
    --cd-theme-teal: #2dbdbb;
}

html[data-theme="dark"] {
    color-scheme: dark;
}

html[data-theme="light"] {
    color-scheme: light;
    --cd-bg: #edf5fa;
    --cd-border: rgba(23, 90, 132, 0.14);
    --cd-text: #10283a;
    --cd-muted: #647d90;
    --cd-accent: #1473e6;
    --cd-accent-strong: #0c62c9;
    --cd-shadow: 0 30px 90px rgba(35, 83, 115, 0.15), 0 12px 34px rgba(20, 115, 230, 0.08);
}

body,
.cd-topbar,
.cd-sidebar,
.cd-card,
.cd-page-heading,
.cd-account-button,
.cd-notification,
.cd-icon-button,
.cd-field input,
.cd-field select,
.cd-radio-group label,
.cd-theme-menu {
    transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

h1,
h2,
h3,
.cd-brand,
.cd-nav-item,
.cd-readonly-badge,
.cd-auth-brand {
    font-family: "Sora", "Manrope", ui-sans-serif, system-ui, sans-serif;
}

.cd-button {
    font-weight: 800;
}

.cd-brand {
    gap: 0;
}

.cd-brand-logo-full {
    width: 172px;
    height: 46px;
}

.cd-brand-logo-light {
    display: none;
}

html[data-theme="light"] .cd-brand-logo-dark {
    display: none;
}

html[data-theme="light"] .cd-brand-logo-light {
    display: block;
}

.cd-form-actions {
    position: static;
    width: 100%;
    margin-top: 30px;
    margin-left: 0;
    padding: 0;
    justify-content: flex-end;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.cd-form-actions::before,
.cd-form-actions::after {
    display: none;
}

.cd-page-heading h1 {
    margin: 0 0 12px;
}

.cd-page-heading p {
    line-height: 1.7;
}

.cd-page-heading-actions {
    margin-left: auto;
}

.cd-page-heading-accent {
    position: absolute;
    z-index: 2;
    right: 54px;
    bottom: 34px;
    width: 170px;
    height: 54px;
    border: 1px solid rgba(92, 187, 249, 0.17);
    border-radius: 999px 999px 999px 18px;
    background: linear-gradient(90deg, rgba(20, 115, 230, 0.15), rgba(45, 189, 187, 0.12));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.cd-dashboard-heading::before {
    box-shadow: 0 0 0 48px rgba(77, 169, 255, 0.03), 0 0 0 94px rgba(45, 189, 187, 0.016);
}

.cd-page-heading-visual {
    position: absolute;
    z-index: 2;
    top: 50%;
    right: clamp(28px, 7vw, 110px);
    width: clamp(190px, 24vw, 340px);
    height: clamp(150px, 18vw, 250px);
    transform: translateY(-50%);
    pointer-events: none;
}

.cd-heading-line,
.cd-heading-disc,
.cd-heading-spark {
    position: absolute;
    display: block;
}

.cd-heading-line {
    right: 2%;
    width: 82%;
    height: 42%;
    border: 1px solid rgba(83, 180, 245, 0.22);
    border-radius: 999px 999px 999px 26px;
    background: linear-gradient(110deg, rgba(20, 115, 230, 0.09), rgba(45, 189, 187, 0.06));
    box-shadow: 0 24px 46px rgba(0, 16, 38, 0.18);
}

.cd-heading-line-one {
    top: 12%;
    transform: rotate(-7deg);
}

.cd-heading-line-two {
    right: 16%;
    bottom: 10%;
    width: 65%;
    transform: rotate(8deg);
    border-color: rgba(45, 189, 187, 0.24);
}

.cd-heading-disc {
    border-radius: 50%;
}

.cd-heading-disc-one {
    top: 22%;
    right: 13%;
    width: 68px;
    height: 68px;
    border: 10px solid rgba(45, 189, 187, 0.18);
    box-shadow: 0 0 32px rgba(45, 189, 187, 0.18);
}

.cd-heading-disc-two {
    right: 39%;
    bottom: 16%;
    width: 38px;
    height: 38px;
    background: radial-gradient(circle at 34% 30%, #fff0a7, #fdb816 42%, #d98d00 100%);
    box-shadow: 0 0 24px rgba(253, 184, 22, 0.38);
}

.cd-heading-spark {
    top: 28%;
    left: 18%;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #2dbdbb;
    box-shadow: 0 0 0 8px rgba(45, 189, 187, 0.08), 0 0 24px rgba(45, 189, 187, 0.62);
    animation: cd-heading-spark 2.4s ease-in-out infinite;
}

.cd-theme-switcher {
    position: relative;
}

.cd-theme-switcher > summary {
    list-style: none;
}

.cd-theme-switcher > summary::-webkit-details-marker {
    display: none;
}

.cd-theme-switcher[open] > summary {
    border-color: rgba(45, 189, 187, 0.42);
    background: linear-gradient(145deg, rgba(20, 115, 230, 0.14), rgba(45, 189, 187, 0.08));
}

.cd-theme-switcher.is-saving {
    pointer-events: none;
    opacity: 0.72;
}

.cd-theme-menu {
    position: absolute;
    z-index: 80;
    top: calc(100% + 12px);
    right: 0;
    width: 190px;
    padding: 8px;
    border: 1px solid rgba(106, 177, 221, 0.2);
    border-radius: 22px 22px 22px 10px;
    background: rgba(5, 24, 40, 0.96);
    box-shadow: 0 28px 70px rgba(0, 9, 25, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(24px);
    animation: cd-theme-menu-in 150ms ease both;
}

.cd-theme-option {
    width: 100%;
    min-height: 45px;
    display: grid;
    grid-template-columns: 32px 1fr 18px;
    align-items: center;
    gap: 9px;
    padding: 0 11px;
    border: 0;
    border-radius: 14px 14px 14px 6px;
    color: var(--cd-muted);
    background: transparent;
    font-family: "Manrope", sans-serif;
    font-size: 13px;
    font-weight: 700;
    text-align: left;
    cursor: pointer;
    transition: color 140ms ease, background 140ms ease, transform 140ms ease;
}

.cd-theme-option:hover {
    color: var(--cd-text);
    background: linear-gradient(90deg, rgba(20, 115, 230, 0.11), rgba(45, 189, 187, 0.06));
}

.cd-theme-option[aria-checked="true"] {
    color: var(--cd-text);
    background: linear-gradient(90deg, rgba(20, 115, 230, 0.17), rgba(45, 189, 187, 0.09));
}

.cd-theme-option-icon {
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(105, 183, 231, 0.15);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.035);
}

.cd-theme-check {
    color: var(--cd-theme-teal);
    opacity: 0;
}

.cd-theme-option[aria-checked="true"] .cd-theme-check {
    opacity: 1;
}

.cd-dashboard-emblem {
    position: absolute;
    top: 50%;
    left: 31%;
    width: 330px;
    height: 330px;
    transform: translate(-50%, -50%);
}

.cd-dashboard-emblem-center,
.cd-dashboard-emblem-ring,
.cd-dashboard-core {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.cd-dashboard-emblem-center {
    width: 104px;
    height: 104px;
    border-radius: 50%;
    background:
        radial-gradient(circle at 35% 28%, rgba(255, 255, 255, 0.9), transparent 10%),
        radial-gradient(circle, #ffd765 0%, #fdb816 46%, #e29400 76%, rgba(253, 184, 22, 0.22) 78%);
    box-shadow: 0 0 36px rgba(253, 184, 22, 0.6), 0 0 92px rgba(253, 184, 22, 0.28), inset -18px -18px 28px rgba(145, 85, 0, 0.22);
    animation: cd-regantis-center 3.2s ease-in-out infinite;
}

.cd-dashboard-emblem-ring {
    border: 2px solid rgba(45, 189, 187, 0.68);
    border-radius: 50%;
    box-shadow: 0 0 22px rgba(45, 189, 187, 0.22), inset 0 0 22px rgba(45, 189, 187, 0.08);
}

.cd-dashboard-emblem-ring::before,
.cd-dashboard-emblem-ring::after {
    position: absolute;
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background: #2dbdbb;
    box-shadow: 0 0 20px rgba(45, 189, 187, 0.85);
    content: "";
}

.cd-dashboard-emblem-ring::before {
    top: -7px;
    left: 50%;
}

.cd-dashboard-emblem-ring::after {
    right: -7px;
    bottom: 42%;
}

.cd-dashboard-emblem-ring-one {
    width: 162px;
    height: 162px;
    animation: cd-regantis-ring-spin 8s linear infinite;
}

.cd-dashboard-emblem-ring-two {
    width: 232px;
    height: 232px;
    border-color: rgba(45, 189, 187, 0.46);
    animation: cd-regantis-ring-spin-reverse 13s linear infinite;
}

.cd-dashboard-emblem-ring-three {
    width: 314px;
    height: 314px;
    border-color: rgba(45, 189, 187, 0.28);
    animation: cd-regantis-ring-spin-pulse 14s linear infinite;
}

.cd-dashboard-emblem-ring-one::before,
.cd-dashboard-emblem-ring-three::before {
    transform: translateX(-50%);
}

.cd-dashboard-emblem-ring-one::after,
.cd-dashboard-emblem-ring-three::after {
    top: 50%;
    right: -7px;
    bottom: auto;
    transform: translateY(-50%);
}

.cd-dashboard-core {
    z-index: 5;
    width: 94px;
    height: 94px;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 0;
    background: none;
    box-shadow: none;
    animation: none;
}

.cd-dashboard-core::before,
.cd-dashboard-core::after {
    display: none;
}

.cd-dashboard-core img {
    width: 82px;
    height: 82px;
    object-fit: contain;
    opacity: 1;
    filter: drop-shadow(0 0 12px rgba(255, 220, 112, 0.86)) drop-shadow(0 0 28px rgba(45, 189, 187, 0.54));
    animation: cd-regantis-logo-spin 11s linear infinite;
}

.cd-dashboard-node {
    background: var(--cd-theme-teal);
    box-shadow: 0 0 0 8px rgba(45, 189, 187, 0.07), 0 0 24px rgba(45, 189, 187, 0.72);
    animation: cd-regantis-node 2.7s ease-in-out infinite;
}

.cd-dashboard-node-two {
    background: var(--cd-theme-yellow);
    box-shadow: 0 0 0 8px rgba(253, 184, 22, 0.07), 0 0 24px rgba(253, 184, 22, 0.62);
    animation-delay: -0.8s;
}

.cd-dashboard-node-three {
    animation-delay: -1.5s;
}

.cd-auth-brand {
    justify-content: center;
}

.cd-auth-heading {
    margin-bottom: 30px;
    text-align: center;
}

.cd-auth-heading p {
    margin-right: auto;
    margin-left: auto;
    line-height: 1.7;
}

.cd-eyebrow {
    display: none !important;
}

html[data-theme="light"] body:not(.cd-auth-body) {
    color: var(--cd-text);
}

html[data-theme="light"] body::before {
    background-image:
        linear-gradient(rgba(39, 105, 145, 0.055) 1px, transparent 1px),
        linear-gradient(90deg, rgba(39, 105, 145, 0.055) 1px, transparent 1px);
}

html[data-theme="light"] .cd-topbar {
    border-bottom-color: rgba(35, 103, 145, 0.13);
}

html[data-theme="light"] .cd-sidebar {
    border-right-color: rgba(35, 103, 145, 0.12);
}

html[data-theme="light"] .cd-nav-item {
    color: #637f92;
}

html[data-theme="light"] .cd-nav-item:hover {
    color: #17384e;
    border-color: rgba(20, 115, 230, 0.13);
    background: linear-gradient(90deg, rgba(20, 115, 230, 0.08), rgba(45, 189, 187, 0.04));
}

html[data-theme="light"] .cd-nav-item.is-active {
    color: #113954;
    border-color: rgba(20, 115, 230, 0.21);
    background: linear-gradient(100deg, rgba(20, 115, 230, 0.14), rgba(45, 189, 187, 0.07));
    box-shadow: 0 15px 34px rgba(45, 101, 137, 0.1), inset 3px 0 0 var(--cd-primary);
}

html[data-theme="light"] .cd-account-button,
html[data-theme="light"] .cd-notification,
html[data-theme="light"] .cd-icon-button {
    color: #17384e;
    border-color: rgba(45, 101, 137, 0.13);
}

html[data-theme="light"] .cd-page-heading h1,
html[data-theme="light"] .cd-auth-heading h1 {
    text-shadow: none;
}

html[data-theme="light"] .cd-card {
    box-shadow: var(--cd-shadow);
}

html[data-theme="light"] .cd-dashboard-base {
    background:
        radial-gradient(circle at 78% 40%, rgba(45, 189, 187, 0.1), transparent 26rem) padding-box,
        radial-gradient(circle at 28% 70%, rgba(20, 115, 230, 0.1), transparent 27rem) padding-box,
        linear-gradient(142deg, rgba(250, 254, 255, 0.98), rgba(232, 244, 250, 0.94)) padding-box,
        linear-gradient(130deg, rgba(20, 115, 230, 0.3), rgba(45, 189, 187, 0.16), rgba(151, 198, 228, 0.05)) border-box;
    box-shadow: 0 42px 110px rgba(42, 91, 121, 0.14), 0 20px 48px rgba(20, 115, 230, 0.07), inset 0 1px 0 rgba(255, 255, 255, 0.96);
}

html[data-theme="light"] .cd-dashboard-map {
    background-image:
        linear-gradient(90deg, rgba(239, 248, 252, 0.9) 0%, rgba(239, 248, 252, 0.22) 38%, rgba(239, 248, 252, 0.04) 72%),
        linear-gradient(180deg, rgba(239, 248, 252, 0.12), rgba(229, 242, 248, 0.5)),
        url("../javascript/libraries/regantis-assets@2026-07-31/files/images/map2.png");
    box-shadow:none!Important;
}

html[data-theme="light"] .cd-field > span,
html[data-theme="light"] .cd-check-field,
html[data-theme="light"] .cd-department-name {
    color: #314f62;
}

html[data-theme="light"] .cd-field input,
html[data-theme="light"] .cd-field select,
html[data-theme="light"] .cd-radio-group label {
    color: #17384e;
    border-color: rgba(38, 104, 145, 0.14);
    background: rgba(255, 255, 255, 0.72);
}

html[data-theme="light"] .cd-field input[readonly],
html[data-theme="light"] .cd-field select:disabled {
    color: #70889a;
    background: rgba(233, 243, 248, 0.8);
}

html[data-theme="light"] .cd-theme-menu {
    border-color: rgba(35, 103, 145, 0.14);
    background: rgba(250, 254, 255, 0.97);
    box-shadow: 0 28px 70px rgba(42, 91, 121, 0.17), inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

html[data-theme="light"] .cd-theme-option-icon {
    background: rgba(20, 115, 230, 0.05);
}

html[data-theme="light"] .cd-readonly-badge {
    color: #5e788a;
    background: rgba(255, 255, 255, 0.62);
}

@keyframes cd-theme-menu-in {
    from {
        opacity: 0;
        transform: translateY(-6px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes cd-heading-spark {
    0%, 100% {
        transform: scale(0.8);
        opacity: 0.55;
    }
    50% {
        transform: scale(1.25);
        opacity: 1;
    }
}

@keyframes cd-regantis-center {
    0%, 100% {
        transform: translate(-50%, -50%) scale(0.94);
        box-shadow: 0 0 30px rgba(253, 184, 22, 0.5), 0 0 76px rgba(253, 184, 22, 0.22), inset -18px -18px 28px rgba(145, 85, 0, 0.22);
    }
    50% {
        transform: translate(-50%, -50%) scale(1.06);
        box-shadow: 0 0 48px rgba(253, 184, 22, 0.78), 0 0 118px rgba(253, 184, 22, 0.36), inset -18px -18px 28px rgba(145, 85, 0, 0.22);
    }
}

@keyframes cd-regantis-ring-spin {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

@keyframes cd-regantis-ring-spin-reverse {
    from {
        transform: translate(-50%, -50%) rotate(360deg);
    }
    to {
        transform: translate(-50%, -50%) rotate(0deg);
    }
}

@keyframes cd-regantis-ring-spin-pulse {
    0% { transform: translate(-50%, -50%) rotate(0deg) scale(0.96); opacity: 0.62; }
    50% { transform: translate(-50%, -50%) rotate(180deg) scale(1.04); opacity: 1; }
    100% { transform: translate(-50%, -50%) rotate(360deg) scale(0.96); opacity: 0.62; }
}

@keyframes cd-regantis-ring-pulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(0.94);
        opacity: 0.5;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.05);
        opacity: 1;
    }
}

@keyframes cd-regantis-logo-spin {
    from {
        transform: rotate(0deg) scale(0.96);
    }
    50% {
        transform: rotate(180deg) scale(1.06);
    }
    to {
        transform: rotate(360deg) scale(0.96);
    }
}

@keyframes cd-regantis-node {
    0%, 100% {
        transform: scale(0.78);
        opacity: 0.45;
    }
    50% {
        transform: scale(1.25);
        opacity: 1;
    }
}

@media (max-width: 960px) {
    .cd-page-heading-copy {
        max-width: 66%;
    }

    .cd-page-heading-visual {
        right: 24px;
        width: 260px;
    }

    .cd-dashboard-emblem {
        left: 40%;
    }
}

@media (max-width: 720px) {
    .cd-brand-logo-full,
    html[data-theme="light"] .cd-brand-logo-light {
        display: none;
    }

    .cd-brand-logo-icon {
        display: block;
        width: 42px;
        height: 42px;
    }

    .cd-page-heading-copy {
        max-width: 100%;
    }

    .cd-page-heading-visual,
    .cd-page-heading-accent {
        opacity: 0.26;
    }

    .cd-page-heading-visual {
        right: -62px;
        width: 220px;
    }

    .cd-page-heading-actions {
        position: absolute;
    }

    .cd-dashboard-emblem {
        top: 43%;
        left: 50%;
        width: 270px;
        height: 270px;
    }

    .cd-dashboard-emblem-ring-one {
        width: 136px;
        height: 136px;
    }

    .cd-dashboard-emblem-ring-two {
        width: 194px;
        height: 194px;
    }

    .cd-dashboard-emblem-ring-three {
        width: 258px;
        height: 258px;
    }

    .cd-dashboard-emblem-center {
        width: 86px;
        height: 86px;
    }

    .cd-dashboard-core {
        width: 78px;
        height: 78px;
    }

    .cd-dashboard-core img {
        width: 68px;
        height: 68px;
    }

    .cd-form-actions {
        margin-top: 24px;
    }

    .cd-theme-menu {
        position: fixed;
        top: calc(var(--cd-topbar-height) - 2px);
        right: 12px;
        width: min(210px, calc(100vw - 24px));
    }

    .cd-auth-brand-logo {
        width: 168px;
        height: 46px;
    }
}

.cd-topbar {
    overflow: visible;
}
:root {
    --cd-regantis-teal: #2dbdbb;
    --cd-nav-indicator-y: 0px;
    --cd-nav-indicator-height: 50px;
    --cd-nav-indicator-opacity: 0;
}

body:not(.cd-auth-body) {
    background:
        radial-gradient(ellipse at 4% -8%, rgba(130, 88, 200, 0.19), transparent 33rem),
        radial-gradient(ellipse at 48% -18%, rgba(44, 132, 200, 0.19), transparent 40rem),
        radial-gradient(ellipse at 101% 18%, rgba(45, 189, 187, 0.14), transparent 32rem),
        linear-gradient(143deg, #040e1a 0%, #07182a 48%, #04101d 100%);
}

.cd-button,
button.cd-button,
a.cd-button,
input.cd-button {
    border-radius: 999px !important;
    font-family: "Manrope", ui-sans-serif, system-ui, sans-serif !important;
}

.cd-button-primary {
    border-color: transparent;
    background:
        linear-gradient(104deg, #8258c8 0%, #496fc9 38%, #2c84c8 70%, #2dbdbb 116%) padding-box,
        linear-gradient(104deg, rgba(184, 143, 255, 0.9), rgba(82, 187, 255, 0.78), rgba(45, 189, 187, 0.6)) border-box;
    box-shadow: 0 16px 38px rgba(70, 94, 191, 0.28), 0 8px 24px rgba(44, 132, 200, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.26);
}

.cd-button-primary:hover {
    box-shadow: 0 20px 46px rgba(100, 78, 190, 0.34), 0 10px 28px rgba(44, 132, 200, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.cd-topbar {
    background:
        radial-gradient(circle at 22% -190%, rgba(130, 88, 200, 0.35), transparent 28rem),
        radial-gradient(circle at 78% -170%, rgba(44, 132, 200, 0.35), transparent 30rem),
        linear-gradient(100deg, rgba(3, 15, 29, 0.96), rgba(6, 28, 47, 0.92));
    box-shadow: 0 18px 54px rgba(0, 8, 23, 0.34), 0 1px 0 rgba(255, 255, 255, 0.025) inset;
}

.cd-sidebar {
    background:
        radial-gradient(circle at -24% 5%, rgba(130, 88, 200, 0.2), transparent 20rem),
        radial-gradient(circle at 118% 42%, rgba(44, 132, 200, 0.18), transparent 19rem),
        radial-gradient(circle at 120% 92%, rgba(45, 189, 187, 0.14), transparent 18rem),
        linear-gradient(180deg, rgba(5, 21, 38, 0.96), rgba(3, 15, 28, 0.94));
    box-shadow: 18px 0 58px rgba(0, 8, 24, 0.18);
}

.cd-nav {
    --cd-nav-indicator-y: 0px;
    --cd-nav-indicator-height: 50px;
    --cd-nav-indicator-opacity: 0;
    position: relative;
    isolation: isolate;
}

.cd-nav::before {
    position: absolute;
    z-index: 0;
    top: 0;
    right: 0;
    left: 4px;
    height: var(--cd-nav-indicator-height);
    transform: translate3d(0, var(--cd-nav-indicator-y), 0);
    border: 1px solid transparent;
    background:
        linear-gradient(105deg, rgba(130, 88, 200, 0.23), rgba(44, 132, 200, 0.22) 58%, rgba(45, 189, 187, 0.1)) padding-box,
        linear-gradient(125deg, rgba(159, 116, 229, 0.65), rgba(76, 162, 227, 0.5), rgba(45, 189, 187, 0.22)) border-box;
    box-shadow: 0 16px 36px rgba(25, 26, 74, 0.3), inset 3px 0 0 #5ba7e0, inset 0 1px 0 rgba(255, 255, 255, 0.08);
    content: "";
    opacity: var(--cd-nav-indicator-opacity);
    pointer-events: none;
    transition: transform 360ms cubic-bezier(0.22, 1, 0.36, 1), height 220ms ease, opacity 140ms ease;
    will-change: transform, height;
}

.cd-nav.is-indicator-instant::before {
    transition: none;
}

.cd-nav-item,
.cd-logout-form {
    position: relative;
    z-index: 1;
}

.cd-nav.has-moving-indicator .cd-nav-item.is-active {
    border-color: transparent;
    background: transparent;
    box-shadow: none;
}

@keyframes cd-main-soft-out {
    to {
        transform: translateY(-4px) scale(0.997);
        opacity: 0;
        filter: blur(2px);
    }
}

@keyframes cd-main-soft-in {
    from {
        transform: translateY(12px) scale(0.995);
        opacity: 0;
        filter: blur(5px);
    }
    to {
        transform: translateY(0) scale(1);
        opacity: 1;
        filter: blur(0);
    }
}

.cd-page-heading::before {
    border-color: rgba(108, 164, 220, 0.14);
}

.cd-page-heading::after {
    opacity: 1;
}

.cd-page-heading-copy {
    max-width: min(720px, 62%);
}

.cd-page-heading h1 {
    max-width: 820px;
    text-wrap: balance;
}

.cd-page-heading-media-icon {
    font-size: 18px;
}

.cd-dashboard-heading::after {
    border-color: rgba(116, 180, 227, 0.1);
}

.cd-dashboard-heading-media {
    isolation: isolate;
}

.cd-dashboard-heading-image {
    position: absolute;
    z-index: 1;
    overflow: hidden;
}

.cd-dashboard-heading-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.cd-dashboard-heading-mark {
    position: absolute;
    z-index: 4;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.cd-dashboard-heading-mark img {
    width: 68%;
    height: 68%;
    object-fit: contain;
    filter: drop-shadow(0 0 16px rgba(80, 166, 228, 0.58));
}

.cd-dashboard-heading-orbit {
    position: absolute;
    z-index: 2;
    border: 1px solid rgba(83, 171, 228, 0.22);
    border-radius: 999px;
    box-shadow: 0 0 32px rgba(44, 132, 200, 0.08);
}

.cd-dashboard-heading-orbit-one {
    top: 0;
    right: 12%;
    width: 68%;
    height: 34%;
    transform: rotate(-11deg);
}

.cd-dashboard-heading-orbit-two {
    right: -2%;
    bottom: 10%;
    width: 58%;
    height: 27%;
    transform: rotate(12deg);
    border-color: rgba(45, 189, 187, 0.2);
}

.cd-dashboard-heading-glow {
    position: absolute;
    z-index: 0;
    inset: 8% -4% -8% 10%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(130, 88, 200, 0.22), rgba(44, 132, 200, 0.13) 46%, rgba(45, 189, 187, 0.07) 61%, transparent 74%);
    filter: blur(22px);
}

.cd-dashboard-emblem-center {
    display: none !important;
}

.cd-card {
    background:
        radial-gradient(circle at 3% -8%, rgba(130, 88, 200, 0.08), transparent 23rem) padding-box,
        radial-gradient(circle at 96% 0%, rgba(44, 132, 200, 0.08), transparent 22rem) padding-box,
        linear-gradient(145deg, rgba(10, 29, 48, 0.93), rgba(6, 21, 37, 0.9)) padding-box,
        linear-gradient(128deg, rgba(130, 88, 200, 0.26), rgba(44, 132, 200, 0.3), rgba(45, 189, 187, 0.12)) border-box;
}

html[data-theme="light"] .cd-sidebar {
    box-shadow: 18px 0 54px rgba(53, 78, 111, 0.07);
}

html[data-theme="light"] .cd-page-heading h1,
html[data-theme="light"] .cd-dashboard-heading h1 {
    color: #102f48;
}

html[data-theme="light"] .cd-card {
    background:
        radial-gradient(circle at 3% -8%, rgba(130, 88, 200, 0.05), transparent 23rem) padding-box,
        radial-gradient(circle at 96% 0%, rgba(44, 132, 200, 0.06), transparent 22rem) padding-box,
        linear-gradient(145deg, rgba(255, 255, 255, 0.97), rgba(239, 247, 252, 0.93)) padding-box,
        linear-gradient(128deg, rgba(130, 88, 200, 0.2), rgba(44, 132, 200, 0.23), rgba(45, 189, 187, 0.11)) border-box;
}

@media (max-width: 1080px) {

    .cd-dashboard-heading h1 {
        font-size: clamp(48px, 7.5vw, 76px);
    }

    .cd-page-heading-with-media {
        padding-right: clamp(250px, 36vw, 390px);
    }

    .cd-page-heading-media {
        width: clamp(210px, 31vw, 330px);
    }

    .cd-page-heading-actions {
        right: clamp(235px, 34vw, 360px);
    }
}

@media (max-width: 820px) {
    .cd-dashboard-heading {
        align-content: start;
    }

    .cd-dashboard-heading .cd-page-heading-copy {
        max-width: 100%;
    }

    .cd-dashboard-heading-image {
        inset: 3% 5% 2% 3%;
    }

    .cd-page-heading-with-media {
        min-height: 360px;
        align-items: flex-start;
        padding-right: clamp(28px, 6vw, 48px);
        padding-bottom: 182px;
    }

    .cd-page-heading-with-media .cd-page-heading-copy {
        max-width: 100%;
    }

    .cd-page-heading-media {
        top: auto;
        right: 22px;
        bottom: 22px;
        left: 22px;
        width: auto;
        height: 142px;
    }

    .cd-page-heading-actions {
        right: 34px;
        bottom: 184px;
    }
}

@media (max-width: 720px) {

    .cd-dashboard-heading-kicker {
        width: 46px;
        height: 46px;
        margin-bottom: 22px;
    }

    .cd-dashboard-heading-media {
        min-height: 210px;
    }

    .cd-page-heading-with-media {
        min-height: 350px;
        padding-bottom: 170px;
    }

    .cd-page-heading-media {
        right: 18px;
        bottom: 18px;
        left: 18px;
        height: 132px;
    }

    .cd-page-heading-actions {
        right: 25px;
        bottom: 170px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .cd-nav::before {
        transition: none !important;
    }
}

/* Moving navigation indicator finishing rules */
:root {
    --cd-transition-bg: #04101d;
}

.cd-nav::after {
    position: absolute;
    z-index: 2;
    top: 0;
    right: 13px;
    width: 6px;
    height: 6px;
    transform: translate3d(0, calc(var(--cd-nav-indicator-y) + (var(--cd-nav-indicator-height) - 6px) / 2), 0);
    border-radius: 50%;
    background: var(--cd-regantis-teal);
    box-shadow: 0 0 16px rgba(45, 189, 187, 0.82);
    opacity: var(--cd-nav-indicator-opacity);
    pointer-events: none;
    transition: transform 360ms cubic-bezier(0.22, 1, 0.36, 1), opacity 140ms ease;
    will-change: transform;
}

.cd-nav.is-indicator-instant::after {
    transition: none;
}

html[data-theme="light"] {
    --cd-transition-bg: #edf3fb;
}

html[data-theme="light"] .cd-nav.has-moving-indicator .cd-nav-item.is-active {
    border-color: transparent;
    background: transparent;
    box-shadow: none;
}

::view-transition {
    background: var(--cd-transition-bg);
}

/* Keep the fixed chrome above the animated page snapshot and clip page shadows. */

.cd-main {
    position: relative;
    isolation: isolate;
}

::view-transition-group(cd-topbar),
::view-transition-group(cd-sidebar) {
    z-index: 20;
    animation: none !important;
}

::view-transition-group(cd-topbar) {
    z-index: 30;
}

::view-transition-old(cd-topbar),
::view-transition-new(cd-topbar),
::view-transition-old(cd-sidebar),
::view-transition-new(cd-sidebar) {
    animation: none !important;
    opacity: 1;
    mix-blend-mode: normal;
}

::view-transition-group(cd-main) {
    z-index: 1;
    overflow: hidden;
    animation-duration: 320ms;
    animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
    clip-path: inset(0);
}

::view-transition-image-pair(cd-main) {
    overflow: hidden;
    isolation: isolate;
}

::view-transition-old(cd-main) {
    animation: 120ms ease-in both cd-main-refined-out;
    mix-blend-mode: normal;
}

::view-transition-new(cd-main) {
    animation: 300ms 35ms cubic-bezier(0.22, 1, 0.36, 1) both cd-main-refined-in;
    mix-blend-mode: normal;
}

@keyframes cd-main-refined-out {
    to {
        transform: translateY(-3px);
        opacity: 0;
    }
}

@keyframes cd-main-refined-in {
    from {
        transform: translateY(10px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Regantis-style page banners with a reusable image-ready media area. */
.cd-page-heading {
    min-height: 250px;
    display: grid;
    align-items: center;
    overflow: hidden;
    isolation: isolate;
    padding: clamp(40px, 5vw, 68px);
    border-radius: 64px 64px 64px 20px;
    background:
        radial-gradient(circle at 7% -28%, rgba(130, 88, 200, 0.38), transparent 29rem) padding-box,
        radial-gradient(circle at 60% -42%, rgba(44, 132, 200, 0.38), transparent 34rem) padding-box,
        radial-gradient(circle at 101% 100%, rgba(45, 189, 187, 0.18), transparent 25rem) padding-box,
        linear-gradient(126deg, rgba(9, 29, 51, 0.99), rgba(4, 19, 35, 0.97)) padding-box,
        linear-gradient(118deg, rgba(153, 102, 224, 0.66), rgba(57, 145, 214, 0.57), rgba(45, 189, 187, 0.25)) border-box;
    box-shadow: 0 42px 105px rgba(0, 7, 27, 0.34), 0 18px 48px rgba(76, 75, 171, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.cd-page-heading::before {
    top: -235px;
    right: -90px;
    width: 530px;
    height: 530px;
    border: 1px solid rgba(126, 186, 230, 0.13);
    border-radius: 46% 54% 61% 39% / 48% 42% 58% 52%;
    background: radial-gradient(circle at 38% 40%, rgba(130, 88, 200, 0.29), rgba(44, 132, 200, 0.15) 42%, rgba(45, 189, 187, 0.06) 61%, transparent 73%);
    box-shadow: 0 0 0 52px rgba(130, 88, 200, 0.024), 0 0 0 104px rgba(44, 132, 200, 0.016);
}

.cd-page-heading::after {
    right: 30%;
    bottom: -74px;
    width: 270px;
    height: 160px;
    transform: rotate(-7deg);
    border: 1px solid rgba(105, 175, 226, 0.13);
    border-radius: 999px 999px 999px 38px;
    background: linear-gradient(116deg, rgba(130, 88, 200, 0.1), rgba(44, 132, 200, 0.11), rgba(45, 189, 187, 0.045));
}

.cd-page-heading-copy {
    position: relative;
    z-index: 4;
}

.cd-page-heading-copy::after {
    width: 72px;
    height: 5px;
    display: block;
    margin-top: 24px;
    border-radius: 999px;
    background: linear-gradient(90deg, #8258c8, #2c84c8 62%, #2dbdbb);
    box-shadow: 0 8px 24px rgba(69, 111, 200, 0.28);
    content: "";
}

.cd-page-heading h1 {
    font-size: clamp(42px, 5.3vw, 72px);
    line-height: 0.98;
    letter-spacing: -0.06em;
}

.cd-page-heading p {
    max-width: 680px;
    margin-top: 18px;
    color: #afc2d3;
    font-size: clamp(15px, 1.35vw, 18px);
}

.cd-page-heading-with-media {
    grid-template-columns: minmax(0, 1fr) clamp(250px, 32vw, 440px);
    grid-template-rows: auto auto;
    gap: 20px clamp(34px, 5vw, 76px);
    padding-right: clamp(34px, 4vw, 58px);
}

.cd-page-heading-with-media .cd-page-heading-copy {
    grid-column: 1;
    grid-row: 1;
}

.cd-page-heading-actions {
    right: auto;
    bottom: auto;
    grid-column: 1;
    grid-row: 2;
    margin: 0;
}

.cd-page-heading-media {
    top: auto;
    right: auto;
    bottom: auto;
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: stretch;
    padding: 12px;
}

.cd-page-heading-media img {
    border-radius: 39px 39px 39px 12px;
    transform: scale(1.035);
}

.cd-page-heading-media-overlay {
    border-radius: 39px 39px 39px 12px;
}

/* Dashboard hero: stronger page-banner geometry and image treatment. */
.cd-dashboard-heading {
    grid-template-rows: 1fr;
}

.cd-dashboard-heading .cd-page-heading-copy::after {
    width: 96px;
    margin-top: 30px;
}

.cd-dashboard-heading-image {
    border: 1px solid transparent;
}

.cd-dashboard-heading-image img {
    transform: scale(1.045);
}

/* Dashboard map card: padded, saturated and readable in both themes. */
.cd-dashboard-map {
    overflow: hidden;
    transform: rotate(1.2deg);
}

.cd-dashboard-map::before {
    position: absolute;
    inset: clamp(14px, 1.7vw, 24px);
    border-radius: 40px 40px 40px 12px;
    background-image:
        linear-gradient(90deg, rgba(4, 20, 34, 0.48) 0%, rgba(4, 20, 34, 0.08) 38%, rgba(4, 20, 34, 0.02) 78%),
        linear-gradient(180deg, rgba(4, 20, 34, 0.08), rgba(4, 20, 34, 0.35)),
        url("../javascript/libraries/regantis-assets@2026-07-31/files/images/map2.png");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    content: "";
    filter: saturate(1.55) contrast(1.14);
    opacity: 0.96;
}

.cd-dashboard-map::after {
    position: absolute;
    inset: clamp(14px, 1.7vw, 24px);
    border: 1px solid rgba(255, 255, 255, 0.065);
    border-radius: 40px 40px 40px 12px;
    background: linear-gradient(120deg, rgba(130, 88, 200, 0.12), rgba(44, 132, 200, 0.04) 52%, rgba(45, 189, 187, 0.08));
    content: "";
    pointer-events: none;
}

html[data-theme="light"] .cd-page-heading p,
html[data-theme="light"] .cd-dashboard-heading p {
    color: #587488;
}

html[data-theme="light"] .cd-page-heading-media,
html[data-theme="light"] .cd-dashboard-heading-image,
html[data-theme="light"] .cd-dashboard-map {
    box-shadow: 0 30px 72px rgba(49, 74, 111, 0.18), 0 14px 34px rgba(68, 111, 174, 0.09), inset 0 1px 0 rgba(255, 255, 255, 0.98);
}

html[data-theme="light"] .cd-page-heading-media img,
html[data-theme="light"] .cd-dashboard-heading-image img {
    filter: saturate(1.4) contrast(1.08);
    opacity: 0.96;
}

@media (max-width: 1080px) {

    .cd-page-heading-with-media {
        grid-template-columns: minmax(0, 1fr) clamp(230px, 34vw, 350px);
    }
}

@media (max-width: 820px) {
    .cd-page-heading-with-media,
    .cd-dashboard-heading {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto;
    }

    .cd-page-heading-with-media .cd-page-heading-copy,
    .cd-page-heading-actions,
    .cd-page-heading-media,
    .cd-dashboard-heading-media {
        grid-column: 1;
    }

    .cd-page-heading-with-media .cd-page-heading-copy {
        grid-row: 1;
    }

    .cd-page-heading-actions {
        grid-row: 2;
    }

    .cd-page-heading-media {
        grid-row: 3;
    }
}

@media (max-width: 720px) {
    .cd-page-heading {
        min-height: 0;
        padding: 36px 24px 24px;
        border-radius: 42px 42px 42px 14px;
    }

    .cd-page-heading h1 {
        font-size: clamp(38px, 11vw, 54px);
    }

    .cd-page-heading-media {
        padding: 9px;
        transform: none;
    }

    .cd-page-heading-media img,
    .cd-page-heading-media-overlay {
        border-radius: 26px 26px 26px 9px;
    }

    .cd-dashboard-map {
        padding: 10px;
        border-radius: 36px 36px 36px 12px;
    }

    .cd-dashboard-map::before,
    .cd-dashboard-map::after {
        inset: 10px;
        border-radius: 27px 27px 27px 9px;
    }
}

@media (prefers-reduced-motion: reduce) {
    ::view-transition-old(root),
    ::view-transition-new(root),
    ::view-transition-old(cd-topbar),
    ::view-transition-new(cd-topbar),
    ::view-transition-old(cd-sidebar),
    ::view-transition-new(cd-sidebar),
    ::view-transition-old(cd-main),
    ::view-transition-new(cd-main) {
        animation: none !important;
    }
}

/* Cross-document snapshots caused bright seams around the fixed chrome.
   Keep navigation stable and animate only the newly loaded content. */
.cd-topbar,
.cd-sidebar,
.cd-brand,
.cd-main {
    view-transition-name: none !important;
}

.cd-main {
    animation: cd-main-page-enter 340ms cubic-bezier(0.22, 1, 0.36, 1) both;
    transform-origin: 50% 20%;
}

@keyframes cd-main-page-enter {
    from {
        transform: translate3d(0, 12px, 0);
        opacity: 0;
    }
    to {
        transform: translate3d(0, 0, 0);
        opacity: 1;
    }
}

/* Header order is notification -> theme -> account. */
.cd-theme-switcher {
    order: 2;
}

.cd-notification {
    order: 1;
}

.cd-account-button {
    order: 3;
}

/* Stronger Regantis hero treatment without adding dashboard data. */

.cd-dashboard-heading::before {
    filter: blur(1px);
}

.cd-dashboard-heading::after {
    left: 4%;
}

.cd-dashboard-heading .cd-page-heading-copy {
    position: relative;
    z-index: 5;
    max-width: 840px;
}

.cd-dashboard-heading p {
    margin-top: 28px;
}

.cd-dashboard-heading-kicker {
    width: 48px;
    height: 48px;
    margin-bottom: 26px;
    display: inline-grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    color: #fff;
    background: linear-gradient(135deg, rgba(130, 88, 200, 0.92), rgba(44, 132, 200, 0.92), rgba(45, 189, 187, 0.88));
    box-shadow: 0 18px 42px rgba(50, 72, 167, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.cd-dashboard-heading-stroke {
    width: clamp(110px, 13vw, 184px);
    height: 7px;
    display: block;
    margin-top: 34px;
    overflow: hidden;
    border-radius: 999px;
    background: linear-gradient(90deg, #8258c8 0%, #2c84c8 60%, #2dbdbb 100%);
    box-shadow: 0 10px 26px rgba(61, 129, 201, 0.3);
}

.cd-dashboard-heading-media {
    position: relative;
    z-index: 4;
    min-height: clamp(310px, 34vw, 430px);
    transform: translateY(3%);
}

.cd-dashboard-heading-image {
    inset: 4% 2% 2% 5%;
    padding: clamp(14px, 1.6vw, 22px);
    border-radius: 78px 78px 78px 24px;
    transform: rotate(2.6deg);
    background:
        radial-gradient(circle at 10% 0%, rgba(130, 88, 200, 0.33), transparent 23rem) padding-box,
        radial-gradient(circle at 100% 100%, rgba(45, 189, 187, 0.22), transparent 19rem) padding-box,
        linear-gradient(145deg, rgba(14, 43, 72, 0.98), rgba(5, 23, 42, 0.99)) padding-box,
        linear-gradient(125deg, rgba(167, 115, 236, 0.78), rgba(67, 158, 223, 0.66), rgba(45, 189, 187, 0.34)) border-box;
    box-shadow: 0 44px 96px rgba(0, 7, 31, 0.47), 0 22px 48px rgba(69, 91, 183, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.cd-dashboard-heading-image img {
    border-radius: 58px 58px 58px 16px;
    filter: saturate(1.55) contrast(1.17);
    opacity: 0.96;
}

.cd-dashboard-heading-image::after,
.cd-dashboard-heading-image-glass {
    position: absolute;
    z-index: 2;
    inset: clamp(14px, 1.6vw, 22px);
    border-radius: 58px 58px 58px 16px;
    content: "";
    pointer-events: none;
}

.cd-dashboard-heading-image::after {
    background:
        linear-gradient(122deg, rgba(130, 88, 200, 0.19), rgba(44, 132, 200, 0.05) 50%, rgba(45, 189, 187, 0.12)),
        linear-gradient(180deg, transparent 38%, rgba(3, 14, 29, 0.58));
}

.cd-dashboard-heading-image-glass {
    z-index: 3;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.055), transparent 38%);
}

.cd-dashboard-heading-mark {
    right: -1%;
    bottom: 1%;
    width: 108px;
    height: 108px;
    border-radius: 42% 58% 58% 42% / 46% 42% 58% 54%;
    background: linear-gradient(145deg, rgba(130, 88, 200, 0.94), rgba(44, 132, 200, 0.95), rgba(45, 189, 187, 0.9));
    box-shadow: 0 24px 58px rgba(45, 77, 164, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.cd-dashboard-hero-arc {
    position: absolute;
    z-index: 1;
    border: 1px solid rgba(118, 177, 223, 0.12);
    border-radius: 999px;
    pointer-events: none;
}

.cd-dashboard-hero-arc-one {
    top: 13%;
    left: 41%;
    width: 31%;
    height: 72%;
    transform: rotate(21deg);
}

.cd-dashboard-hero-arc-two {
    top: 23%;
    left: 45%;
    width: 23%;
    height: 53%;
    transform: rotate(-18deg);
    border-color: rgba(45, 189, 187, 0.11);
}

/* The map is the visual backdrop, never the foreground layer. */

.cd-dashboard-grid {
    z-index: 1;
}

.cd-dashboard-beam {
    z-index: 2;
}

.cd-dashboard-emblem {
    z-index: 3;
}

.cd-dashboard-node {
    z-index: 4;
}

/* Light theme: retain the blue identity and add a controlled Regantis purple light. */
html[data-theme="light"] body:not(.cd-auth-body) {
    background:
        radial-gradient(ellipse at 2% -12%, rgba(130, 88, 200, 0.19), transparent 34rem),
        radial-gradient(ellipse at 48% -20%, rgba(44, 132, 200, 0.24), transparent 43rem),
        radial-gradient(ellipse at 101% 22%, rgba(45, 189, 187, 0.14), transparent 34rem),
        linear-gradient(143deg, #f8fbff 0%, #eef6fb 48%, #f5f9fd 100%);
}

html[data-theme="light"] .cd-topbar {
    background:
        radial-gradient(circle at 18% -180%, rgba(130, 88, 200, 0.2), transparent 26rem),
        radial-gradient(circle at 70% -180%, rgba(44, 132, 200, 0.22), transparent 29rem),
        linear-gradient(100deg, rgba(252, 254, 255, 0.97), rgba(238, 248, 253, 0.95));
    box-shadow: 0 18px 54px rgba(47, 72, 107, 0.13), inset 0 -1px 0 rgba(97, 131, 165, 0.09);
}

html[data-theme="light"] .cd-sidebar {
    background:
        radial-gradient(circle at -25% 5%, rgba(130, 88, 200, 0.15), transparent 21rem),
        radial-gradient(circle at 115% 38%, rgba(44, 132, 200, 0.18), transparent 21rem),
        radial-gradient(circle at 118% 94%, rgba(45, 189, 187, 0.12), transparent 19rem),
        linear-gradient(180deg, rgba(250, 253, 255, 0.97), rgba(237, 247, 252, 0.96));
}

html[data-theme="light"] .cd-page-heading,
html[data-theme="light"] .cd-dashboard-heading {
    background:
        radial-gradient(circle at 5% -24%, rgba(130, 88, 200, 0.24), transparent 30rem) padding-box,
        radial-gradient(circle at 59% -40%, rgba(44, 132, 200, 0.23), transparent 36rem) padding-box,
        radial-gradient(circle at 100% 100%, rgba(45, 189, 187, 0.12), transparent 26rem) padding-box,
        linear-gradient(128deg, rgba(255, 255, 255, 0.995), rgba(233, 245, 252, 0.98)) padding-box,
        linear-gradient(118deg, rgba(130, 88, 200, 0.48), rgba(44, 132, 200, 0.45), rgba(45, 189, 187, 0.22)) border-box;
    box-shadow: 0 42px 102px rgba(48, 71, 108, 0.16), 0 18px 44px rgba(104, 75, 166, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.99);
}

html[data-theme="light"] .cd-dashboard-heading-image {
    background:
        radial-gradient(circle at 8% 0%, rgba(130, 88, 200, 0.18), transparent 22rem) padding-box,
        radial-gradient(circle at 100% 100%, rgba(45, 189, 187, 0.14), transparent 19rem) padding-box,
        linear-gradient(145deg, rgba(248, 253, 255, 0.995), rgba(216, 238, 249, 0.98)) padding-box,
        linear-gradient(125deg, rgba(130, 88, 200, 0.54), rgba(44, 132, 200, 0.5), rgba(45, 189, 187, 0.26)) border-box;
}

/* map2.png is a pale line illustration; invert/tint it on light backgrounds. */

html[data-theme="light"] .cd-dashboard-map::before {
    background-image: url("../javascript/libraries/regantis-assets@2026-07-31/files/images/map2.png");
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    filter: invert(1) sepia(0.82) saturate(3.4) hue-rotate(154deg) brightness(0.72) contrast(1.45);
    mix-blend-mode: multiply;
    opacity: 0.82;
}

html[data-theme="light"] .cd-dashboard-map::after {
    border-color: rgba(32, 101, 151, 0.14);
    background: linear-gradient(120deg, rgba(130, 88, 200, 0.1), rgba(44, 132, 200, 0.025) 54%, rgba(45, 189, 187, 0.07));
}

/* Logout is deliberately distinct from normal navigation actions. */
.cd-logout-form .cd-nav-button {
    border-color: rgba(255, 91, 118, 0.28);
    background: linear-gradient(105deg, rgba(214, 54, 84, 0.18), rgba(255, 91, 118, 0.08));
    box-shadow: inset 3px 0 0 rgba(255, 91, 118, 0.82);
}

html[data-theme="light"] .cd-logout-form .cd-nav-button {
    border-color: rgba(196, 48, 78, 0.22);
    background: linear-gradient(105deg, rgba(232, 71, 102, 0.12), rgba(255, 105, 132, 0.055));
    box-shadow: inset 3px 0 0 rgba(211, 55, 86, 0.72);
}

/* Authentication primary actions always keep white labels/icons. */
.cd-auth-body .cd-button-primary,
.cd-auth-body .cd-button-primary:hover,
.cd-auth-body .cd-button-primary:focus,
.cd-auth-body .cd-button-primary:active,
.cd-auth-body .cd-button-primary i {
    color: #ffffff !important;
}

@media (max-width: 820px) {
    .cd-dashboard-heading {
        grid-template-rows: auto minmax(250px, 1fr);
    }

    .cd-dashboard-heading-media {
        min-height: 270px;
        transform: none;
    }

    .cd-dashboard-hero-arc {
        display: none;
    }
}

@media (max-width: 720px) {

    .cd-dashboard-heading p {
        margin-top: 20px;
    }

    .cd-dashboard-heading-image {
        inset: 0;
        padding: 10px;
        border-radius: 48px 48px 48px 15px;
        transform: none;
    }

    .cd-dashboard-heading-image img,
    .cd-dashboard-heading-image::after,
    .cd-dashboard-heading-image-glass {
        inset: 10px;
        border-radius: 37px 37px 37px 11px;
    }

    .cd-dashboard-heading-mark {
        right: 0;
        bottom: -2px;
        width: 82px;
        height: 82px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .cd-main {
        animation: none !important;
    }
}

/* Use the complete content width to the right edge. */
.cd-main {
    width: 100%;
    max-width: none;
    margin-right: 0;
}

/* The notification dot is intentionally borderless. */
.cd-notification-dot {
    border: 0;
}

/* Dashboard page banner inspired by the Regantis software-solutions banner. */
.cd-dashboard-heading {
    grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
    gap: clamp(30px, 5vw, 80px);
}

.cd-dashboard-heading::before {
    position: absolute;
    z-index: -2;
    top: -48%;
    right: 15%;
    width: min(52vw, 720px);
    height: min(52vw, 720px);
    border: 1px solid rgba(151, 202, 237, 0.12);
    border-radius: 45% 55% 64% 36% / 42% 38% 62% 58%;
    background: radial-gradient(circle at 38% 40%, rgba(130, 88, 200, 0.32), rgba(44, 132, 200, 0.14) 44%, rgba(45, 189, 187, 0.06) 64%, transparent 74%);
}

.cd-dashboard-heading::after {
    position: absolute;
    z-index: -2;
    right: -10%;
    bottom: -54%;
    width: 58%;
    height: 82%;
    transform: rotate(-8deg);
    border: 1px solid rgba(113, 181, 225, 0.14);
    border-radius: 999px 999px 999px 70px;
    background: linear-gradient(118deg, rgba(130, 88, 200, 0.12), rgba(44, 132, 200, 0.09), rgba(45, 189, 187, 0.04));
}

.cd-dashboard-banner-mark {
    width: 48px;
    height: 48px;
    display: inline-grid;
    place-items: center;
    margin-bottom: 24px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    color: #ffffff;
    background: linear-gradient(135deg, #8258c8, #2c84c8 62%, #2dbdbb);
    box-shadow: 0 18px 42px rgba(49, 77, 169, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.cd-dashboard-heading h1 {
    text-wrap: balance;
}

.cd-dashboard-banner-art {
    position: relative;
    z-index: 2;
    min-height: clamp(230px, 25vw, 340px);
}

.cd-dashboard-banner-shape,
.cd-dashboard-banner-icon,
.cd-dashboard-banner-orbit,
.cd-dashboard-banner-dot {
    position: absolute;
    display: block;
    pointer-events: none;
}

.cd-dashboard-banner-shape-one {
    top: 5%;
    right: 4%;
    width: 74%;
    aspect-ratio: 1;
    border-radius: 48% 52% 62% 38% / 44% 36% 64% 56%;
    background: linear-gradient(145deg, rgba(130, 88, 200, 0.88), rgba(44, 132, 200, 0.9) 58%, rgba(45, 189, 187, 0.78));
    box-shadow: 0 34px 78px rgba(20, 41, 112, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.24);
    animation: cd-dashboard-banner-float 8s ease-in-out infinite;
}

.cd-dashboard-banner-shape-two {
    top: 20%;
    right: 22%;
    width: 52%;
    aspect-ratio: 1;
    border: 1px solid rgba(255, 255, 255, 0.23);
    border-radius: 50%;
    background: radial-gradient(circle at 35% 30%, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.025) 46%, transparent 67%);
    box-shadow: inset 0 0 48px rgba(255, 255, 255, 0.04);
}

.cd-dashboard-banner-shape-three {
    right: 0;
    bottom: 0;
    width: 38%;
    aspect-ratio: 1;
    border: 1px solid rgba(45, 189, 187, 0.28);
    border-radius: 50%;
    background: rgba(45, 189, 187, 0.08);
    box-shadow: 0 0 60px rgba(45, 189, 187, 0.14);
}

.cd-dashboard-banner-icon {
    z-index: 2;
    top: 50%;
    right: 28%;
    width: clamp(72px, 8vw, 118px);
    transform: translate(50%, -50%);
}

.cd-dashboard-banner-icon img {
    width: 100%;
    height: auto;
    display: block;
    filter: drop-shadow(0 0 17px rgba(255, 217, 101, 0.74)) drop-shadow(0 0 34px rgba(45, 189, 187, 0.45));
    animation: cd-regantis-logo-spin 13s linear infinite;
}

.cd-dashboard-banner-orbit {
    z-index: 1;
    border: 1px solid rgba(147, 201, 236, 0.18);
    border-radius: 50%;
}

.cd-dashboard-banner-orbit-one {
    top: 5%;
    right: 2%;
    width: 41%;
    height: 83%;
    transform: rotate(18deg);
}

.cd-dashboard-banner-orbit-two {
    top: 18%;
    right: 12%;
    width: 31%;
    height: 64%;
    transform: rotate(-19deg);
    border-color: rgba(45, 189, 187, 0.2);
}

.cd-dashboard-banner-dot {
    z-index: 4;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #2dbdbb;
    box-shadow: 0 0 22px rgba(45, 189, 187, 0.78);
}

.cd-dashboard-banner-dot-one {
    top: 16%;
    right: 10%;
}

.cd-dashboard-banner-dot-two {
    right: 43%;
    bottom: 15%;
    width: 7px;
    height: 7px;
    background: #fdb816;
    box-shadow: 0 0 20px rgba(253, 184, 22, 0.72);
}

@keyframes cd-dashboard-banner-float {
    0%, 100% { transform: translate3d(0, 0, 0) rotate(-2deg); }
    50% { transform: translate3d(0, -10px, 0) rotate(2deg); }
}

/* The supplied SVG is a floating visual only. */
.cd-dashboard-map {
    position: absolute;
    z-index: 0 !important;
    top: 8%;
    right: 3%;
    width: min(72%, 970px);
    height: 84%;
    display: block;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: none;
    box-shadow: none;
    object-fit: contain;
    object-position: center;
    filter: none;
    opacity: 0.78;
    -webkit-mask-image: none;
    mask-image: none;
}

.cd-dashboard-map::before,
.cd-dashboard-map::after {
    display: none;
}

html[data-theme="light"] .cd-dashboard-map {
    background: none;
    filter: brightness(0.31) contrast(1.22);
    mix-blend-mode: normal;
    opacity: 0.72;
}

/* Image-ready Regantis-style headings for account and module pages. */
.cd-page-heading-with-media:not(.cd-dashboard-heading) {
    position: relative;
    isolation: isolate;
    min-height: clamp(250px, 25vw, 340px);
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 38%);
    grid-template-areas:
        "copy media"
        "actions media";
    align-items: center;
    gap: 20px clamp(30px, 5vw, 76px);
    padding: clamp(38px, 5vw, 68px);
    overflow: hidden;
    border-radius: 62px 62px 62px 20px;
}

.cd-page-heading-with-media:not(.cd-dashboard-heading)::before {
    top: -62%;
    right: 22%;
    width: 430px;
    height: 430px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(130, 88, 200, 0.25), rgba(44, 132, 200, 0.1) 48%, transparent 70%);
}

.cd-page-heading-with-media:not(.cd-dashboard-heading)::after {
    right: -8%;
    bottom: -58%;
    width: 48%;
    height: 90%;
    transform: rotate(-9deg);
    border: 1px solid rgba(127, 192, 231, 0.14);
    border-radius: 999px 999px 999px 58px;
    background: linear-gradient(120deg, rgba(130, 88, 200, 0.08), rgba(44, 132, 200, 0.07), rgba(45, 189, 187, 0.03));
}

.cd-page-heading-with-media .cd-page-heading-copy {
    grid-area: copy;
    position: relative;
    z-index: 3;
    align-self: end;
    max-width: 760px;
}

.cd-page-heading-with-media .cd-page-heading-copy::after {
    width: 124px;
    height: 6px;
    display: block;
    margin-top: 25px;
    border-radius: 999px;
    background: linear-gradient(90deg, #8258c8, #2c84c8 62%, #2dbdbb);
    box-shadow: 0 8px 24px rgba(58, 115, 196, 0.26);
    content: "";
}

.cd-page-heading-with-media h1 {
    margin: 0;
    font-size: clamp(44px, 5.4vw, 76px);
    line-height: 0.98;
    letter-spacing: -0.065em;
    text-wrap: balance;
}

.cd-page-heading-with-media p {
    max-width: 660px;
    margin-top: 18px;
    font-size: clamp(15px, 1.25vw, 18px);
    line-height: 1.7;
}

.cd-page-heading-actions {
    grid-area: actions;
    position: relative;
    z-index: 4;
    align-self: start;
    justify-self: start;
}

.cd-page-heading-media {
    grid-area: media;
    position: relative;
    z-index: 3;
    width: 100%;
    height: 100%;
    min-height: 210px;
    overflow: hidden;
    border: 1px solid rgba(132, 194, 232, 0.2);
    border-radius: 48px 48px 48px 14px;
    transform: rotate(1.4deg);
    background: rgba(5, 24, 42, 0.55);
    box-shadow: 0 28px 68px rgba(0, 10, 31, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.cd-page-heading-media::before {
    position: absolute;
    z-index: 2;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(126deg, rgba(130, 88, 200, 0.21), rgba(44, 132, 200, 0.04) 48%, rgba(45, 189, 187, 0.15));
    content: "";
    pointer-events: none;
}

.cd-page-heading-media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
    filter: saturate(1.05) contrast(1.05);
    opacity: 0.9;
}

.cd-page-heading-media-overlay {
    position: absolute;
    z-index: 3;
    inset: 0;
    background: linear-gradient(180deg, rgba(4, 16, 29, 0.02), rgba(3, 15, 28, 0.5));
    pointer-events: none;
}

.cd-page-heading-media-icon {
    position: absolute;
    z-index: 4;
    right: 20px;
    bottom: 20px;
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 18px 18px 18px 7px;
    color: #ffffff;
    background: linear-gradient(135deg, rgba(130, 88, 200, 0.94), rgba(44, 132, 200, 0.94), rgba(45, 189, 187, 0.9));
    box-shadow: 0 16px 34px rgba(16, 39, 102, 0.36), inset 0 1px 0 rgba(255, 255, 255, 0.26);
}

.cd-page-heading-account .cd-page-heading-media img {
    object-position: 54% center;
}

.cd-page-heading-seo-report .cd-page-heading-media img,
.cd-page-heading-audit .cd-page-heading-media img {
    object-position: center;
}

.cd-page-heading-task-report .cd-page-heading-media img {
    object-position: 58% center;
}

.cd-page-heading-contract .cd-page-heading-media img {
    object-position: 62% center;
}

.cd-page-heading-offer .cd-page-heading-media img {
    object-position: center 45%;
}

html[data-theme="light"] .cd-dashboard-heading {
    background:
        radial-gradient(circle at 11% -20%, rgba(130, 88, 200, 0.23), transparent 31rem) padding-box,
        radial-gradient(circle at 58% -42%, rgba(44, 132, 200, 0.25), transparent 39rem) padding-box,
        radial-gradient(circle at 105% 98%, rgba(45, 189, 187, 0.14), transparent 28rem) padding-box,
        linear-gradient(126deg, rgba(255, 255, 255, 0.995), rgba(231, 244, 252, 0.985)) padding-box,
        linear-gradient(118deg, rgba(130, 88, 200, 0.5), rgba(44, 132, 200, 0.48), rgba(45, 189, 187, 0.24)) border-box;
    box-shadow: 0 40px 96px rgba(48, 70, 106, 0.16), 0 17px 43px rgba(101, 76, 165, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.98);
}

html[data-theme="light"] .cd-dashboard-heading h1 {
    color: #09233a;
    text-shadow: none;
}

html[data-theme="light"] .cd-dashboard-heading p {
    color: #557489;
}

html[data-theme="light"] .cd-dashboard-banner-shape-one {
    background: linear-gradient(145deg, rgba(130, 88, 200, 0.8), rgba(44, 132, 200, 0.84) 58%, rgba(45, 189, 187, 0.74));
    box-shadow: 0 30px 66px rgba(64, 79, 150, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

html[data-theme="light"] .cd-page-heading-media {
    border-color: rgba(59, 130, 180, 0.18);
    background: rgba(224, 241, 250, 0.8);
    box-shadow: 0 25px 62px rgba(52, 77, 110, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

html[data-theme="light"] .cd-page-heading-media img {
    filter: saturate(1.08) contrast(1.04);
    opacity: 0.92;
}

html[data-theme="light"] .cd-page-heading-media-overlay {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(20, 72, 105, 0.23));
}

@media (max-width: 1080px) {
    .cd-dashboard-heading {
        grid-template-columns: minmax(0, 1fr) minmax(250px, 38%);
        padding: clamp(42px, 5vw, 66px);
    }

    .cd-page-heading-with-media:not(.cd-dashboard-heading) {
        grid-template-columns: minmax(0, 1fr) minmax(250px, 36%);
    }
}

@media (max-width: 820px) {
    .cd-dashboard-heading {
        grid-template-columns: minmax(0, 1fr) 210px;
        gap: 24px;
    }

    .cd-dashboard-banner-art {
        min-height: 220px;
    }

    .cd-page-heading-with-media:not(.cd-dashboard-heading) {
        min-height: 520px;
        grid-template-columns: 1fr;
        grid-template-areas:
            "copy"
            "actions"
            "media";
        grid-template-rows: auto auto minmax(220px, 1fr);
        padding: 42px 34px 28px;
    }

    .cd-page-heading-media {
        min-height: 230px;
        transform: none;
    }
}

@media (max-width: 720px) {
    .cd-main {
        padding-right: 18px;
        padding-left: 18px;
    }

    .cd-dashboard-heading {
        min-height: 470px;
        grid-template-columns: 1fr;
        grid-template-rows: auto 170px;
        padding: 40px 26px 24px;
        border-radius: 48px 48px 48px 15px;
    }

    .cd-dashboard-heading h1 {
        font-size: clamp(48px, 14vw, 72px);
    }

    .cd-dashboard-banner-art {
        min-height: 170px;
    }

    .cd-dashboard-banner-shape-one {
        right: 8%;
        width: 44%;
    }

    .cd-dashboard-banner-shape-two {
        right: 18%;
        width: 34%;
    }

    .cd-dashboard-banner-shape-three {
        right: 6%;
        width: 23%;
    }

    .cd-dashboard-banner-icon {
        right: 27%;
        width: 68px;
    }

    .cd-dashboard-banner-orbit-one {
        right: 2%;
        width: 46%;
    }

    .cd-dashboard-banner-orbit-two {
        right: 9%;
        width: 36%;
    }

    .cd-dashboard-map {
        top: 13%;
        right: 1%;
        width: 83%;
        height: 74%;
    }

    .cd-page-heading-with-media:not(.cd-dashboard-heading) {
        min-height: 480px;
        padding: 36px 24px 24px;
        border-radius: 46px 46px 46px 14px;
    }

    .cd-page-heading-with-media h1 {
        font-size: clamp(40px, 12vw, 58px);
    }

    .cd-page-heading-media {
        min-height: 210px;
        border-radius: 36px 36px 36px 11px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .cd-dashboard-banner-shape-one,
    .cd-dashboard-banner-icon img {
        animation: none !important;
    }
}
:root {
    --cd-page-surround: #071018;
    --cd-page-tab-bg: #f7fbfe;
}

html[data-theme="light"] {
    --cd-page-surround: #edf4fb;
    --cd-page-tab-bg: #ffffff;
}

/* Remove the far-right active navigation dot while keeping the moving active background. */
.cd-nav::after {
    display: none !important;
    content: none !important;
}

/* Dashboard hero mirrors the Regantis home hero structure. */
.cd-dashboard-heading {
    --cd-motion-x: 0px;
    --cd-motion-y: 0px;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    isolation: isolate;
    border: 0;
    border-radius: 26px;
    background: #152b61;
    box-shadow: 0 34px 90px rgba(0, 7, 24, 0.34);
}

.cd-dashboard-heading::before,
.cd-dashboard-heading::after {
    display: none !important;
    content: none !important;
}

.cd-dashboard-hero-image,
.cd-dashboard-hero-overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
}

.cd-dashboard-hero-image {
    z-index: 0;
    object-fit: cover;
    object-position: center;
    transform: translate3d(var(--cd-motion-x), var(--cd-motion-y), 0) scale(1.075);
    transition: transform 260ms cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform;
}

.cd-dashboard-hero-overlay {
    z-index: 1;
    background:
        linear-gradient(90deg, rgba(2, 13, 31, 0.9) 0%, rgba(6, 20, 49, 0.78) 42%, rgba(12, 27, 63, 0.36) 72%, rgba(8, 22, 51, 0.28) 100%),
        linear-gradient(180deg, rgba(4, 15, 35, 0.08), rgba(3, 13, 31, 0.38));
    pointer-events: none;
}

.cd-dashboard-hero-inner {
    position: relative;
    z-index: 3;
    width: 100%;
    margin: 0 auto;
    padding: 0 clamp(48px, 7vw, 112px);
}

.cd-dashboard-banner-copy {
    position: relative;
    z-index: 3;
}

.cd-dashboard-heading h1 {
    margin: 0 0 22px;
    color: #ffffff !important;
    font-family: "Sora", "Manrope", ui-sans-serif, system-ui, sans-serif;
    font-weight: 600;
    letter-spacing: -0.055em;
    text-shadow: 0 18px 50px rgba(0, 7, 28, 0.36);
}

.cd-dashboard-heading p {
    margin: 0 0 38px;
    color: rgba(255, 255, 255, 0.86) !important;
    text-shadow: 0 8px 24px rgba(0, 8, 28, 0.28);
}

.cd-dashboard-hero-button {
    position: relative;
    min-height: 65px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    overflow: hidden;
    padding: 13px 20px 13px 24px;
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 15px;
    color: #12273a;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 18px 42px rgba(0, 8, 30, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.95);
    font-weight: 700;
    transition: transform 220ms ease, background 220ms ease, box-shadow 220ms ease;
}

.cd-dashboard-hero-button:hover {
    color: #0b2234;
    background: #ffffff;
    box-shadow: 0 22px 48px rgba(0, 8, 30, 0.3), inset 0 1px 0 #ffffff;
    transform: translateY(-2px);
}

.cd-dashboard-hero-button:active {
    transform: translateY(1px) scale(0.99);
}

.cd-dashboard-hero-button-arrow {
    position: relative;
    width: 16px;
    height: 18px;
    display: block;
    overflow: hidden;
}

.cd-dashboard-hero-button-arrow i {
    position: absolute;
    top: 1px;
    left: 2px;
    transition: transform 300ms cubic-bezier(0.22, 1, 0.36, 1);
}

.cd-dashboard-hero-button-arrow i + i {
    transform: translateY(-26px);
}

.cd-dashboard-hero-button:hover .cd-dashboard-hero-button-arrow i:first-child {
    transform: translateY(26px);
}

.cd-dashboard-hero-button:hover .cd-dashboard-hero-button-arrow i + i {
    transform: translateY(0);
}

.cd-dashboard-scroll-tab {
    position: absolute;
    z-index: 4;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-weight: 750;
    transition: color 200ms ease, background 200ms ease;
}

.cd-dashboard-scroll-tab i {
    font-size: 12px;
}

.cd-dashboard-base {
    scroll-margin-top: calc(var(--cd-topbar-height) + 22px);
}

/* Internal headings mirror the Regantis page-banner, with a unique image per page. */
.cd-page-heading.cd-page-banner {
    --cd-motion-x: 0px;
    --cd-motion-y: 0px;
    align-items: center;
    justify-content: center;
}

.cd-page-heading.cd-page-banner::before,
.cd-page-heading.cd-page-banner::after {
    display: none !important;
    content: none !important;
}

.cd-page-banner-image,
.cd-page-banner-overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
}

.cd-page-banner-image {
    z-index: 0;
    object-fit: cover;
    object-position: center;
    filter: saturate(0.92) contrast(1.08);
    transform: translate3d(var(--cd-motion-x), var(--cd-motion-y), 0) scale(1.085);
    transition: transform 260ms cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform;
}

.cd-page-banner-top-shape,
.cd-page-banner-bottom-shape {
    position: absolute;
    z-index: 3;
    background: var(--cd-page-surround);
    pointer-events: none;
}

.cd-page-banner-top-shape {
    top: 0;
    left: 0;
    width: 117px;
    height: 85px;
    -webkit-mask: url("../image/client_dashboard/banner_shape_top.png") no-repeat center / 100% 100%;
    mask: url("../image/client_dashboard/banner_shape_top.png") no-repeat center / 100% 100%;
}

.cd-page-banner-bottom-shape {
    right: 0;
    bottom: 0;
    width: 120px;
    height: 292px;
    -webkit-mask: url("../image/client_dashboard/banner_shape_bottom.png") no-repeat center / 100% 100%;
    mask: url("../image/client_dashboard/banner_shape_bottom.png") no-repeat center / 100% 100%;
}

.cd-page-banner-content h1 {
    color: #ffffff !important;
    font-family: "Sora", "Manrope", ui-sans-serif, system-ui, sans-serif;
    text-shadow: 0 18px 46px rgba(0, 7, 28, 0.38);
    text-wrap: balance;
}

.cd-page-banner-content p {
    color: rgba(255, 255, 255, 0.86) !important;
    text-shadow: 0 8px 24px rgba(0, 8, 28, 0.3);
}

.cd-page-banner-side-text {
    position: absolute;
    z-index: 3;
    right: 142px;
    bottom: 29px;
    max-width: 460px;
    overflow: hidden;
    color: transparent;
    font-family: "Sora", "Manrope", ui-sans-serif, system-ui, sans-serif;
    font-size: clamp(58px, 6.8vw, 100px);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.035em;
    white-space: nowrap;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.76);
    transform: rotate(-90deg) translateX(100%);
    transform-origin: right bottom;
    opacity: 0.85;
    pointer-events: none;
}

.cd-page-banner-breadcrumbs {
    margin: 0;
}

.cd-page-banner-breadcrumbs::before,
.cd-page-banner-breadcrumbs::after {
    position: absolute;
    width: 20px;
    height: 20px;
    background: var(--cd-page-tab-bg);
    pointer-events: none;
}

.cd-page-banner-breadcrumbs::before {
    top: -20px;
    left: 0;
    -webkit-mask: url("../image/client_dashboard/banner_shape_top_left.png") no-repeat center / 100% 100%;
    mask: url("../image/client_dashboard/banner_shape_top_left.png") no-repeat center / 100% 100%;
}

.cd-page-banner-breadcrumbs::after {
    right: -20px;
    bottom: 0;
    -webkit-mask: url("../image/client_dashboard/banner_shape_right.png") no-repeat center / 100% 100%;
    mask: url("../image/client_dashboard/banner_shape_right.png") no-repeat center / 100% 100%;
}

.cd-page-banner-breadcrumbs a {
    border-bottom: 1px solid currentColor;
    transition: color 180ms ease, border-color 180ms ease;
}

.cd-page-banner-breadcrumbs a:hover {
    color: #168f87;
    border-color: #168f87;
}

.cd-page-banner-breadcrumb-separator {
    opacity: 0.58;
}

.cd-page-banner-breadcrumb-current {
    min-width: 0;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.cd-page-banner-breadcrumb-current i {
    color: #2c84c8;
}

.cd-page-banner-breadcrumbs .cd-readonly-badge {
    color: #7b3342;
    border-color: rgba(181, 53, 79, 0.22);
    background: rgba(222, 75, 105, 0.09);
}

html[data-theme="dark"] .cd-page-banner-breadcrumbs {
    --cd-page-tab-bg: #0b1d2c;
    box-shadow: 12px -12px 34px rgba(0, 5, 19, 0.23);
}

html[data-theme="dark"] .cd-page-banner-breadcrumbs .cd-readonly-badge {
    color: #ffd5dd;
    border-color: rgba(255, 113, 137, 0.24);
    background: rgba(255, 113, 137, 0.1);
}

.cd-page-heading-account .cd-page-banner-image {
    object-position: 50% 47%;
}

.cd-page-heading-seo-report .cd-page-banner-image {
    object-position: center 48%;
}

.cd-page-heading-audit .cd-page-banner-image {
    object-position: center 44%;
}

.cd-page-heading-task-report .cd-page-banner-image {
    object-position: 54% center;
}

.cd-page-heading-contract .cd-page-banner-image {
    object-position: 60% center;
}

.cd-page-heading-offer .cd-page-banner-image {
    object-position: center 45%;
}

@media (max-width: 992px) {
    .cd-dashboard-heading {
        min-height: 520px;
        padding: 120px 0 100px;
    }

    .cd-dashboard-hero-inner {
        padding: 0 clamp(40px, 7vw, 72px);
    }

    .cd-page-banner-top-shape,
    .cd-page-banner-bottom-shape,
    .cd-page-banner-side-text {
        display: none;
    }
}

@media (max-width: 768px) {
    .cd-dashboard-heading {
        min-height: 470px;
        padding: 104px 0 82px;
        border-radius: 22px;
    }

    .cd-dashboard-hero-inner {
        padding: 0 34px;
    }

    .cd-dashboard-scroll-tab {
        display: none;
    }

    .cd-dashboard-heading h1 {
        font-size: clamp(46px, 11vw, 68px);
    }

    .cd-page-banner-breadcrumbs {
        max-width: calc(100% - 40px);
        flex-wrap: wrap;
        row-gap: 5px;
    }

    .cd-page-banner-breadcrumb-current {
        max-width: 100%;
        white-space: normal;
    }
}

@media (max-width: 576px) {

    .cd-dashboard-heading {
        min-height: 430px;
        padding: 92px 0 72px;
        border-radius: 20px;
    }

    .cd-dashboard-hero-inner {
        padding: 0 24px;
    }

    .cd-dashboard-heading h1 {
        margin-bottom: 18px;
        font-size: clamp(40px, 13vw, 58px);
    }

    .cd-dashboard-heading p {
        margin-bottom: 30px;
    }

    .cd-dashboard-hero-button {
        min-height: 58px;
        padding: 11px 18px 11px 21px;
    }

    .cd-page-heading.cd-page-banner {
        padding: 92px 20px 150px;
        border-radius: 22px;
    }

    .cd-page-banner-content h1 {
        line-height: 1.14;
    }

    .cd-page-banner-content p {
        margin-top: 18px;
        font-size: 15px;
    }

    .cd-page-banner-breadcrumbs {
        min-height: 66px;
        max-width: calc(100% - 28px);
        gap: 6px;
        padding: 18px 20px 13px;
        border-radius: 0 21px 0 17px;
        font-size: 13px;
    }

    .cd-page-banner-breadcrumbs .cd-readonly-badge {
        width: auto;
        margin: 3px 0 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .cd-dashboard-hero-image,
    .cd-page-banner-image,
    .cd-dashboard-hero-button,
    .cd-dashboard-hero-button-arrow i {
        transition: none !important;
    }
}
.cd-button-primary,
button.cd-button-primary,
a.cd-button-primary,
input.cd-button-primary {
    color: #f7fbff !important;
}

.cd-button-primary:hover,
button.cd-button-primary:hover,
a.cd-button-primary:hover,
input.cd-button-primary:hover {
    color: #ffffff !important;
}

.cd-nav::before,
.cd-nav-item.is-active,
.cd-nav.has-moving-indicator .cd-nav-item.is-active {
    border-radius: 20px;
}

.cd-nav-item i {
    color: #a7c7db;
}

.cd-nav-item:hover i {
    color: #83e4ff;
}

.cd-nav-item.is-active i,
.cd-nav.has-moving-indicator .cd-nav-item.is-active i {
    color: #d8f4ff;
    text-shadow: 0 0 18px rgba(94, 196, 255, 0.58);
}

html[data-theme="light"] .cd-nav-item i {
    color: #476d88;
}

html[data-theme="light"] .cd-nav-item:hover i {
    color: #116fb6;
}

html[data-theme="light"] .cd-nav-item.is-active i,
html[data-theme="light"] .cd-nav.has-moving-indicator .cd-nav-item.is-active i {
    color: #075f9f;
    text-shadow: 0 0 16px rgba(20, 115, 230, 0.18);
}

html[data-theme="light"] .cd-nav::before {
    border-top-color: rgba(255, 255, 255, 0.98);
    border-right-color: rgba(255, 255, 255, 0.98);
    border-bottom-color: rgba(81, 143, 183, 0.18);
    background: linear-gradient(105deg, rgba(209, 229, 246, 0.78), rgba(223, 241, 250, 0.86) 58%, rgba(218, 244, 240, 0.72)) padding-box;
}

/* Regantis fluid image distortion. The image remains the fallback. */
.cd-dashboard-hero-canvas {
    position: absolute;
    z-index: 0;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    border-radius: inherit;
    opacity: 0;
    pointer-events: none;
    transition: opacity 220ms ease;
}

.cd-dashboard-heading.is-distortion-ready .cd-dashboard-hero-canvas {
    opacity: 1;
}

.cd-dashboard-heading.is-distortion-ready .cd-dashboard-hero-image {
    opacity: 0;
}

.cd-dashboard-heading[data-cd-hero-distortion] .cd-dashboard-hero-image {
    pointer-events: none;
    transition: opacity 220ms ease;
}

/* Auth colors avoid the green-heavy glow behind the Regantis logo. */

.cd-auth-brand-logo {
    filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.32)) drop-shadow(0 0 14px rgba(63, 164, 229, 0.12));
}

/* Standalone password form in account. */
.cd-password-card {
    margin-top: 26px;
}

.cd-password-card .cd-section-heading {
    align-items: flex-start;
}

.cd-section-heading-icon {
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 15px;
}

.cd-section-heading-icon i {
    color: #8adfff;
}

.cd-password-card .cd-section-heading p {
    margin: 5px 0 0;
    color: var(--cd-muted);
    line-height: 1.55;
}

.cd-password-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 26px;
}

html[data-theme="light"] .cd-section-heading-icon i {
    color: #176ea9;
}

@media (max-width: 1024px), (pointer: coarse) {
    .cd-dashboard-hero-canvas {
        display: none;
    }

    .cd-dashboard-heading.is-distortion-ready .cd-dashboard-hero-image {
        opacity: 1;
    }
}

@media (max-width: 576px) {
    .cd-password-actions .cd-button {
        width: 100%;
    }

    .cd-auth-brand {
        padding: 11px 20px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .cd-dashboard-hero-canvas {
        display: none;
    }

    .cd-dashboard-heading.is-distortion-ready .cd-dashboard-hero-image {
        opacity: 1;
    }
}

/* 1.4.8 light-mode readability fixes. */
html[data-theme="light"] .cd-alert-danger.cd-account-notice {
    border-color: rgba(196, 48, 78, 0.22);
    color: #a72d48;
    background: linear-gradient(105deg, rgba(232, 71, 102, 0.12), rgba(255, 105, 132, 0.055));
    box-shadow: inset 3px 0 0 rgba(211, 55, 86, 0.72);
}

html[data-theme="light"] .cd-alert-danger.cd-account-notice i,
html[data-theme="light"] .cd-alert-danger.cd-account-notice strong,
html[data-theme="light"] .cd-alert-danger.cd-account-notice span {
    color: #a72d48;
}

html[data-theme="light"] .cd-field input:not([readonly]):focus,
html[data-theme="light"] .cd-field select:not(:disabled):focus {
    border-color: #1473e6;
    color: #17384e;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 0 0 4px rgba(20, 115, 230, 0.11), 0 12px 30px rgba(42, 91, 121, 0.12);
}
html[data-theme="light"] .cd-alert-success {
    color: #176342;
    border-color: rgba(30, 139, 91, 0.24);
    background: linear-gradient(105deg, rgba(48, 181, 121, 0.14), rgba(101, 218, 162, 0.07));
    box-shadow: inset 3px 0 0 rgba(30, 139, 91, 0.76);
}

html[data-theme="light"] .cd-alert-success i,
html[data-theme="light"] .cd-alert-success strong,
html[data-theme="light"] .cd-alert-success span,
html[data-theme="light"] .cd-alert-success a {
    color: #176342;
}

html[data-theme="light"] .cd-placeholder-card strong {
    color: #17384e;
    border-color: rgba(38, 104, 145, 0.18);
    background: rgba(250, 254, 255, 0.92);
    box-shadow: 0 12px 30px rgba(42, 91, 121, 0.12), inset 0 1px 0 #ffffff;
}

.cd-page-heading.cd-page-banner {
    --cd-page-banner-breadcrumb-width: clamp(300px, 30vw, 420px);
    --cd-page-banner-actions-width: clamp(250px, 24vw, 340px);
    --cd-page-banner-notch-height: 54px;
}

html[data-theme="light"] .cd-page-banner-surface {
    filter: drop-shadow(0 16px 27px rgba(42, 91, 121, 0.18));
}

.cd-page-banner-top-shape,
.cd-page-banner-bottom-shape,
.cd-page-banner-side-text {
    display: none !important;
}

.cd-page-banner-surface .cd-page-banner-image,
.cd-page-banner-surface .cd-page-banner-overlay {
    border-radius: inherit;
}

.cd-page-banner-breadcrumbs,
.cd-page-banner-actions {
    position: absolute;
    z-index: 5;
    bottom: 0;
    min-height: var(--cd-page-banner-notch-height);
    height: var(--cd-page-banner-notch-height);
    align-items: center;
    background: transparent;
    box-shadow: none;
}

.cd-page-banner-breadcrumbs {
    left: 0;
    width: var(--cd-page-banner-breadcrumb-width);
    max-width: var(--cd-page-banner-breadcrumb-width);
    gap: 7px;
    padding: 0 18px;
    border-radius: 0;
    color: var(--cd-text);
    font-size: 12px;
    font-weight: 750;
    white-space: nowrap;
}

.cd-page-banner-breadcrumbs::before,
.cd-page-banner-breadcrumbs::after {
    display: none;
    content: none;
}

.cd-page-banner-breadcrumbs a {
    color: var(--cd-text);
}

.cd-page-banner-breadcrumb-current {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cd-page-banner-breadcrumbs .cd-readonly-badge {
    flex: 0 0 auto;
    margin-left: 2px;
    padding: 5px 8px;
    font-size: 12px;
}

html[data-theme="dark"] .cd-page-banner-breadcrumbs,
html[data-theme="dark"] .cd-page-banner-breadcrumbs a {
    color: var(--cd-text);
}

@media (max-width: 992px) {
    .cd-page-heading.cd-page-banner {
        --cd-page-banner-breadcrumb-width: clamp(260px, 37vw, 350px);
        --cd-page-banner-actions-width: clamp(210px, 27vw, 280px);
        --cd-page-banner-notch-height: 50px;
        min-height: 150px;
        height: 150px;
        padding: 0;
    }

    .cd-page-banner-surface {
        border-radius: 20px;
        clip-path: polygon(
            22px 0,
            100% 0,
            100% calc(100% - var(--cd-page-banner-notch-height)),
            calc(100% - var(--cd-page-banner-actions-width)) calc(100% - var(--cd-page-banner-notch-height)),
            calc(100% - var(--cd-page-banner-actions-width) - 16px) 100%,
            calc(var(--cd-page-banner-breadcrumb-width) + 16px) 100%,
            var(--cd-page-banner-breadcrumb-width) calc(100% - var(--cd-page-banner-notch-height)),
            0 calc(100% - var(--cd-page-banner-notch-height)),
            0 22px
        );
    }

    .cd-page-banner-content {
        padding: 15px clamp(105px, 14vw, 160px) 42px;
    }

    .cd-page-banner-content h1 {
        font-size: clamp(30px, 4.8vw, 42px);
    }
}

@media (max-width: 768px) {
    .cd-page-heading.cd-page-banner {
        --cd-page-banner-breadcrumb-width: 220px;
        --cd-page-banner-actions-width: 170px;
        --cd-page-banner-notch-height: 47px;
        min-height: 144px;
        height: 144px;
        padding: 0;
        border-radius: 0;
    }

    .cd-page-banner-surface {
        border-radius: 18px;
        clip-path: polygon(
            18px 0,
            100% 0,
            100% calc(100% - var(--cd-page-banner-notch-height)),
            calc(100% - var(--cd-page-banner-actions-width)) calc(100% - var(--cd-page-banner-notch-height)),
            calc(100% - var(--cd-page-banner-actions-width) - 14px) 100%,
            calc(var(--cd-page-banner-breadcrumb-width) + 14px) 100%,
            var(--cd-page-banner-breadcrumb-width) calc(100% - var(--cd-page-banner-notch-height)),
            0 calc(100% - var(--cd-page-banner-notch-height)),
            0 18px
        );
    }

    .cd-page-banner-content {
        padding: 13px 70px 39px;
    }

    .cd-page-banner-content h1 {
        font-size: clamp(27px, 6.8vw, 36px);
    }

    .cd-page-banner-content p {
        display: none;
    }

    .cd-page-banner-breadcrumbs {
        padding: 0 12px;
        font-size: 12px;
    }

    .cd-page-banner-actions {
        padding: 0 12px;
    }
}

@media (max-width: 576px) {
    .cd-page-heading.cd-page-banner {
        --cd-page-banner-breadcrumb-width: min(220px, calc(100% - 70px));
        --cd-page-banner-actions-width: 0px;
        --cd-page-banner-notch-height: 45px;
        min-height: 136px;
        height: 136px;
    }

    .cd-page-banner-surface {
        clip-path: polygon(
            16px 0,
            100% 0,
            100% 100%,
            calc(var(--cd-page-banner-breadcrumb-width) + 14px) 100%,
            var(--cd-page-banner-breadcrumb-width) calc(100% - var(--cd-page-banner-notch-height)),
            0 calc(100% - var(--cd-page-banner-notch-height)),
            0 16px
        );
    }

    .cd-page-banner-content {
        padding: 12px 24px 37px;
    }

    .cd-page-banner-content h1 {
        font-size: clamp(25px, 8vw, 32px);
    }

    .cd-page-banner-actions {
        display: none;
    }

    .cd-page-banner-breadcrumbs .cd-readonly-badge {
        display: none;
    }
}

/* ==========================================================================
   Documents, offers, contracts and shared viewers
   ========================================================================== */
.cd-document-list-card {
    overflow: hidden;
}

.cd-document-table {
    width: 100%;
    table-layout: fixed;
}

.cd-document-table th,
.cd-document-table td {
    padding: 17px 20px;
    text-align: left;
    vertical-align: middle;
}

.cd-document-table th {
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.cd-document-table th:first-child {
    width: 42%;
}

.cd-document-table th:nth-child(2) {
    width: 30%;
}

.cd-document-table th:nth-child(3) {
    width: 18%;
}

.cd-document-table tbody tr:last-child td {
    border-bottom: 0;
}

.cd-document-table td {
    color: #c6d5e2;
    font-size: 14px;
}

.cd-document-table td strong {
    display: block;
    overflow: hidden;
    color: #f5f9fc;
    font-family: "Sora", sans-serif;
    font-size: 14px;
    font-weight: 600;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cd-document-table time {
    font-variant-numeric: tabular-nums;
}

.cd-document-actions-heading,
.cd-document-actions-cell {
    width: 82px;
    text-align: right !important;
}

.cd-document-view-button {
    width: 42px;
    height: 42px;
    margin-left: auto;
    border: 1px solid rgba(88, 164, 221, 0.25);
    background: rgba(44, 132, 200, 0.12);
    color: #b8ddf7;
}

.cd-document-view-button:hover {
    border-color: rgba(45, 189, 187, 0.48);
    background: rgba(45, 189, 187, 0.16);
    color: #efffff;
    transform: translateY(-2px);
}

.cd-document-empty-state {
    min-height: 260px;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 18px;
    color: #91a9bd;
    text-align: center;
}

.cd-document-empty-state p {
    margin: 0;
}

.cd-document-empty-icon {
    width: 72px;
    height: 72px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(88, 164, 221, 0.2);
    border-radius: 24px;
    background: rgba(44, 132, 200, 0.08);
    color: #7ebbe7;
    font-size: 27px;
}

.cd-document-view-shell .cd-page-heading.cd-page-banner {
    --cd-page-banner-actions-width: clamp(318px, 29vw, 372px);
}

.cd-document-banner-content {
    min-width: 0;
}

.cd-document-banner-content h1 {
    max-width: min(700px, calc(100% - 40px));
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cd-document-banner-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    color: rgba(235, 245, 252, 0.72);
    font-size: 12px;
}

.cd-document-banner-meta span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.cd-document-view-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
}

.cd-document-action-button {
    width: 39px;
    height: 39px;
    display: inline-grid;
    flex: 0 0 39px;
    place-items: center;
    padding: 0;
    border: 1px solid rgba(120, 164, 197, 0.2);
    border-radius: 13px;
    color: #d7e8f4;
    font-size: 14px;
    text-decoration: none;
    cursor: pointer;
}

.cd-document-action-button:hover,
.cd-document-action-button:focus-visible {
    border-color: rgba(45, 189, 187, 0.52);
    color: #ffffff;
    text-decoration: none;
    transform: translateY(-2px);
}

.cd-document-action-button:disabled {
    cursor: wait;
    opacity: 0.7;
    transform: none;
}

.cd-document-back-button {
    margin-right: 3px;
}

.cd-document-notice {
    position: sticky;
    z-index: 12;
    top: calc(var(--cd-topbar-height, 74px) + 12px);
    margin: -2px 0 18px;
    padding: 13px 17px;
    border: 1px solid rgba(113, 174, 219, 0.28);
    border-radius: 14px;
    background: rgba(8, 31, 50, 0.96);
    box-shadow: 0 14px 34px rgba(0, 8, 22, 0.2);
    color: #d7e9f5;
    font-size: 13px;
}

.cd-document-notice.is-success {
    border-color: rgba(45, 189, 187, 0.44);
    color: #cafff4;
}

.cd-document-notice.is-danger {
    border-color: rgba(239, 100, 122, 0.44);
    color: #ffd3da;
}

.cd-document-view-card {
    overflow: hidden;
    padding: 0;
    border: 1px solid rgba(115, 154, 185, 0.15);
    border-radius: 26px;
    background: rgba(6, 21, 37, 0.72);
    box-shadow: 0 28px 70px rgba(0, 7, 22, 0.23);
}

.cd-document-view-card .row {
    margin: 0;
}

.cd-document-view-card .document-editor-column {
    padding: 0;
}

.cd-document-view-card .document-editor-card,
.cd-document-view-card .document-editor-card-body {
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.cd-document-view-card .document-editor-container {
    border: 0;
    border-radius: 0;
}

.cd-document-view-card .document-editor-statusbar {
    border-radius: 0 0 25px 25px;
}

.cd-document-email-modal .modal-dialog {
    max-width: 860px;
}

.cd-document-email-modal .modal-content {
    overflow: hidden;
    border: 1px solid rgba(113, 161, 197, 0.22);
    border-radius: 24px;
    background: #071b2d;
    box-shadow: 0 36px 100px rgba(0, 5, 18, 0.52);
    color: #dceaf4;
}

.cd-document-email-modal .modal-header,
.cd-document-email-modal .modal-footer {
    border-color: rgba(117, 158, 190, 0.14);
}

.cd-document-email-modal .modal-header {
    align-items: flex-start;
    padding: 22px 24px 18px;
}

.cd-document-email-modal .modal-header h2 {
    margin: 0;
    color: #f5f9fc;
    font-family: "Sora", sans-serif;
    font-size: 20px;
}

.cd-document-email-modal .modal-header p {
    margin: 6px 0 0;
    color: #8fa7ba;
    font-size: 13px;
}

.cd-document-email-modal .close {
    color: #dceaf4;
    text-shadow: none;
}

.cd-document-email-modal .modal-body {
    display: grid;
    gap: 16px;
    padding: 22px 24px;
}

.cd-document-email-modal .cd-field {
    margin: 0;
}

.cd-email-body-editor {
    min-height: 300px;
    max-height: 52vh;
    overflow: auto;
    padding: 18px;
    border: 1px solid rgba(123, 163, 194, 0.23);
    border-radius: 14px;
    outline: 0;
    background: rgba(3, 15, 27, 0.72);
    color: #dceaf4;
    line-height: 1.55;
}

.cd-email-body-editor:focus {
    border-color: rgba(77, 169, 255, 0.78);
    box-shadow: 0 0 0 4px rgba(77, 169, 255, 0.1);
}

.cd-email-body-editor img {
    max-width: 100%;
    height: auto;
}

.cd-email-loading {
    display: flex;
    align-items: center;
    gap: 9px;
    color: #9fc5df;
    font-size: 13px;
}

.cd-email-loading[hidden] {
    display: none;
}

body.cd-document-fullscreen-active {
    overflow: hidden;
}

.cd-document-view-shell.is-fullscreen {
    position: fixed;
    z-index: 10050;
    inset: 0;
    background: #04101d;
}

.cd-document-view-shell.is-fullscreen .cd-page-heading.cd-page-banner {
    position: fixed;
    z-index: 10052;
    top: 0;
    right: 0;
    left: 0;
    width: 100%;
    margin: 0;
    border-radius: 0;
    background: rgba(5, 20, 35, 0.98);
    box-shadow: 0 10px 32px rgba(0, 6, 18, 0.28);
}

.cd-document-view-shell.is-fullscreen .cd-page-banner-surface,
.cd-document-view-shell.is-fullscreen .cd-page-banner-breadcrumbs {
    display: none;
}

.cd-document-view-shell.is-fullscreen .cd-document-view-actions {
    width: auto;
    height: 40px;
}

.cd-document-view-shell.is-fullscreen .cd-document-view-card {
    max-width: 1280px;
    margin: 0 auto;
    border-radius: 18px;
}

html[data-theme="light"] .cd-document-table th {
    color: #567085;
}

html[data-theme="light"] .cd-document-table td {
    border-color: rgba(77, 111, 137, 0.12);
    color: #425a6d;
}

html[data-theme="light"] .cd-document-table td strong {
    color: #102b40;
}

html[data-theme="light"] .cd-document-view-button {
    border-color: rgba(44, 132, 200, 0.18);
    background: rgba(44, 132, 200, 0.08);
    color: #17384e;
}

html[data-theme="light"] .cd-document-empty-state {
    color: #5f788b;
}

html[data-theme="light"] .cd-document-empty-icon {
    border-color: rgba(44, 132, 200, 0.16);
    background: rgba(44, 132, 200, 0.07);
    color: #287caf;
}

html[data-theme="light"] .cd-document-action-button {
    border-color: rgba(55, 91, 119, 0.15);
}

html[data-theme="light"] .cd-document-action-button:hover,
html[data-theme="light"] .cd-document-action-button:focus-visible {
    border-color: rgba(44, 132, 200, 0.36);
}

html[data-theme="light"] .cd-document-notice {
    border-color: rgba(50, 112, 153, 0.18);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 14px 34px rgba(44, 79, 106, 0.13);
    color: #284b63;
}

html[data-theme="light"] .cd-document-notice.is-success {
    border-color: rgba(20, 132, 105, 0.3);
    color: #0c654f;
}

html[data-theme="light"] .cd-document-notice.is-danger {
    border-color: rgba(190, 55, 79, 0.28);
    color: #9f2940;
}

html[data-theme="light"] .cd-document-view-card {
    border-color: rgba(69, 104, 131, 0.14);
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 26px 64px rgba(46, 79, 103, 0.14);
}

html[data-theme="light"] .cd-document-email-modal .modal-content {
    border-color: rgba(66, 104, 133, 0.17);
    background: #f7fbfe;
    box-shadow: 0 34px 90px rgba(36, 67, 92, 0.24);
    color: #27485f;
}

html[data-theme="light"] .cd-document-email-modal .modal-header,
html[data-theme="light"] .cd-document-email-modal .modal-footer {
    border-color: rgba(69, 105, 132, 0.12);
}

html[data-theme="light"] .cd-document-email-modal .modal-header h2 {
    color: #102d43;
}

html[data-theme="light"] .cd-document-email-modal .modal-header p {
    color: #667f91;
}

html[data-theme="light"] .cd-document-email-modal .close {
    color: #23475f;
}

html[data-theme="light"] .cd-email-body-editor {
    border-color: rgba(69, 105, 132, 0.18);
    background: #ffffff;
    color: #243f52;
}

html[data-theme="light"] .cd-document-view-shell.is-fullscreen {
    background: #edf4fb;
}

html[data-theme="light"] .cd-document-view-shell.is-fullscreen .cd-page-heading.cd-page-banner {
    background: rgba(244, 249, 253, 0.98);
}

@media (max-width: 991px) {
    .cd-document-view-shell .cd-page-heading.cd-page-banner {
        --cd-page-banner-actions-width: 316px;
    }

    .cd-document-action-button {
        width: 37px;
        height: 37px;
        flex-basis: 37px;
        border-radius: 12px;
    }
}

@media (max-width: 767px) {
    .cd-document-view-shell .cd-page-heading.cd-page-banner {
        --cd-page-banner-actions-width: 0px;
        margin-bottom: 58px;
    }

    .cd-document-view-actions {
        position: absolute;
        right: 0;
        bottom: -50px;
        width: auto;
        height: 44px;
        display: flex !important;
        padding: 0;
    }

    .cd-document-view-shell.is-fullscreen .cd-page-heading.cd-page-banner {
        margin-bottom: 0;
    }
}

@media (max-width: 640px) {
    .cd-document-table-wrap {
        overflow: visible;
        border: 0;
        background: transparent;
    }

    .cd-document-table,
    .cd-document-table tbody,
    .cd-document-table tr,
    .cd-document-table td {
        display: block;
        width: 100%;
    }

    .cd-document-table thead {
        display: none;
    }

    .cd-document-table tbody {
        display: grid;
    }

    .cd-document-table tr {
        position: relative;
        border-radius: 18px;
    }

    .cd-document-table td {
        display: grid;
        grid-template-columns: 105px minmax(0, 1fr);
        gap: 10px;
        padding: 5px 0;
        border: 0;
        text-align: left !important;
    }

    .cd-document-table td::before {
        color: #809bb1;
        content: attr(data-label);
        font-size: 12px;
        font-weight: 800;
        letter-spacing: 0.06em;
        text-transform: uppercase;
    }

    .cd-document-table td strong {
        white-space: normal;
    }

    .cd-document-table .cd-document-actions-cell {
        position: absolute;
        top: 50%;
        right: 12px;
        width: 42px;
        display: block;
        padding: 0;
        transform: translateY(-50%);
    }

    .cd-document-table .cd-document-actions-cell::before {
        display: none;
    }

    .cd-document-view-actions {
        gap: 4px;
    }

    .cd-document-action-button {
        width: 35px;
        height: 35px;
        flex-basis: 35px;
    }

    .cd-document-back-button {
        display: none;
    }

    .cd-document-email-modal .modal-dialog {
        margin: 12px;
    }

    .cd-document-email-modal .modal-body,
    .cd-document-email-modal .modal-header {
        padding-right: 18px;
        padding-left: 18px;
    }
}
html,
body:not(.cd-auth-body) {
    height: 100%;
}

body:not(.cd-auth-body) {
    overflow: hidden;
}

.cd-app-shell {
    height: 100vh;
    min-height: 0;
    overflow: hidden;
}

.cd-main {
    height: 100%;
    min-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-gutter: stable;
}

.cd-nav-item,
.cd-nav-item.is-active,
.cd-nav.has-moving-indicator .cd-nav-item.is-active {
    border-radius: 16px;
}

.cd-account-button,
.cd-icon-button {
    min-height: 42px;
    border-width: 1px;
    border-style: solid;
    border-top-color: rgba(120, 190, 234, 0.24);
    border-right-color: rgba(120, 190, 234, 0.24);
    border-bottom-color: rgba(2, 10, 24, 0.58);
    border-left-color: rgba(2, 10, 24, 0.58);
    border-radius: 16px;
    background: linear-gradient(105deg, rgba(17, 47, 73, 0.9), rgba(15, 56, 82, 0.86) 58%, rgba(13, 63, 71, 0.78)) padding-box;
    box-shadow: 0 14px 30px rgba(0, 7, 22, 0.22), inset 3px 0 0 #2d87c8, inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.cd-account-button:hover,
.cd-icon-button:hover {
    border-top-color: rgba(148, 211, 249, 0.38);
    border-right-color: rgba(148, 211, 249, 0.38);
    border-bottom-color: rgba(8, 21, 40, 0.72);
    border-left-color: rgba(8, 21, 40, 0.72);
    background: linear-gradient(105deg, rgba(22, 61, 92, 0.96), rgba(19, 71, 101, 0.92) 58%, rgba(16, 77, 84, 0.84)) padding-box;
    box-shadow: 0 17px 36px rgba(0, 7, 22, 0.28), inset 3px 0 0 #4da9ff, inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

html[data-theme="light"] .cd-account-button,
html[data-theme="light"] .cd-icon-button {
    border-top-color: rgba(255, 255, 255, 0.98);
    border-right-color: rgba(255, 255, 255, 0.98);
    border-bottom-color: rgba(81, 143, 183, 0.18);
    border-left-color: rgba(81, 143, 183, 0.18);
    background: linear-gradient(105deg, rgba(209, 229, 246, 0.78), rgba(223, 241, 250, 0.86) 58%, rgba(218, 244, 240, 0.72)) padding-box;
    box-shadow: 0 16px 34px rgba(47, 91, 124, 0.12), inset 3px 0 0 #2d87c8, inset 0 1px 0 #ffffff;
}

html[data-theme="light"] .cd-account-button:hover,
html[data-theme="light"] .cd-icon-button:hover {
    border-bottom-color: rgba(69, 127, 166, 0.24);
    border-left-color: rgba(69, 127, 166, 0.24);
    background: linear-gradient(105deg, rgba(220, 237, 250, 0.94), rgba(232, 247, 253, 0.96) 58%, rgba(226, 249, 245, 0.9)) padding-box;
    box-shadow: 0 19px 39px rgba(47, 91, 124, 0.16), inset 3px 0 0 #1473e6, inset 0 1px 0 #ffffff;
}

html[data-theme="light"] .cd-form-section::before {
    display: none;
}

.cd-section-heading .cd-readonly-badge {
    margin-left: auto;
}

.cd-page-heading.cd-page-banner {
    --cd-page-banner-actions-space: 0px;
    position: relative;
    min-height: 118px;
    height: 118px;
    display: block;
    margin-bottom: 28px;
    padding: 0;
    overflow: visible;
    isolation: isolate;
    border: 0;
    border-radius: 0;
    background: transparent !important;
    box-shadow: none !important;
}

.cd-page-banner-surface {
    position: absolute;
    z-index: 0;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    overflow: hidden;
    border: 1px solid transparent;
    border-radius: 24px;
    clip-path: none;
    background:
        radial-gradient(circle at 84% 20%, rgba(104, 75, 184, 0.28), transparent 17rem) padding-box,
        radial-gradient(circle at 96% 110%, rgba(45, 189, 187, 0.2), transparent 16rem) padding-box,
        linear-gradient(112deg, rgba(11, 35, 61, 0.98), rgba(7, 27, 48, 0.97) 58%, rgba(7, 39, 51, 0.96)) padding-box,
        linear-gradient(118deg, rgba(112, 190, 241, 0.4), rgba(91, 97, 190, 0.28), rgba(45, 189, 187, 0.18)) border-box;
    box-shadow: 0 22px 54px rgba(0, 7, 24, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.06);
    filter: none;
}

.cd-page-banner-surface::before,
.cd-page-banner-surface::after {
    position: absolute;
    z-index: 1;
    display: block;
    content: "";
    pointer-events: none;
}

.cd-page-banner-surface::before {
    top: -72px;
    right: clamp(70px, 12vw, 180px);
    width: 280px;
    height: 210px;
    border: 1px solid rgba(111, 199, 246, 0.18);
    border-radius: 48% 52% 43% 57% / 58% 42% 58% 42%;
    background: linear-gradient(135deg, rgba(77, 169, 255, 0.12), rgba(130, 88, 200, 0.09), rgba(45, 189, 187, 0.06));
    box-shadow: 0 0 0 26px rgba(77, 169, 255, 0.025), 0 0 0 52px rgba(130, 88, 200, 0.018);
    transform: rotate(-12deg);
}

.cd-page-banner-surface::after {
    top: 50%;
    right: 38px;
    width: 82px;
    height: 82px;
    border: 14px solid rgba(45, 189, 187, 0.14);
    border-radius: 50%;
    box-shadow: 0 0 34px rgba(45, 189, 187, 0.12), inset 0 0 26px rgba(77, 169, 255, 0.08);
    transform: translateY(-50%);
}

.cd-page-banner-overlay {
    position: absolute;
    z-index: 2;
    inset: 0;
    display: block;
    border-radius: inherit;
    background:
        linear-gradient(90deg, rgba(4, 17, 32, 0.24), transparent 54%),
        linear-gradient(112deg, transparent 64%, rgba(45, 189, 187, 0.05));
    pointer-events: none;
}

.cd-page-banner-overlay::before,
.cd-page-banner-overlay::after {
    position: absolute;
    display: block;
    border-radius: 999px;
    content: "";
}

.cd-page-banner-overlay::before {
    top: 24px;
    right: clamp(150px, 20vw, 300px);
    width: 116px;
    height: 8px;
    background: linear-gradient(90deg, rgba(77, 169, 255, 0.74), rgba(45, 189, 187, 0.22), transparent);
    box-shadow: 0 0 18px rgba(77, 169, 255, 0.18);
}

.cd-page-banner-overlay::after {
    right: clamp(116px, 16vw, 230px);
    bottom: 23px;
    width: 48px;
    height: 48px;
    border: 1px solid rgba(253, 184, 22, 0.3);
    background: radial-gradient(circle, rgba(253, 184, 22, 0.22), rgba(253, 184, 22, 0.03) 58%, transparent 62%);
    box-shadow: 0 0 25px rgba(253, 184, 22, 0.1);
}

.cd-page-banner-content {
    position: relative;
    z-index: 4;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 22px calc(var(--cd-page-banner-actions-space) + clamp(24px, 3.5vw, 48px)) 22px clamp(24px, 3.5vw, 48px);
    text-align: left;
}

.cd-page-banner-content h1 {
    margin: 0;
    max-width: 760px;
    font-size: clamp(25px, 2.25vw, 28px);
    font-weight: 600;
    line-height: 1.08;
    letter-spacing: -0.035em;
}

.cd-page-banner-content p {
    max-width: 680px;
    margin: 7px 0 0;
    font-size: 13px;
    line-height: 1.45;
}

.cd-page-banner-breadcrumbs {
    display: none !important;
}

.cd-page-banner-actions {
    position: absolute;
    z-index: 6;
    top: 50%;
    right: clamp(18px, 2.4vw, 32px);
    bottom: auto;
    width: auto;
    min-height: 0;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    padding: 0;
    background: transparent;
    box-shadow: none;
    transform: translateY(-50%);
}

.cd-document-banner-meta {
    margin-top: 8px;
}

html[data-theme="light"] .cd-page-banner-surface::before {
    border-color: rgba(44, 132, 200, 0.14);
    background: linear-gradient(135deg, rgba(44, 132, 200, 0.09), rgba(130, 88, 200, 0.07), rgba(45, 189, 187, 0.06));
}

html[data-theme="light"] .cd-page-banner-surface::after {
    border-color: rgba(45, 189, 187, 0.13);
}

html[data-theme="light"] .cd-page-banner-overlay {
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.18), transparent 54%),
        linear-gradient(112deg, transparent 64%, rgba(45, 189, 187, 0.035));
}

html[data-theme="light"] .cd-page-banner-content h1 {
    color: #15364e;
}

html[data-theme="light"] .cd-document-banner-meta {
    color: #607b8f;
}

.cd-auth-body {
    min-height: 100vh;
    overflow-x: hidden;
    overflow-y: auto;
}

.cd-auth-brand {
    width: max-content;
    max-width: 100%;
    margin-right: auto;
    margin-bottom: 24px;
    margin-left: auto;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
}

.cd-auth-brand-logo {
    width: 154px;
    height: 42px;
    object-fit: contain;
}

.cd-auth-brand-logo-light {
    display: none;
}

html[data-theme="light"] .cd-auth-brand-logo-dark {
    display: none;
}

html[data-theme="light"] .cd-auth-brand-logo-light {
    display: block;
}

.cd-auth-emblem {
    position: fixed;
    z-index: 1;
    top: 0;
    right: 0;
    left: auto;
    pointer-events: none;
    transform-origin: center;
}

.cd-auth-emblem .cd-dashboard-core img {
    filter: drop-shadow(0 0 12px rgba(255, 220, 112, 0.74)) drop-shadow(0 0 28px rgba(77, 169, 255, 0.44));
}

html[data-theme="light"] .cd-auth-card {
    border-color: transparent;
}

html[data-theme="light"] .cd-auth-heading h1,
html[data-theme="light"] .cd-auth-card-centered h1 {
    color: #15364e;
}

html[data-theme="light"] .cd-auth-heading p,
html[data-theme="light"] .cd-auth-card-centered p {
    color: #607b8f;
}

@media (max-width: 960px) {
    .cd-page-heading.cd-page-banner.cd-page-heading-has-actions {
        --cd-page-banner-actions-space: 340px;
    }
}

@media (max-width: 767px) {
    .cd-page-heading.cd-page-banner {
        min-height: 104px;
        height: 104px;
    }

    .cd-page-heading.cd-page-banner.cd-page-heading-has-actions {
        margin-bottom: 78px;
    }

    .cd-page-banner-surface {
        border-radius: 20px;
    }

    .cd-page-banner-content {
        padding: 20px 118px 20px 22px;
    }

    .cd-page-heading-has-actions .cd-page-banner-content {
        padding-right: 22px;
    }

    .cd-page-banner-content h1 {
        font-size: clamp(24px, 6vw, 28px);
    }

    .cd-page-banner-content p,
    .cd-document-banner-meta {
        display: none;
    }

    .cd-page-banner-surface::before {
        right: -20px;
    }

    .cd-page-banner-surface::after {
        right: 24px;
        width: 66px;
        height: 66px;
        border-width: 11px;
    }

    .cd-page-banner-overlay::before,
    .cd-page-banner-overlay::after {
        display: none;
    }

    .cd-page-heading-has-actions .cd-page-banner-surface::before,
    .cd-page-heading-has-actions .cd-page-banner-surface::after {
        opacity: 0.48;
    }

    .cd-page-heading-has-actions .cd-page-banner-actions {
        top: auto;
        right: 0;
        bottom: -58px;
        transform: none;
    }
}

@media (max-width: 576px) {
    .cd-main {
        padding-right: 14px;
        padding-left: 14px;
    }

    .cd-page-banner-content {
        padding-right: 96px;
        padding-left: 20px;
    }

    .cd-page-heading-has-actions .cd-page-banner-content {
        padding-right: 20px;
    }

    .cd-section-heading {
        flex-wrap: wrap;
    }

    .cd-section-heading .cd-readonly-badge {
        width: 100%;
        margin: 10px 0 0;
        justify-content: center;
    }

    .cd-auth-body {
        padding: 22px 16px;
    }

    .cd-auth-card {
        border-radius: 24px;
    }
}
html[data-theme="light"] .cd-page-heading.cd-page-banner .cd-page-banner-content h1 {
    color: #15364e !important;
    text-shadow: none;
}

.cd-topbar-actions .cd-account-button,
.cd-topbar-actions .cd-icon-button {
    border-left-color: rgba(120, 190, 234, 0.07);
    box-shadow: 0 16px 34px rgba(0, 7, 22, 0.28), inset 1px 0 0 rgba(77, 169, 255, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.09);
}

.cd-topbar-actions .cd-account-button:hover,
.cd-topbar-actions .cd-icon-button:hover {
    border-left-color: rgba(148, 211, 249, 0.1);
    box-shadow: 0 19px 40px rgba(0, 7, 22, 0.34), inset 1px 0 0 rgba(111, 190, 255, 0.58), inset 0 1px 0 rgba(255, 255, 255, 0.13);
}

html[data-theme="light"] .cd-topbar-actions .cd-account-button,
html[data-theme="light"] .cd-topbar-actions .cd-icon-button {
    border-left-color: rgba(81, 143, 183, 0.045);
    box-shadow: 0 16px 34px rgba(47, 91, 124, 0.15), inset 1px 0 0 rgba(45, 135, 200, 0.32), inset 0 1px 0 #ffffff;
}

html[data-theme="light"] .cd-topbar-actions .cd-account-button:hover,
html[data-theme="light"] .cd-topbar-actions .cd-icon-button:hover {
    border-left-color: rgba(69, 127, 166, 0.065);
    box-shadow: 0 20px 40px rgba(47, 91, 124, 0.19), inset 1px 0 0 rgba(20, 115, 230, 0.42), inset 0 1px 0 #ffffff;
}

.cd-page-heading.cd-page-banner.cd-page-heading-has-actions {
    --cd-page-banner-actions-space: clamp(170px, 17vw, 220px);
}

.cd-document-banner-title-row {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 15px;
}

.cd-document-banner-copy {
    min-width: 0;
}

.cd-document-banner-title-row .cd-document-back-button {
    width: 42px;
    height: 42px;
    display: inline-grid;
    flex: 0 0 42px;
    margin: 0;
    border-color: rgba(144, 196, 233, 0.2);
    background: rgba(5, 24, 43, 0.48);
    box-shadow: 0 12px 25px rgba(0, 7, 22, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.cd-document-banner-title-row .cd-document-back-button:hover,
.cd-document-banner-title-row .cd-document-back-button:focus-visible {
    background: rgba(30, 80, 126, 0.7);
}

html[data-theme="light"] .cd-document-banner-title-row .cd-document-back-button {
    border-color: rgba(60, 104, 137, 0.14);
    background: rgba(255, 255, 255, 0.7);
    box-shadow: 0 12px 25px rgba(46, 79, 103, 0.12), inset 0 1px 0 #ffffff;
    color: #173d58;
}

.cd-document-list-card {
    position: relative;
    padding: clamp(15px, 2vw, 24px);
    border-radius: 28px;
}

.cd-document-list-card::before {
    position: absolute;
    top: 0;
    left: clamp(28px, 5vw, 64px);
    width: min(240px, 32%);
    height: 1px;
    background: linear-gradient(90deg, rgba(139, 103, 212, 0.78), rgba(77, 169, 255, 0.52), transparent);
    content: "";
}

.cd-document-table-wrap {
    overflow-x: auto;
    border: 0;
    border-radius: 20px;
}

.cd-document-table {
    padding: 0;
}

.cd-document-table th,
.cd-document-table td {
    border-bottom: 0;
}

.cd-document-table th {
    padding-top: 13px;
    padding-bottom: 8px;
    color: #7f99ae;
}

.cd-document-table tbody tr,
.cd-document-table tbody tr:hover {
    background: transparent;
}

.cd-document-table tbody td {
    border-top: 1px solid rgba(119, 157, 187, 0.12);
    border-bottom: 1px solid rgba(119, 157, 187, 0.12);
    background: linear-gradient(108deg, rgba(10, 36, 58, 0.72), rgba(7, 29, 48, 0.64));
    transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.cd-document-table tbody td:first-child {
    border-left: 0;
    border-radius: 0;
}

.cd-document-table tbody td:last-child {
    border-right: 0;
    border-radius: 0;
}

.cd-document-table tbody tr:hover td {
    border-color: rgba(95, 164, 218, 0.24);
    background: linear-gradient(108deg, rgba(15, 48, 75, 0.84), rgba(9, 38, 61, 0.76));
}

.cd-document-name-cell,
.cd-document-data-cell {
    min-width: 0;
    display: flex;
    align-items: center;
}

.cd-document-name-cell {
    gap: 12px;
}

.cd-document-data-cell {
    gap: 9px;
}

.cd-document-data-cell > i {
    flex: 0 0 auto;
    color: #668aa4;
    font-size: 12px;
}

.cd-document-data-cell > span,
.cd-document-data-cell time {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

html[data-theme="light"] .cd-document-list-card {
    border-color: rgba(63, 104, 137, 0.12);
}

html[data-theme="light"] .cd-document-table-wrap {
    border: 0;
}

html[data-theme="light"] .cd-document-table tbody td {
    border-color: rgba(63, 103, 132, 0.1);
    background: rgba(255, 255, 255, 0.79);
}

html[data-theme="light"] .cd-document-table tbody tr:hover td {
    border-color: rgba(44, 132, 200, 0.19);
    background: rgba(250, 253, 255, 0.98);
}

html[data-theme="light"] .cd-document-data-cell > i {
    color: #7890a2;
}

.cd-pdf-viewer {
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.cd-pdf-stage {
    position: relative;
    min-height: 760px;
    height: max(760px, calc(100vh - 272px));
    overscroll-behavior: contain;
    scrollbar-gutter: stable;
}

.cd-pdf-frame-shell {
    height: 100%;
    transition: width 180ms ease;
}

.cd-pdf-frame-shell.is-zoomed-out {
    margin-right: auto;
    margin-left: auto;
}

.cd-pdf-frame {
    width: 100%;
    height: 100%;
    min-height: 760px;
    display: block;
    border: 0;
}

.cd-pdf-loading {
    position: absolute;
    z-index: 3;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 11px;
    padding: 24px;
    font-size: 13px;
    text-align: center;
}

.cd-pdf-loading[hidden],
.cd-pdf-frame[hidden],
.cd-document-action-button[hidden] {
    display: none !important;
}

.cd-pdf-statusbar {
    position: relative;
    min-height: 43px;
    height: 43px;
    display: flex;
    flex: 0 0 43px;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 0 15px;
    border-top: 1px solid rgba(118, 156, 185, 0.15);
    border-radius: 0 0 25px 25px;
    background: rgba(5, 20, 34, 0.98);
    color: #8fa7ba;
    font-size: 13px;
}

.cd-pdf-statusbar .document-editor-statusbar-left,
.cd-pdf-statusbar .document-editor-statusbar-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.cd-pdf-statusbar .document-editor-statusbar-left > span + span {
    position: relative;
    padding-left: 11px;
}

.cd-pdf-statusbar .document-editor-statusbar-left > span + span::before {
    position: absolute;
    top: 50%;
    left: 0;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: currentColor;
    content: "";
    opacity: 0.55;
    transform: translateY(-50%);
}

.cd-pdf-statusbar .document-editor-statusbar-zoom-button,
.cd-pdf-statusbar .document-editor-statusbar-fit,
.cd-pdf-statusbar .document-editor-statusbar-mobile-fit {
    min-width: 27px;
    height: 27px;
    display: inline-grid;
    place-items: center;
    padding: 0 8px;
    border: 1px solid rgba(116, 158, 191, 0.17);
    border-radius: 9px;
    background: rgba(20, 47, 69, 0.54);
    color: #b5c9d8;
    font: inherit;
    cursor: pointer;
    transition: border-color 150ms ease, background 150ms ease, color 150ms ease;
}

.cd-pdf-statusbar .document-editor-statusbar-zoom-button:hover,
.cd-pdf-statusbar .document-editor-statusbar-fit:hover,
.cd-pdf-statusbar .document-editor-statusbar-mobile-fit:hover {
    border-color: rgba(77, 169, 255, 0.36);
    background: rgba(32, 79, 112, 0.7);
    color: #ffffff;
}

.cd-pdf-statusbar .document-editor-statusbar-zoom-button:disabled {
    cursor: default;
    opacity: 0.38;
}

.cd-pdf-statusbar .document-editor-statusbar-zoom-slider {
    width: 112px;
    accent-color: #6b7fe8;
}

.cd-pdf-statusbar .document-editor-statusbar-zoom-percent,
.cd-pdf-statusbar .document-editor-statusbar-mobile-zoom-percent {
    min-width: 38px;
    color: #c7d8e5;
    font-variant-numeric: tabular-nums;
    text-align: center;
}

.cd-pdf-statusbar .document-editor-statusbar-mobile-zoom-percent,
.cd-pdf-statusbar .document-editor-statusbar-mobile-fit {
    display: none;
}

html[data-theme="light"] .cd-pdf-viewer,
html[data-theme="light"] .cd-pdf-stage {
    background: #ffffff;
}

html[data-theme="light"] .cd-pdf-statusbar {
    border-color: rgba(66, 102, 130, 0.13);
    background: rgba(248, 252, 255, 0.98);
    color: #6f8697;
}

html[data-theme="light"] .cd-pdf-statusbar .document-editor-statusbar-zoom-button,
html[data-theme="light"] .cd-pdf-statusbar .document-editor-statusbar-fit,
html[data-theme="light"] .cd-pdf-statusbar .document-editor-statusbar-mobile-fit {
    border-color: rgba(64, 104, 135, 0.14);
    background: rgba(227, 239, 247, 0.72);
    color: #365b74;
}

html[data-theme="light"] .cd-pdf-statusbar .document-editor-statusbar-zoom-percent,
html[data-theme="light"] .cd-pdf-statusbar .document-editor-statusbar-mobile-zoom-percent {
    color: #284b63;
}

.cd-auth-card::before {
    border-color: rgba(147, 89, 220, 0.16);
}

.cd-auth-card .cd-button-primary {
    border-color: rgba(158, 105, 229, 0.45);
    background: linear-gradient(105deg, #8e55d8, #5b68df 52%, #377fe8);
    box-shadow: 0 16px 34px rgba(69, 71, 198, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.24);
}

.cd-auth-card .cd-button-primary:hover,
.cd-auth-card .cd-button-primary:focus-visible {
    background: linear-gradient(105deg, #9c63e2, #6677e8 52%, #438cf0);
    box-shadow: 0 20px 40px rgba(69, 71, 198, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.cd-auth-card .cd-field input:focus {
    border-color: rgba(114, 102, 225, 0.76);
    box-shadow: 0 0 0 4px rgba(101, 89, 218, 0.12);
}

.cd-auth-link,
.cd-auth-link:hover {
    color: #a987f0;
}

.cd-auth-emblem {
    width: 380px;
    height: 380px;
    opacity: 0.15;
    transform: translate(28%, -31%) scale(5.4);
    filter: saturate(1.05) hue-rotate(16deg);
}

.cd-auth-emblem .cd-dashboard-emblem-ring {
    border-color: rgba(128, 99, 224, 0.34);
    box-shadow: 0 0 22px rgba(95, 96, 224, 0.18), inset 0 0 22px rgba(92, 125, 237, 0.08);
}

.cd-auth-emblem .cd-dashboard-emblem-ring::before,
.cd-auth-emblem .cd-dashboard-emblem-ring::after {
    background: #7f6be2;
    box-shadow: 0 0 20px rgba(92, 106, 230, 0.76);
}

html[data-theme="light"] .cd-auth-card::after {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.98), rgba(227, 232, 255, 0.9), transparent);
}

html[data-theme="light"] .cd-auth-card .cd-button-primary {
    color: #ffffff;
}

html[data-theme="light"] .cd-auth-link,
html[data-theme="light"] .cd-auth-link:hover {
    color: #6a50bd;
}

html[data-theme="light"] .cd-auth-emblem {
    opacity: 0.09;
}

@media (max-width: 767px) {
    .cd-page-heading.cd-page-banner.cd-page-heading-has-actions {
        --cd-page-banner-actions-space: 0px;
    }

    .cd-document-banner-title-row {
        gap: 11px;
    }

    .cd-document-banner-title-row .cd-document-back-button {
        width: 38px;
        height: 38px;
        display: inline-grid;
        flex-basis: 38px;
    }

    .cd-pdf-stage,
    .cd-pdf-frame {
        min-height: 640px;
        height: max(640px, calc(100vh - 248px));
    }

    .cd-auth-emblem {
        transform: translate(36%, -38%) scale(3.8);
        opacity: 0.12;
    }
}

@media (max-width: 640px) {
    .cd-document-list-card {
        padding: 12px;
        border-radius: 22px;
    }

    .cd-document-table {
        padding: 0;
    }

    .cd-document-table tbody {
        gap: 10px;
    }

    .cd-document-table tr {
        padding: 15px 58px 15px 15px;
        border: 1px solid rgba(119, 157, 187, 0.14);
        background: linear-gradient(108deg, rgba(10, 36, 58, 0.72), rgba(7, 29, 48, 0.64));
    }

    .cd-document-table tbody td,
    .cd-document-table tbody td:first-child,
    .cd-document-table tbody td:last-child,
    .cd-document-table tbody tr:hover td {
        border: 0;
        border-radius: 0;
        background: transparent;
    }

    .cd-document-name-cell {
        align-items: flex-start;
    }

    .cd-document-data-cell > span,
    .cd-document-data-cell time {
        white-space: normal;
    }

    html[data-theme="light"] .cd-document-table tr {
        border-color: rgba(63, 103, 132, 0.12);
        background: rgba(255, 255, 255, 0.82);
    }

    .cd-pdf-frame-shell {
        min-width: 360px;
    }

    .cd-pdf-statusbar {
        height: 45px;
        min-height: 45px;
        padding: 0 10px;
    }

    .cd-pdf-statusbar .document-editor-statusbar-left {
        width: 100%;
        justify-content: space-between;
    }

    .cd-pdf-statusbar .document-editor-statusbar-right {
        position: absolute;
        right: 10px;
    }

    .cd-pdf-statusbar .document-editor-statusbar-right .document-editor-statusbar-zoom-slider,
    .cd-pdf-statusbar .document-editor-statusbar-right .document-editor-statusbar-zoom-percent,
    .cd-pdf-statusbar .document-editor-statusbar-right .document-editor-statusbar-fit {
        display: none;
    }

    .cd-pdf-statusbar .document-editor-statusbar-mobile-zoom-percent,
    .cd-pdf-statusbar .document-editor-statusbar-mobile-fit {
        display: inline-grid;
    }

    .cd-pdf-statusbar .document-editor-statusbar-left {
        padding-right: 72px;
    }
}

/* ==========================================================================
   Reports, SEO, audit and task report interfaces
   ========================================================================== */
.cd-report-page {
    padding-bottom: 48px;
}

.cd-report-banner-copy {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 16px;
}

.cd-report-banner-copy h1 {
    min-width: 0;
    margin: 0;
}

.cd-report-banner-period {
    min-height: 34px;
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 8px;
    padding: 0 12px;
    border: 1px solid rgba(132, 218, 241, 0.2);
    border-radius: 999px;
    color: #bdd2e2;
    background: rgba(4, 20, 33, 0.28);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
    font-size: 12px;
    font-weight: 750;
    letter-spacing: 0.025em;
    white-space: nowrap;
}

.cd-report-banner-period i {
    color: #75d8ef;
}

.cd-report-page-actions {
    gap: 9px;
}

.cd-report-page-actions .cd-report-download-button {
    white-space: nowrap;
}

.cd-report-page-actions .cd-report-download-button span {
    font-size: 12px;
    font-weight: 780;
}

.cd-report-workspace {
    position: relative;
    overflow: hidden;
    padding: 0;
    border-color: rgba(119, 199, 225, 0.16);
}

.cd-report-workspace::before {
    position: absolute;
    z-index: 0;
    top: 0;
    right: 0;
    left: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(102, 219, 247, 0.56), rgba(82, 199, 201, 0.24), transparent);
    content: "";
    pointer-events: none;
}

.cd-report-toolbar,
.cd-report-tabs,
.cd-report-content,
.cd-report-empty-state {
    position: relative;
    z-index: 1;
}

.cd-report-toolbar {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 20px 24px;
    border-bottom: 1px solid rgba(126, 178, 207, 0.13);
}

.cd-report-toolbar-copy {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 13px;
}

.cd-report-toolbar-icon,
.cd-report-section-icon {
    display: inline-grid;
    flex: 0 0 auto;
    place-items: center;
    border: 1px solid rgba(105, 217, 242, 0.24);
    color: #74d8ef;
    background: linear-gradient(145deg, rgba(71, 190, 220, 0.13), rgba(42, 142, 173, 0.04));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 10px 24px rgba(0, 8, 18, 0.16);
}

.cd-report-toolbar-icon {
    width: 45px;
    height: 45px;
    border-radius: 15px;
    font-size: 15px;
}

.cd-report-toolbar-copy > div {
    min-width: 0;
    display: grid;
    gap: 2px;
}

.cd-report-toolbar-copy strong {
    color: #eef8fc;
    font-size: 14px;
    font-weight: 800;
}

.cd-report-toolbar-copy span:not(.cd-report-toolbar-icon) {
    color: var(--cd-muted);
    font-size: 12px;
}

.cd-report-month-form {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 11px;
}

.cd-report-month-form > label {
    margin: 0;
    color: #9eb4c5;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.cd-report-month-select-wrap {
    position: relative;
}

.cd-report-month-select-wrap > i {
    position: absolute;
    z-index: 2;
    top: 50%;
    left: 14px;
    color: #6bd4ec;
    font-size: 13px;
    pointer-events: none;
    transform: translateY(-50%);
}

.cd-report-month-select-wrap select {
    width: 100%;
    height: 44px;
    padding: 0 38px 0 39px;
    border: 1px solid rgba(109, 184, 213, 0.22);
    border-radius: 14px;
    outline: 0;
    color: #eaf6fb;
    background-color: rgba(5, 20, 32, 0.72);
    box-shadow: 0 12px 28px rgba(0, 7, 16, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.045);
    cursor: pointer;
    font-size: 13px;
    font-weight: 740;
    transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
    appearance: none;
}

.cd-report-month-select-wrap::after {
    position: absolute;
    z-index: 2;
    top: 50%;
    right: 15px;
    width: 7px;
    height: 7px;
    border-right: 2px solid #76bfd4;
    border-bottom: 2px solid #76bfd4;
    content: "";
    pointer-events: none;
    transform: translateY(-70%) rotate(45deg);
}

.cd-report-month-select-wrap select:hover,
.cd-report-month-select-wrap select:focus {
    border-color: rgba(101, 213, 239, 0.48);
    background-color: rgba(8, 27, 41, 0.9);
    box-shadow: 0 14px 32px rgba(0, 7, 16, 0.24), 0 0 0 3px rgba(72, 187, 216, 0.08);
}

.cd-report-month-select-wrap option {
    color: #eaf6fb;
    background: #0c1d2a;
}

.cd-report-tabs {
    align-items: center;
    overflow-x: auto;
    scrollbar-width: thin;
}

.cd-report-tab {
    flex: 0 0 auto;
    gap: 9px;
    font-size: 12px;
}

.cd-report-tab-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #58778b;
    box-shadow: 0 0 0 4px rgba(88, 119, 139, 0.08);
}

.cd-report-tab.is-active .cd-report-tab-dot {
    background: #69daf1;
    box-shadow: 0 0 0 4px rgba(105, 218, 241, 0.11), 0 0 15px rgba(105, 218, 241, 0.46);
}

.cd-report-content {
    display: grid;
    gap: 18px;
    padding: 22px 24px 26px;
}

.cd-report-section {
    overflow: hidden;
    border: 1px solid rgba(121, 177, 205, 0.13);
    border-radius: 18px;
}

.cd-report-section-heading {
    margin: 0;
    padding: 13px 16px;
    background: linear-gradient(110deg, rgba(24, 51, 68, 0.45), rgba(12, 31, 44, 0.2));
}

.cd-report-section-heading > div {
    display: flex;
    align-items: center;
    gap: 11px;
}

.cd-report-section-heading h2 {
    margin: 0;
    color: #eaf6fb;
    font-size: 14px;
    font-weight: 820;
    letter-spacing: -0.01em;
}

.cd-report-section-icon {
    width: 36px;
    height: 36px;
    border-radius: 12px;
    font-size: 12px;
}

.cd-report-table-wrap {
    width: 100%;
    overflow-x: auto;
}

.cd-report-data-table {
    width: 100%;
    min-width: 760px;
    border-collapse: separate;
    border-spacing: 0;
    color: #d7e7f0;
}

.cd-report-data-table th,
.cd-report-data-table td {
    padding: 13px 15px;
    border-right: 1px solid rgba(122, 174, 200, 0.08);
    border-bottom: 1px solid rgba(122, 174, 200, 0.085);
    text-align: left;
    vertical-align: middle;
}

.cd-report-data-table th:last-child,
.cd-report-data-table td:last-child {
    border-right: 0;
}

.cd-report-data-table tbody tr:last-child td {
    border-bottom: 0;
}

.cd-report-data-table thead th {
    white-space: nowrap;
}

.cd-report-data-table tbody td:first-child {
    color: #edf7fb;
    font-weight: 750;
}

.cd-report-keyword-context-row td {
    padding-top: 16px;
    padding-bottom: 16px;
    color: #e8f6fb;
    background: linear-gradient(90deg, rgba(59, 168, 199, 0.13), rgba(54, 143, 172, 0.035));
}

.cd-report-keyword-context-row strong {
    display: block;
    font-size: 13px;
}

.cd-report-keyword-context-row span {
    display: block;
    margin-top: 3px;
    color: #93adbd;
    font-weight: 500;
}

.cd-report-keyword-group-row td {
    color: #8edcf0;
    background: rgba(26, 62, 79, 0.34);
    font-weight: 820;
    letter-spacing: 0.03em;
}

.cd-report-keyword-name {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.cd-report-keyword-name.is-positive {
    color: #8fe4bb;
}

.cd-report-keyword-name i {
    color: #ffd476;
}

.cd-report-keyword-statuses {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.cd-report-keyword-statuses span {
    min-height: 24px;
    display: inline-flex;
    align-items: center;
    padding: 0 8px;
    border: 1px solid rgba(125, 170, 196, 0.14);
    border-radius: 999px;
    color: #a9bdca;
    background: rgba(255, 255, 255, 0.025);
    font-weight: 820;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.cd-report-keyword-statuses .is-new {
    border-color: rgba(106, 213, 239, 0.22);
    color: #8de0f2;
    background: rgba(58, 168, 198, 0.09);
}

.cd-report-keyword-statuses .is-up {
    border-color: rgba(104, 222, 166, 0.22);
    color: #8ee2b8;
    background: rgba(55, 170, 119, 0.09);
}

.cd-report-keyword-statuses .is-favorite {
    border-color: rgba(255, 204, 104, 0.22);
    color: #f2ca78;
    background: rgba(195, 144, 44, 0.08);
}

.cd-report-section-empty {
    padding: 25px 18px;
    color: #839bab;
    font-size: 12px;
    text-align: center;
}

.cd-report-empty-state {
    min-height: 330px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 42px 24px;
    color: #8da4b5;
    text-align: center;
}

.cd-report-empty-state > span {
    width: 66px;
    height: 66px;
    display: inline-grid;
    place-items: center;
    margin-bottom: 17px;
    border: 1px solid rgba(113, 196, 219, 0.18);
    border-radius: 22px;
    color: #6fd2e9;
    background: linear-gradient(145deg, rgba(54, 162, 191, 0.11), rgba(30, 91, 115, 0.035));
    box-shadow: 0 18px 40px rgba(0, 8, 18, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.04);
    font-size: 23px;
}

.cd-report-empty-state strong {
    color: #e5f2f7;
    font-size: 15px;
    font-weight: 820;
}

.cd-report-empty-state p {
    margin: 5px 0 0;
    color: #8097a8;
    font-size: 12px;
}

.cd-report-export-content {
    overflow: hidden;
    padding: 24px;
    color: #d8e5ec;
    background: rgba(4, 17, 27, 0.24);
    overflow-wrap: anywhere;
}

.cd-report-export-content > :first-child {
    margin-top: 0 !important;
}

.cd-report-export-content > :last-child {
    margin-bottom: 0 !important;
}

.cd-report-export-content h1,
.cd-report-export-content h2,
.cd-report-export-content h3,
.cd-report-export-content h4,
.cd-report-export-content h5,
.cd-report-export-content h6 {
    color: #eef8fc !important;
    line-height: 1.3;
}

.cd-report-export-content p,
.cd-report-export-content li,
.cd-report-export-content div,
.cd-report-export-content span {
    max-width: 100%;
}

.cd-report-export-content a {
    color: #78d9ef !important;
    text-decoration: underline;
    text-decoration-color: rgba(120, 217, 239, 0.35);
    text-underline-offset: 3px;
}

.cd-report-export-content img,
.cd-report-export-content svg,
.cd-report-export-content canvas {
    max-width: 100% !important;
    height: auto !important;
}

.cd-report-export-content table {
    width: 100% !important;
    max-width: 100% !important;
    margin: 14px 0 !important;
    border-collapse: collapse !important;
    color: #d9e7ee !important;
    background: transparent !important;
    table-layout: auto;
}

.cd-report-export-content th,
.cd-report-export-content td {
    min-width: 0 !important;
    padding: 10px 11px !important;
    border: 1px solid rgba(123, 175, 201, 0.14) !important;
    color: inherit !important;
    background: rgba(8, 27, 40, 0.38) !important;
    text-align: left;
    vertical-align: top;
    word-break: break-word;
}

.cd-report-export-content th {
    color: #9cc0d2 !important;
    background: rgba(20, 48, 65, 0.72) !important;
    letter-spacing: 0.03em;
}

.cd-report-export-content tr:nth-child(even) td {
    background: rgba(13, 34, 48, 0.42) !important;
}

.cd-report-export-content [style*="page-break"] {
    break-after: auto !important;
    page-break-after: auto !important;
}

.cd-report-export-content [width] {
    max-width: 100% !important;
}

.cd-report-audit-content,
.cd-report-task-content {
    overflow-x: auto;
}

.cd-report-competitor-content {
    padding: 18px;
}

html[data-theme="light"] .cd-report-banner-period {
    border-color: rgba(71, 127, 165, 0.17);
    color: #42627a;
    background: rgba(255, 255, 255, 0.58);
    box-shadow: inset 0 1px 0 #ffffff;
}

html[data-theme="light"] .cd-report-banner-period i {
    color: #297fae;
}

html[data-theme="light"] .cd-report-workspace {
    border-color: rgba(64, 111, 145, 0.13);
}

html[data-theme="light"] .cd-report-workspace::before {
    background: linear-gradient(90deg, transparent, rgba(49, 139, 181, 0.34), rgba(49, 169, 163, 0.17), transparent);
}

html[data-theme="light"] .cd-report-toolbar {
    border-bottom-color: rgba(64, 105, 134, 0.11);
}

html[data-theme="light"] .cd-report-toolbar-icon,
html[data-theme="light"] .cd-report-section-icon {
    border-color: rgba(45, 132, 169, 0.16);
    color: #2a83ad;
    background: linear-gradient(145deg, rgba(201, 232, 244, 0.78), rgba(224, 243, 247, 0.52));
    box-shadow: inset 0 1px 0 #ffffff, 0 10px 22px rgba(61, 104, 132, 0.08);
}

html[data-theme="light"] .cd-report-toolbar-copy strong,
html[data-theme="light"] .cd-report-section-heading h2 {
    color: #28495f;
}

html[data-theme="light"] .cd-report-toolbar-copy span:not(.cd-report-toolbar-icon),
html[data-theme="light"] .cd-report-month-form > label {
    color: #6a8293;
}

html[data-theme="light"] .cd-report-month-select-wrap > i {
    color: #2e84ab;
}

html[data-theme="light"] .cd-report-month-select-wrap select {
    border-color: rgba(62, 112, 145, 0.15);
    color: #294b61;
    background-color: rgba(255, 255, 255, 0.88);
    box-shadow: 0 12px 26px rgba(49, 84, 107, 0.08), inset 0 1px 0 #ffffff;
}

html[data-theme="light"] .cd-report-month-select-wrap select:hover,
html[data-theme="light"] .cd-report-month-select-wrap select:focus {
    border-color: rgba(43, 131, 169, 0.34);
    background-color: #ffffff;
    box-shadow: 0 14px 30px rgba(49, 84, 107, 0.11), 0 0 0 3px rgba(43, 131, 169, 0.07);
}

html[data-theme="light"] .cd-report-month-select-wrap option {
    color: #294b61;
    background: #ffffff;
}

html[data-theme="light"] .cd-report-tabs {
    border-bottom-color: rgba(63, 103, 132, 0.1);
}

html[data-theme="light"] .cd-report-tab {
    border-color: rgba(63, 103, 132, 0.11);
    background: rgba(234, 244, 249, 0.58);
}

html[data-theme="light"] .cd-report-tab-dot {
    background: #8ba5b5;
}

html[data-theme="light"] .cd-report-tab.is-active .cd-report-tab-dot {
    background: #2f92bb;
    box-shadow: 0 0 0 4px rgba(47, 146, 187, 0.1);
}

html[data-theme="light"] .cd-report-section-heading {
    border-bottom-color: rgba(64, 106, 135, 0.1);
    background: linear-gradient(110deg, rgba(225, 240, 247, 0.68), rgba(244, 249, 251, 0.5));
}

html[data-theme="light"] .cd-report-data-table {
    color: #456477;
}

html[data-theme="light"] .cd-report-data-table th,
html[data-theme="light"] .cd-report-data-table td {
    border-right-color: rgba(64, 106, 135, 0.08);
    border-bottom-color: rgba(64, 106, 135, 0.09);
}

html[data-theme="light"] .cd-report-data-table tbody td:first-child {
    color: #294e65;
}

html[data-theme="light"] .cd-report-keyword-context-row td {
    color: #2c5268;
    background: linear-gradient(90deg, rgba(200, 231, 242, 0.72), rgba(231, 244, 247, 0.38));
}

html[data-theme="light"] .cd-report-keyword-context-row span {
    color: #718999;
}

html[data-theme="light"] .cd-report-keyword-group-row td {
    color: #2e7d9f;
    background: rgba(218, 237, 244, 0.7);
}

html[data-theme="light"] .cd-report-keyword-statuses span {
    border-color: rgba(65, 106, 134, 0.12);
    color: #6a8190;
    background: rgba(235, 244, 248, 0.72);
}

html[data-theme="light"] .cd-report-section-empty,
html[data-theme="light"] .cd-report-empty-state,
html[data-theme="light"] .cd-report-empty-state p {
    color: #718898;
}

html[data-theme="light"] .cd-report-empty-state > span {
    border-color: rgba(48, 136, 173, 0.15);
    color: #318aae;
    background: linear-gradient(145deg, rgba(205, 234, 245, 0.76), rgba(231, 244, 247, 0.56));
    box-shadow: 0 17px 36px rgba(61, 99, 123, 0.09), inset 0 1px 0 #ffffff;
}

html[data-theme="light"] .cd-report-empty-state strong {
    color: #31556b;
}

html[data-theme="light"] .cd-report-export-content {
    color: #456373;
    background: rgba(249, 252, 253, 0.72);
}

html[data-theme="light"] .cd-report-export-content h1,
html[data-theme="light"] .cd-report-export-content h2,
html[data-theme="light"] .cd-report-export-content h3,
html[data-theme="light"] .cd-report-export-content h4,
html[data-theme="light"] .cd-report-export-content h5,
html[data-theme="light"] .cd-report-export-content h6 {
    color: #284d63 !important;
}

html[data-theme="light"] .cd-report-export-content a {
    color: #277da5 !important;
}

html[data-theme="light"] .cd-report-export-content table {
    color: #426071 !important;
}

html[data-theme="light"] .cd-report-export-content th,
html[data-theme="light"] .cd-report-export-content td {
    border-color: rgba(63, 104, 132, 0.13) !important;
    background: rgba(255, 255, 255, 0.82) !important;
}

html[data-theme="light"] .cd-report-export-content th {
    color: #58788b !important;
    background: rgba(222, 237, 244, 0.86) !important;
}

html[data-theme="light"] .cd-report-export-content tr:nth-child(even) td {
    background: rgba(239, 247, 250, 0.84) !important;
}

@media (max-width: 980px) {

    .cd-report-page-actions .cd-report-download-button span {
        display: none;
    }

    .cd-report-page-actions .cd-report-download-button {
        width: 42px;
        padding: 0;
    }

    .cd-report-toolbar {
        align-items: flex-start;
    }
}

@media (max-width: 767px) {
    .cd-page-heading.cd-page-banner.cd-page-heading-has-actions.cd-page-heading-seo-report,
    .cd-page-heading.cd-page-banner.cd-page-heading-has-actions.cd-page-heading-audit,
    .cd-page-heading.cd-page-banner.cd-page-heading-has-actions.cd-page-heading-task-report {
        --cd-page-banner-actions-space: 0px;
    }

    .cd-report-banner-copy {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }

    .cd-report-banner-period {
        min-height: 29px;
        padding: 0 10px;
    }

    .cd-report-toolbar {
        align-items: stretch;
        flex-direction: column;
        gap: 17px;
        padding: 18px;
    }

    .cd-report-month-form {
        align-items: stretch;
        flex-direction: column;
        gap: 7px;
    }

    .cd-report-month-select-wrap {
        width: 100%;
        min-width: 0;
    }

    .cd-report-tabs {
        padding-right: 18px;
        padding-left: 18px;
    }

    .cd-report-content {
        padding: 18px;
    }

    .cd-report-export-content {
        padding: 18px;
    }
}

@media (max-width: 520px) {
    .cd-report-toolbar-copy span:not(.cd-report-toolbar-icon) {
        display: none;
    }

    .cd-report-tab {
        max-width: 250px;
    }

    .cd-report-tab span:last-child {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .cd-report-content {
        gap: 13px;
        padding: 12px;
    }

    .cd-report-section {
        border-radius: 15px;
    }

    .cd-report-section-heading {
        min-height: 57px;
        padding: 10px 12px;
    }

    .cd-report-export-content,
    .cd-report-competitor-content {
        padding: 13px;
    }

    .cd-report-export-content table {
        min-width: 620px;
    }

    .cd-report-empty-state {
        min-height: 280px;
    }
}
.cd-page-banner-title {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 14px;
}

.cd-page-banner-title h1 {
    min-width: 0;
}

.cd-page-banner-title-icon {
    position: relative;
    width: 48px;
    height: 48px;
    display: inline-grid;
    flex: 0 0 48px;
    place-items: center;
    overflow: hidden;
    border: 1px solid rgba(129, 174, 232, 0.28);
    border-radius: 16px;
    color: #e8f4ff;
    background:
        radial-gradient(circle at 76% 18%, rgba(130, 88, 200, 0.55), transparent 58%),
        linear-gradient(145deg, rgba(84, 69, 186, 0.84), rgba(44, 132, 200, 0.78));
    box-shadow: 0 16px 34px rgba(0, 10, 30, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    font-size: 18px;
}

.cd-page-banner-title-icon::before {
    position: absolute;
    top: -22px;
    left: -26px;
    width: 46px;
    height: 78px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.13);
    content: "";
    transform: rotate(34deg);
}

.cd-page-banner-title-icon i {
    position: relative;
    z-index: 1;
}

html[data-theme="light"] .cd-page-banner-title-icon {
    border-color: rgba(83, 102, 178, 0.2);
    color: #ffffff;
    background:
        radial-gradient(circle at 76% 18%, rgba(142, 91, 205, 0.72), transparent 58%),
        linear-gradient(145deg, #6655bb, #3689c7);
    box-shadow: 0 14px 30px rgba(64, 79, 145, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.38);
}

.cd-page-heading.cd-page-banner.cd-page-heading-has-actions.cd-page-heading-seo-report,
.cd-page-heading.cd-page-banner.cd-page-heading-has-actions.cd-page-heading-audit,
.cd-page-heading.cd-page-banner.cd-page-heading-has-actions.cd-page-heading-task-report {
    --cd-page-banner-actions-space: 128px;
}

.cd-report-page-actions .cd-report-download-button {
    position: relative;
    width: 44px;
    min-width: 44px;
    height: 44px;
    flex: 0 0 44px;
    overflow: visible;
    padding: 0;
}

.cd-report-page-actions .cd-report-download-button::before {
    position: absolute;
    z-index: 20;
    right: 0;
    bottom: calc(100% + 10px);
    width: max-content;
    max-width: 230px;
    padding: 7px 10px;
    border: 1px solid rgba(116, 168, 210, 0.18);
    border-radius: 9px;
    color: #e9f5fc;
    background: rgba(5, 18, 31, 0.96);
    box-shadow: 0 12px 30px rgba(0, 7, 18, 0.28);
    content: attr(data-tooltip);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.25;
    opacity: 0;
    pointer-events: none;
    transform: translateY(5px) scale(0.97);
    transform-origin: right bottom;
    transition: opacity 140ms ease, transform 140ms ease;
}

.cd-report-page-actions .cd-report-download-button:hover::before,
.cd-report-page-actions .cd-report-download-button:focus-visible::before {
    opacity: 1;
    transform: translateY(0) scale(1);
}

html[data-theme="light"] .cd-report-page-actions .cd-report-download-button::before {
    border-color: rgba(53, 92, 127, 0.14);
    color: #193a52;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 12px 30px rgba(38, 66, 89, 0.18);
}

.cd-report-page-actions .cd-report-download-button.is-loading {
    border-color: rgba(111, 109, 225, 0.5);
    color: #ffffff;
    background: linear-gradient(145deg, rgba(105, 76, 196, 0.86), rgba(44, 132, 200, 0.84));
    cursor: wait;
    pointer-events: none;
}

.cd-report-page-actions .cd-report-download-button.is-loading::after {
    position: absolute;
    overflow: hidden;
    background: linear-gradient(110deg, transparent 22%, rgba(255, 255, 255, 0.24) 48%, transparent 74%);
    content: "";
    animation: cd-download-button-shine 1.05s linear infinite;
    pointer-events: none;
}

.cd-report-month-select-wrap {
    min-width: 238px;
    cursor: pointer;
}

.cd-report-month-select-wrap::after {
    display: none;
}

.cd-report-month-select-wrap > i:first-child {
    left: 14px;
}

.cd-report-month-select-wrap > .cd-report-month-chevron {
    right: 15px;
    left: auto;
    color: #79bdd2;
    font-size: 12px;
    transition: color 150ms ease, transform 150ms ease;
}

.cd-report-month-select-wrap:hover > .cd-report-month-chevron {
    color: #a4e7f5;
    transform: translateY(-50%) rotate(180deg);
}

.cd-report-month-input,
.cd-report-month-select-wrap .flatpickr-input,
.cd-report-month-select-wrap .form-control {
    width: 100%;
    height: 46px;
    padding: 0 40px;
    border: 1px solid rgba(109, 184, 213, 0.22);
    border-radius: 14px;
    outline: 0;
    color: #eaf6fb;
    background: rgba(5, 20, 32, 0.72);
    box-shadow: 0 12px 28px rgba(0, 7, 16, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.045);
    cursor: pointer;
    font-family: inherit;
    font-size: 14px;
    font-weight: 740;
    line-height: 46px;
    transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease, transform 160ms ease;
}

.cd-report-month-input:hover,
.cd-report-month-input:focus,
.cd-report-month-select-wrap .flatpickr-input:hover,
.cd-report-month-select-wrap .flatpickr-input:focus,
.cd-report-month-select-wrap .form-control:hover,
.cd-report-month-select-wrap .form-control:focus {
    border-color: rgba(101, 213, 239, 0.48);
    background: rgba(8, 27, 41, 0.9);
    box-shadow: 0 14px 32px rgba(0, 7, 16, 0.24), 0 0 0 3px rgba(72, 187, 216, 0.08);
    transform: translateY(-1px);
}

html[data-theme="light"] .cd-report-month-input,
html[data-theme="light"] .cd-report-month-select-wrap .flatpickr-input,
html[data-theme="light"] .cd-report-month-select-wrap .form-control {
    border-color: rgba(67, 113, 148, 0.17);
    color: #294c64;
    background: rgba(255, 255, 255, 0.84);
    box-shadow: 0 12px 28px rgba(46, 79, 103, 0.1), inset 0 1px 0 #ffffff;
}

html[data-theme="light"] .cd-report-month-input:hover,
html[data-theme="light"] .cd-report-month-input:focus,
html[data-theme="light"] .cd-report-month-select-wrap .flatpickr-input:hover,
html[data-theme="light"] .cd-report-month-select-wrap .flatpickr-input:focus,
html[data-theme="light"] .cd-report-month-select-wrap .form-control:hover,
html[data-theme="light"] .cd-report-month-select-wrap .form-control:focus {
    border-color: rgba(65, 128, 180, 0.36);
    background: #ffffff;
    box-shadow: 0 14px 32px rgba(46, 79, 103, 0.13), 0 0 0 3px rgba(82, 142, 190, 0.08);
}

.flatpickr-calendar {
    z-index: 1300 !important;
    overflow: hidden;
    border: 1px solid rgba(107, 176, 207, 0.2) !important;
    border-radius: 18px !important;
    background: #0a1e2e !important;
    box-shadow: 0 24px 60px rgba(0, 7, 18, 0.38) !important;
    font-family: inherit !important;
}

.flatpickr-calendar::before,
.flatpickr-calendar::after {
    display: none !important;
}

.flatpickr-calendar .flatpickr-months {
    padding: 8px 7px 0;
    background: linear-gradient(110deg, rgba(95, 69, 180, 0.16), rgba(39, 127, 177, 0.11));
}

.flatpickr-calendar .flatpickr-current-month,
.flatpickr-calendar .flatpickr-current-month input.cur-year,
.flatpickr-calendar .flatpickr-months .flatpickr-prev-month,
.flatpickr-calendar .flatpickr-months .flatpickr-next-month {
    color: #eaf7fc !important;
    fill: #eaf7fc !important;
}

.flatpickr-calendar .flatpickr-monthSelect-months {
    gap: 4px;
    margin: 8px;
}

.flatpickr-calendar .flatpickr-monthSelect-month {
    width: calc(33.333% - 4px);
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    margin: 0;
    padding: 9px 7px;
    border: 1px solid transparent;
    border-radius: 12px;
    color: #bad0de;
    background: rgba(255, 255, 255, 0.025);
    font-size: 13px;
    font-weight: 700;
    transition: color 140ms ease, border-color 140ms ease, background 140ms ease, box-shadow 140ms ease, transform 140ms ease;
}

.flatpickr-calendar .flatpickr-monthSelect-month:not(.flatpickr-disabled):hover,
.flatpickr-calendar .flatpickr-monthSelect-month:not(.flatpickr-disabled):focus {
    border-color: rgba(105, 208, 233, 0.25);
    color: #ffffff;
    background: rgba(64, 151, 190, 0.16);
    transform: translateY(-1px);
}

.flatpickr-calendar .flatpickr-monthSelect-month.selected,
.flatpickr-calendar .flatpickr-monthSelect-month.startRange,
.flatpickr-calendar .flatpickr-monthSelect-month.endRange {
    border-color: rgba(157, 150, 245, 0.44) !important;
    border-radius: 12px !important;
    color: #ffffff !important;
    background: linear-gradient(135deg, #7155bf, #3189c6) !important;
    box-shadow: 0 10px 22px rgba(56, 77, 169, 0.28) !important;
}

.flatpickr-calendar .flatpickr-monthSelect-month.flatpickr-disabled,
.flatpickr-calendar .flatpickr-monthSelect-month.flatpickr-disabled:hover,
.flatpickr-calendar .flatpickr-monthSelect-month.flatpickr-disabled:focus {
    border-color: transparent !important;
    color: rgba(159, 181, 196, 0.28) !important;
    background: rgba(255, 255, 255, 0.012) !important;
    box-shadow: none !important;
    cursor: not-allowed;
    opacity: 0.58;
    transform: none;
}

html[data-theme="light"] .flatpickr-calendar {
    border-color: rgba(61, 105, 137, 0.16) !important;
    background: #f8fcff !important;
    box-shadow: 0 24px 60px rgba(44, 74, 97, 0.22) !important;
}

html[data-theme="light"] .flatpickr-calendar .flatpickr-months {
    background: linear-gradient(110deg, rgba(109, 76, 187, 0.1), rgba(49, 137, 198, 0.08));
}

html[data-theme="light"] .flatpickr-calendar .flatpickr-current-month,
html[data-theme="light"] .flatpickr-calendar .flatpickr-current-month input.cur-year,
html[data-theme="light"] .flatpickr-calendar .flatpickr-months .flatpickr-prev-month,
html[data-theme="light"] .flatpickr-calendar .flatpickr-months .flatpickr-next-month {
    color: #27485e !important;
    fill: #27485e !important;
}

html[data-theme="light"] .flatpickr-calendar .flatpickr-monthSelect-month {
    border-color: rgba(60, 104, 135, 0.06);
    color: #45677d;
    background: rgba(255, 255, 255, 0.72);
}

html[data-theme="light"] .flatpickr-calendar .flatpickr-monthSelect-month:not(.flatpickr-disabled):hover,
html[data-theme="light"] .flatpickr-calendar .flatpickr-monthSelect-month:not(.flatpickr-disabled):focus {
    border-color: rgba(66, 127, 175, 0.2);
    color: #173d58;
    background: #ffffff;
}

html[data-theme="light"] .flatpickr-calendar .flatpickr-monthSelect-month.flatpickr-disabled,
html[data-theme="light"] .flatpickr-calendar .flatpickr-monthSelect-month.flatpickr-disabled:hover,
html[data-theme="light"] .flatpickr-calendar .flatpickr-monthSelect-month.flatpickr-disabled:focus {
    color: rgba(75, 101, 118, 0.3) !important;
    background: rgba(220, 232, 239, 0.36) !important;
}

.cd-pdf-viewer,
.cd-pdf-stage,
.cd-pdf-frame-shell,
.cd-pdf-frame {
    background: #ffffff;
}

.cd-pdf-frame-shell,
.cd-pdf-frame {
    padding: 0 !important;
}

.cd-pdf-frame {
    margin: 0;
}

.cd-report-data-table {
    font-size: 15px;
    line-height: 1.5;
}

.cd-report-keyword-context-row span,
.cd-report-keyword-group-row td {
    font-size: 14px;
}

.cd-report-keyword-name i,
.cd-report-keyword-statuses span {
    font-size: 12px;
}

.cd-report-export-content {
    font-size: 16px;
    line-height: 1.65;
}

.cd-report-export-content table,
.cd-report-export-content table font,
.cd-report-export-content table p,
.cd-report-export-content table span,
.cd-report-export-content th,
.cd-report-export-content td {
    font-size: 16px !important;
    line-height: 1.55 !important;
}

.cd-report-export-content th {
    font-weight: 820 !important;
}

.cd-task-report-stats {
    display: grid;
    gap: 14px;
}

.cd-task-report-stat {
    position: relative;
    min-width: 0;
    border: 1px solid rgba(107, 180, 211, 0.15);
    border-radius: 19px;
}

.cd-task-report-stat::after {
    position: absolute;
    border: 1px solid rgba(98, 198, 223, 0.1);
    border-radius: 50%;
    content: "";
}

.cd-representative-icon {
    position: relative;
    z-index: 2;
    width: 48px;
    min-width: 48px;
    height: 48px;
    min-height: 48px;
    display: inline-grid;
    flex: 0 0 48px;
    place-items: center;
    box-sizing: border-box;
    padding: 0;
    border: 1px solid rgba(132, 210, 231, 0.28);
    border-radius: 16px;
    color: #effcff;
    background: linear-gradient(145deg, rgba(105, 76, 190, 0.94), rgba(43, 129, 180, 0.92) 62%, rgba(36, 151, 158, 0.9));
    box-shadow: 0 12px 26px rgba(2, 8, 28, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.22);
    font-size: 18px;
    line-height: 1;
    vertical-align: middle;
    transition: color 220ms ease, border-color 220ms ease, background 260ms ease, box-shadow 260ms ease, transform 260ms cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform;
}

.cd-representative-icon > i {
    display: block;
    margin: 0;
    color: inherit;
    font-size: 1em;
    line-height: 1;
    transition: transform 260ms cubic-bezier(0.16, 1, 0.3, 1);
}

html[data-theme="light"] .cd-representative-icon {
    border-color: rgba(255, 255, 255, 0.8);
    color: #4f3d9f;
    background: linear-gradient(145deg, #ffffff, #e5edff);
    box-shadow: 0 12px 25px rgba(45, 50, 116, 0.2), inset 0 1px 0 #ffffff;
}

html[data-theme="dark"] .cd-representative-icon {
    border-color: rgba(132, 210, 231, 0.28);
    color: #effcff;
    background: linear-gradient(145deg, rgba(105, 76, 190, 0.94), rgba(43, 129, 180, 0.92) 62%, rgba(36, 151, 158, 0.9));
    box-shadow: 0 12px 26px rgba(2, 8, 28, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.cd-representative-icon:hover,
.cd-representative-icon:focus-visible,
.cd-task-report-stat:hover .cd-representative-icon,
.cd-task-report-stat-primary:hover .cd-representative-icon,
.cd-dashboard-overview-metric:hover .cd-representative-icon,
.cd-dashboard-audit-stat-card:hover .cd-representative-icon,
.cd-dashboard-grid-layout-task .cd-dashboard-task-total:hover .cd-representative-icon,
.cd-dashboard-grid-layout-task .cd-dashboard-task-stat:hover .cd-representative-icon,
html[data-theme="light"] .cd-representative-icon:hover,
html[data-theme="light"] .cd-representative-icon:focus-visible,
html[data-theme="dark"] .cd-representative-icon:hover,
html[data-theme="dark"] .cd-representative-icon:focus-visible {
    border-color: rgba(255, 255, 255, 0.45);
    color: #ffffff;
    background:
        radial-gradient(circle at 100% 0%, rgba(192, 149, 247, 0.34), transparent 12rem),
        radial-gradient(circle at 0 100%, rgba(70, 197, 221, 0.2), transparent 11rem),
        linear-gradient(145deg, #684fb6, #3788bd 64%, #2b9eab);
    box-shadow: 0 14px 30px rgba(25, 20, 75, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.25);
    outline: none;
    transform: scale(1.045);
}

.cd-representative-icon:hover > i,
.cd-representative-icon:focus-visible > i,
.cd-task-report-stat:hover .cd-representative-icon > i,
.cd-task-report-stat-primary:hover .cd-representative-icon > i,
.cd-dashboard-overview-metric:hover .cd-representative-icon > i,
.cd-dashboard-audit-stat-card:hover .cd-representative-icon > i,
.cd-dashboard-grid-layout-task .cd-dashboard-task-total:hover .cd-representative-icon > i,
.cd-dashboard-grid-layout-task .cd-dashboard-task-stat:hover .cd-representative-icon > i {
    color: #ffffff;
    transform: scale(1.06);
}

.cd-task-report-stat > div {
    display: grid;
}

.cd-task-report-stat > div > span {
    color: #91acbd;
    font-weight: 760;
}

.cd-task-report-stat > div > strong {
    color: #f0f9fc;
    font-weight: 820;
    letter-spacing: -0.025em;
}

.cd-task-report-stat-primary > div > span {
    color: rgba(235, 242, 255, 0.74);
}

.cd-task-report-stat-primary > div > strong {
    color: #ffffff;
}

html[data-theme="light"] .cd-task-report-stat > div > span {
    color: #627e90;
}

html[data-theme="light"] .cd-task-report-stat > div > strong {
    color: #19384e;
}

html[data-theme="light"] .cd-task-report-stat-primary > div > span {
    color: rgba(245, 248, 255, 0.78);
}

html[data-theme="light"] .cd-task-report-stat-primary > div > strong {
    color: #ffffff;
}

.cd-icon-button,
.cd-account-button,
.cd-document-action-button,
.cd-nav-item,
.cd-nav-button,
.cd-report-tab,
.cd-theme-option,
.cd-auth-submit,
.cd-pdf-statusbar button {
    will-change: transform;
}

.cd-icon-button:active,
.cd-account-button:active,
.cd-document-action-button:active,
.cd-nav-item:active,
.cd-nav-button:active,
.cd-report-tab:active,
.cd-theme-option:active,
.cd-auth-submit:active,
.cd-pdf-statusbar button:active {
    transform: translateY(0) scale(0.96);
}

@keyframes cd-download-button-shine {
    from {
        transform: translateX(-115%);
    }
    to {
        transform: translateX(115%);
    }
}

@keyframes cd-heading-icon-float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-3px) rotate(-1.5deg);
    }
}

@keyframes cd-task-stat-enter {
    from {
        opacity: 0;
        transform: translateY(12px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@media (prefers-reduced-motion: no-preference) {
    .cd-page-banner-title-icon {
        animation: cd-heading-icon-float 4.8s ease-in-out infinite;
    }

    .cd-icon-button > i,
    .cd-account-button > i,
    .cd-document-action-button > i,
    .cd-nav-item > i,
    .cd-report-tab > i,
    .cd-theme-option > i,
    .cd-auth-submit > i,
    .cd-pdf-statusbar button > i {
        transition: transform 170ms ease;
    }

    .cd-icon-button:hover > i,
    .cd-account-button:hover > i,
    .cd-document-action-button:hover > i,
    .cd-nav-item:hover > i,
    .cd-report-tab:hover > i,
    .cd-theme-option:hover > i,
    .cd-auth-submit:hover > i,
    .cd-pdf-statusbar button:hover > i {
        transform: scale(1.08) rotate(-3deg);
    }

    .cd-task-report-stat {
        animation: cd-task-stat-enter 480ms cubic-bezier(0.2, 0.75, 0.25, 1) both;
    }

    .cd-task-report-stat:nth-child(2) {
        animation-delay: 70ms;
    }

    .cd-task-report-stat:nth-child(3) {
        animation-delay: 140ms;
    }

    .cd-task-report-stat:nth-child(4) {
        animation-delay: 210ms;
    }
}

@media (max-width: 1100px) {
    .cd-task-report-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 980px) {
    .cd-page-heading.cd-page-banner.cd-page-heading-has-actions.cd-page-heading-seo-report,
    .cd-page-heading.cd-page-banner.cd-page-heading-has-actions.cd-page-heading-audit,
    .cd-page-heading.cd-page-banner.cd-page-heading-has-actions.cd-page-heading-task-report {
        --cd-page-banner-actions-space: 116px;
    }
}

@media (max-width: 767px) {
    .cd-page-banner-title {
        gap: 11px;
    }

    .cd-page-banner-title-icon {
        width: 43px;
        height: 43px;
        flex-basis: 43px;
        border-radius: 14px;
        font-size: 16px;
    }

    .cd-report-banner-period {
        font-size: 12px;
    }

    .cd-report-page-actions .cd-report-download-button {
        width: 42px;
        min-width: 42px;
        height: 42px;
        flex-basis: 42px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .cd-representative-icon,
    .cd-representative-icon > i,
    .cd-page-banner-title-icon,
    .cd-task-report-stat,
    .cd-report-page-actions .cd-report-download-button.is-loading::after {
        animation: none !important;
    }
}
html[data-theme="light"] .cd-page-banner-content p {
    color: #58758a !important;
    text-shadow: none;
}

html[data-theme="light"] body.cd-auth-body::before {
    opacity: 0.78;
    background:
        radial-gradient(circle at 12% 10%, rgba(255, 255, 255, 0.98), transparent 24rem),
        radial-gradient(circle at 86% 12%, rgba(209, 229, 246, 0.68), transparent 30rem),
        radial-gradient(circle at 78% 92%, rgba(218, 244, 240, 0.52), transparent 32rem),
        linear-gradient(rgba(73, 127, 161, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(73, 127, 161, 0.035) 1px, transparent 1px);
    background-size: auto, auto, auto, 46px 46px, 46px 46px;
    filter: none;
}

.cd-pdf-viewer,
.cd-pdf-stage,
.cd-pdf-frame-shell,
.cd-pdf-pages,
.cd-pdf-page,
.cd-pdf-page-canvas {
    background: #ffffff !important;
}

.cd-pdf-stage,
.cd-pdf-frame-shell,
.cd-pdf-pages {
    padding: 0 !important;
}

.cd-pdf-stage {
    align-items: flex-start;
    overflow: auto;
    background-image: none !important;
}

.cd-pdf-frame-shell {
    width: max-content !important;
    min-width: 100%;
    min-height: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    margin: 0 !important;
    border: 0 !important;
}

.cd-pdf-pages {
    width: max-content;
    min-width: 100%;
    min-height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    margin: 0;
}

.cd-pdf-page {
    position: relative;
    flex: 0 0 auto;
    overflow: hidden;
    border: 1px solid rgba(37, 74, 99, 0.1);
    box-shadow: 0 12px 30px rgba(18, 43, 61, 0.12);
    transition: width 160ms ease, box-shadow 160ms ease;
}

.cd-pdf-page:first-child {
    margin-top: 0;
}

.cd-pdf-page:last-child {
    margin-bottom: 0;
}

.cd-pdf-page-canvas {
    width: 100%;
    height: auto;
    display: block;
    border: 0;
}

.cd-report-download-spinner,
.cd-document-button-spinner {
    display: inline-block;
    animation: cd-interface-spinner 720ms linear infinite !important;
    transform-origin: 50% 50%;
}

.cd-report-page-actions .cd-report-download-button.is-loading > .cd-report-download-spinner,
.cd-document-action-button > .cd-document-button-spinner {
    transform: rotate(0deg);
}

@keyframes cd-interface-spinner {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.flatpickr-calendar .flatpickr-current-month {
    align-items: center;
    justify-content: center;
}

html[data-theme="light"] .flatpickr-calendar .flatpickr-current-month input.cur-year {
    border-color: rgba(66, 116, 151, 0.13);
}

.flatpickr-calendar .flatpickr-months .flatpickr-prev-month,
.flatpickr-calendar .flatpickr-months .flatpickr-next-month {
    top: 7px;
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(121, 151, 222, 0.14);
    border-radius: 11px;
    transition: transform 150ms ease, background 150ms ease, border-color 150ms ease;
}

.flatpickr-calendar .flatpickr-months .flatpickr-prev-month:hover,
.flatpickr-calendar .flatpickr-months .flatpickr-next-month:hover {
    border-color: rgba(119, 112, 228, 0.35);
    background: rgba(109, 91, 214, 0.12);
    transform: translateY(-1px);
}

.cd-task-report-stats {
    position: relative;
    z-index: 3;
    margin: 4px 0 22px;
    filter: drop-shadow(0 18px 28px rgba(0, 8, 20, 0.13));
}

.cd-task-report-stat {
    border-color: rgba(114, 176, 214, 0.18);
    background:
        radial-gradient(circle at 106% -12%, rgba(91, 104, 229, 0.2), transparent 10rem),
        radial-gradient(circle at -8% 114%, rgba(43, 185, 188, 0.12), transparent 10rem),
        linear-gradient(145deg, rgba(12, 34, 50, 0.98), rgba(6, 22, 35, 0.98));
    box-shadow: 0 18px 42px rgba(0, 8, 20, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.055);
}

.cd-task-report-stat::before {
    top: -36px;
    right: -30px;
}

.cd-task-report-stat::after {
    right: -22px;
    bottom: -34px;
    width: 104px;
    height: 104px;
    border-color: rgba(88, 198, 220, 0.13);
    box-shadow: 0 0 0 18px rgba(88, 198, 220, 0.025), 0 0 0 36px rgba(110, 94, 220, 0.018);
}

.cd-task-report-stat-decoration {
    position: absolute;
    z-index: -1;
    display: block;
    pointer-events: none;
}

.cd-task-report-stat-decoration-one {
    top: 14px;
    right: 18px;
    width: 54px;
    height: 1px;
    background: linear-gradient(90deg, rgba(167, 137, 240, 0.68), transparent);
    box-shadow: 0 0 14px rgba(125, 112, 235, 0.25);
}

.cd-task-report-stat-decoration-two {
    top: 24px;
    right: 22px;
    width: 7px;
    height: 7px;
    border: 1px solid rgba(116, 210, 229, 0.48);
    border-radius: 50%;
    box-shadow: 0 0 0 5px rgba(116, 210, 229, 0.045), 0 0 16px rgba(116, 210, 229, 0.18);
}

html[data-theme="light"] .cd-task-report-stat {
    border-color: rgba(65, 105, 137, 0.14);
    background:
        radial-gradient(circle at 106% -12%, rgba(112, 91, 213, 0.12), transparent 10rem),
        radial-gradient(circle at -8% 114%, rgba(45, 178, 180, 0.1), transparent 10rem),
        linear-gradient(145deg, rgba(255, 255, 255, 0.99), rgba(237, 246, 251, 0.98));
    box-shadow: 0 18px 38px rgba(41, 72, 97, 0.12), inset 0 1px 0 #ffffff;
}

.cd-main table,
.cd-main table th,
.cd-main table td,
.cd-main table p,
.cd-main table span,
.cd-main table strong,
.cd-main table a,
.cd-main table small,
.cd-main table div,
.cd-main table li {
    line-height: 1.5;
}

.cd-main table i {
    font-size: 1em;
}

.cd-main table th {
    letter-spacing: 0.025em;
}

.cd-card:not(.cd-dashboard-base),
.cd-form-section,
.cd-report-workspace,
.cd-document-list-card,
.cd-placeholder-card,
.cd-password-card {
    border: 1px solid transparent;
    background:
        radial-gradient(circle at 96% -10%, rgba(92, 84, 211, 0.085), transparent 21rem) padding-box,
        radial-gradient(circle at -5% 110%, rgba(44, 180, 184, 0.055), transparent 18rem) padding-box,
        linear-gradient(145deg, rgba(9, 27, 42, 0.97), rgba(5, 20, 33, 0.96)) padding-box,
        linear-gradient(126deg, rgba(120, 103, 226, 0.22), rgba(72, 151, 205, 0.18), rgba(45, 189, 187, 0.1)) border-box;
    box-shadow: 0 22px 52px rgba(0, 8, 19, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.045);
}

html[data-theme="light"] .cd-card:not(.cd-dashboard-base),
html[data-theme="light"] .cd-form-section,
html[data-theme="light"] .cd-report-workspace,
html[data-theme="light"] .cd-document-list-card,
html[data-theme="light"] .cd-placeholder-card,
html[data-theme="light"] .cd-password-card {
    background:
        radial-gradient(circle at 96% -10%, rgba(107, 82, 201, 0.085), transparent 21rem) padding-box,
        radial-gradient(circle at -5% 110%, rgba(44, 180, 184, 0.06), transparent 18rem) padding-box,
        linear-gradient(145deg, rgba(255, 255, 255, 0.99), rgba(239, 247, 251, 0.98)) padding-box,
        linear-gradient(126deg, rgba(115, 93, 210, 0.2), rgba(63, 137, 187, 0.2), rgba(45, 175, 178, 0.1)) border-box;
    box-shadow: 0 22px 48px rgba(42, 75, 100, 0.11), inset 0 1px 0 #ffffff;
}

.cd-section-heading,
.cd-report-section-heading {
    position: relative;
    min-height: 54px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(100, 163, 196, 0.12);
}

.cd-section-heading::after,
.cd-report-section-heading::after {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: min(150px, 36%);
    content: "";
}

.cd-section-heading > i,
.cd-section-heading-icon,
.cd-report-section-icon {
    border: 1px solid rgba(137, 124, 231, 0.22);
    color: #9e91ec;
    background: linear-gradient(145deg, rgba(116, 90, 204, 0.18), rgba(44, 136, 191, 0.12));
    box-shadow: 0 10px 24px rgba(0, 7, 18, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

html[data-theme="light"] .cd-section-heading > i,
html[data-theme="light"] .cd-section-heading-icon,
html[data-theme="light"] .cd-report-section-icon {
    border-color: rgba(100, 78, 190, 0.16);
    color: #684fc1;
    background: linear-gradient(145deg, rgba(237, 229, 255, 0.94), rgba(222, 242, 250, 0.92));
    box-shadow: 0 10px 22px rgba(51, 79, 108, 0.1), inset 0 1px 0 #ffffff;
}

.cd-report-section,
.cd-report-table-wrap,
.cd-document-table-wrap {
    border-color: rgba(94, 153, 188, 0.14);
    background: rgba(4, 18, 30, 0.62);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.025);
}

html[data-theme="light"] .cd-report-section,
html[data-theme="light"] .cd-report-table-wrap,
html[data-theme="light"] .cd-document-table-wrap {
    border-color: rgba(56, 99, 129, 0.12);
    background: rgba(255, 255, 255, 0.82);
    box-shadow: inset 0 1px 0 #ffffff;
}

.cd-report-data-table thead th,
.cd-document-table thead th,
.cd-report-export-content table thead th {
    background:
        linear-gradient(90deg, rgba(101, 78, 194, 0.15), rgba(43, 132, 187, 0.1)),
        rgba(9, 29, 44, 0.94);
}

html[data-theme="light"] .cd-report-data-table thead th,
html[data-theme="light"] .cd-document-table thead th,
html[data-theme="light"] .cd-report-export-content table thead th {
    color: #294b63 !important;
    background:
        linear-gradient(90deg, rgba(111, 83, 201, 0.08), rgba(44, 137, 190, 0.065)),
        #eef6fa;
}

.cd-report-data-table tbody tr,
.cd-document-table tbody tr,
.cd-report-export-content table tbody tr {
    transition: background 150ms ease, transform 150ms ease, box-shadow 150ms ease;
}

.cd-report-data-table tbody tr:hover,
.cd-document-table tbody tr:hover,
.cd-report-export-content table tbody tr:hover {
    background: rgba(77, 141, 193, 0.07);
}

html[data-theme="light"] .cd-report-data-table tbody tr:hover,
html[data-theme="light"] .cd-document-table tbody tr:hover,
html[data-theme="light"] .cd-report-export-content table tbody tr:hover {
    background: rgba(69, 137, 183, 0.065);
}

.cd-report-toolbar {
    border: 1px solid rgba(115, 150, 212, 0.13);
    border-radius: 18px;
    background:
        radial-gradient(circle at 100% 0%, rgba(110, 81, 205, 0.12), transparent 14rem),
        linear-gradient(110deg, rgba(11, 34, 50, 0.92), rgba(7, 24, 38, 0.9));
    box-shadow: 0 15px 32px rgba(0, 8, 18, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

html[data-theme="light"] .cd-report-toolbar {
    border-color: rgba(61, 101, 131, 0.11);
    background:
        radial-gradient(circle at 100% 0%, rgba(111, 81, 203, 0.08), transparent 14rem),
        linear-gradient(110deg, rgba(255, 255, 255, 0.98), rgba(235, 245, 250, 0.96));
    box-shadow: 0 15px 30px rgba(45, 77, 101, 0.09), inset 0 1px 0 #ffffff;
}

.cd-alert,
.cd-button,
.cd-icon-button,
.cd-account-button,
.cd-document-action-button,
.cd-report-tab,
.cd-nav-item,
.cd-field input,
.cd-field select {
    transition: transform 160ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease, color 180ms ease;
}

.cd-button:hover,
.cd-icon-button:hover,
.cd-account-button:hover,
.cd-document-action-button:hover {
    transform: translateY(-2px);
}

.cd-field input:not([readonly]):hover,
.cd-field select:not(:disabled):hover {
    box-shadow: 0 10px 22px rgba(0, 8, 20, 0.1);
}

html[data-theme="light"] .cd-field input:not([readonly]):hover,
html[data-theme="light"] .cd-field select:not(:disabled):hover {
    box-shadow: 0 10px 22px rgba(54, 87, 111, 0.09);
}

@media (prefers-reduced-motion: no-preference) {
    .cd-card:not(.cd-dashboard-base),
    .cd-report-section,
    .cd-document-list-card,
    .cd-form-section {
        animation: cd-interface-panel-enter 420ms cubic-bezier(0.2, 0.75, 0.25, 1) both;
    }

    .cd-report-section:nth-child(2),
    .cd-form-section:nth-child(2) {
        animation-delay: 60ms;
    }

    .cd-report-section:nth-child(3),
    .cd-form-section:nth-child(3) {
        animation-delay: 110ms;
    }
}

@keyframes cd-interface-panel-enter {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 767px) {
    .cd-pdf-pages {
        gap: 10px;
    }

    .cd-task-report-stats {
        margin-bottom: 16px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .cd-report-download-spinner,
    .cd-document-button-spinner,
    .cd-card:not(.cd-dashboard-base),
    .cd-report-section,
    .cd-document-list-card,
    .cd-form-section {
        animation: none !important;
    }
}

.cd-pdf-loading,
html[data-theme="light"] .cd-pdf-loading {
    background: rgba(255, 255, 255, 0.98);
    color: #31536a;
}

.cd-pdf-loading.is-error,
html[data-theme="light"] .cd-pdf-loading.is-error {
    color: #a92d48;
}
.cd-document-table {
    border-collapse: separate;
    border-spacing: 0;
}

.cd-document-table thead th {
    height: 48px;
    padding-top: 12px !important;
    padding-bottom: 12px !important;
    line-height: 1.25 !important;
    vertical-align: middle !important;
}

.cd-document-table thead th:first-child {
    border-top-left-radius: 6px;
    border-bottom-left-radius: 0;
}

.cd-document-table thead th:last-child {
    border-top-right-radius: 6px;
    border-bottom-right-radius: 0;
}

.cd-pdf-pages {
    box-sizing: border-box;
    padding: 28px 0 !important;
}

.flatpickr-calendar .flatpickr-current-month {
    left: 12.5%;
    width: 75%;
    height: 34px;
    display: block;
    padding-top: 7px;
    color: inherit;
    font-size: 135%;
    font-weight: 300;
    line-height: inherit;
    text-align: center;
}

.flatpickr-calendar .flatpickr-current-month .numInputWrapper {
    width: 7ch;
    margin-left: 0.5ch;
}

.flatpickr-calendar .flatpickr-current-month input.cur-year,
html[data-theme="light"] .flatpickr-calendar .flatpickr-current-month input.cur-year {
    width: 100%;
    min-height: 0;
    height: auto;
    padding: 0 0 0 0.5ch;
    border: 0;
    border-radius: 0;
    color: inherit;
    background: transparent;
    box-shadow: none;
    font: inherit;
    font-weight: 300;
    line-height: inherit;
    cursor: text;
}

.flatpickr-calendar .flatpickr-current-month input.cur-year:focus,
html[data-theme="light"] .flatpickr-calendar .flatpickr-current-month input.cur-year:focus {
    outline: 0;
    background: transparent;
    box-shadow: none;
}

.flatpickr-calendar .flatpickr-current-month .numInputWrapper span.arrowUp,
.flatpickr-calendar .flatpickr-current-month .numInputWrapper span.arrowDown {
    right: -2px;
    width: 16px;
    border: 0;
}

.cd-report-page > .cd-task-report-stats {
    z-index: 4;
    margin: 0 8px 22px;
    filter: drop-shadow(0 20px 34px rgba(0, 8, 20, 0.16));
}

.cd-task-report-stat-primary::before {
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 0 0 16px rgba(255, 255, 255, 0.035);
}

.cd-task-report-stat-primary::after {
    border-color: rgba(255, 255, 255, 0.34);
    box-shadow: 0 0 0 18px rgba(255, 255, 255, 0.045), 0 0 0 36px rgba(255, 255, 255, 0.025);
}

.cd-task-report-stat-primary .cd-task-report-stat-decoration-one {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0));
    box-shadow: 0 0 16px rgba(255, 255, 255, 0.34);
}

.cd-task-report-stat-primary .cd-task-report-stat-decoration-two {
    border-color: rgba(255, 255, 255, 0.82);
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.08), 0 0 18px rgba(255, 255, 255, 0.42);
}

.cd-report-workspace-audit {
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.cd-report-workspace-audit::before {
    display: none;
}

.cd-report-workspace-audit .cd-report-toolbar,
.cd-report-workspace-audit .cd-report-tabs,
.cd-report-workspace-audit .cd-report-empty-state {
    position: relative;
    z-index: 2;
}

.cd-report-workspace-audit .cd-report-empty-state {
    margin-top: 18px;
    border: 1px solid rgba(110, 164, 198, 0.14);
    border-radius: 22px;
    background: linear-gradient(145deg, rgba(9, 28, 43, 0.98), rgba(5, 20, 33, 0.97));
    box-shadow: 0 22px 50px rgba(0, 8, 19, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.045);
}

html[data-theme="light"] .cd-report-workspace-audit .cd-report-empty-state {
    border-color: rgba(57, 102, 133, 0.12);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.99), rgba(239, 247, 251, 0.98));
    box-shadow: 0 22px 46px rgba(43, 76, 101, 0.11), inset 0 1px 0 #ffffff;
}

.cd-audit-report-workspace-content {
    padding: 22px 0 0;
}

.cd-audit-report-container,
.cd-report-audit-content {
    overflow: visible;
    padding: 0;
    background: transparent;
}

.cd-audit-report-grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 18px;
    align-items: start;
}

.cd-audit-report-card {
    --cd-audit-accent: 104, 142, 213;
    position: relative;
    isolation: isolate;
    grid-column: span 6;
    min-width: 0;
    overflow: hidden;
    padding: 24px;
    border: 1px solid rgba(var(--cd-audit-accent), 0.22);
    border-radius: 22px;
    color: #dbe9f0;
    background:
        radial-gradient(circle at 104% -8%, rgba(var(--cd-audit-accent), 0.18), transparent 15rem),
        radial-gradient(circle at -8% 112%, rgba(49, 184, 186, 0.08), transparent 13rem),
        linear-gradient(145deg, rgba(10, 30, 45, 0.985), rgba(5, 20, 33, 0.98));
    box-shadow: 0 20px 46px rgba(0, 8, 19, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.045);
    transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.cd-audit-report-card::before {
    position: absolute;
    z-index: -1;
    top: 0;
    left: 22px;
    width: min(180px, 42%);
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(var(--cd-audit-accent), 0.95), rgba(var(--cd-audit-accent), 0));
    box-shadow: 0 0 18px rgba(var(--cd-audit-accent), 0.3);
    content: "";
}

.cd-audit-report-card:hover {
    border-color: rgba(var(--cd-audit-accent), 0.38);
    box-shadow: 0 26px 54px rgba(0, 8, 19, 0.27), inset 0 1px 0 rgba(255, 255, 255, 0.07);
    transform: translateY(-4px);
}

.cd-audit-report-card.is-wide {
    grid-column: span 12;
}

.cd-audit-report-card.is-half {
    grid-column: span 6;
}

.cd-audit-report-card.is-hero {
    min-height: 150px;
    padding: 30px 32px;
    border-color: rgba(151, 126, 235, 0.32);
    background:
        radial-gradient(circle at 88% -15%, rgba(173, 119, 239, 0.28), transparent 20rem),
        radial-gradient(circle at 8% 130%, rgba(49, 174, 208, 0.18), transparent 20rem),
        linear-gradient(135deg, rgba(49, 37, 105, 0.98), rgba(22, 69, 104, 0.98) 62%, rgba(16, 101, 118, 0.97));
}

.cd-audit-report-card.is-primary {
    --cd-audit-accent: 131, 105, 225;
}

.cd-audit-report-card.is-danger {
    --cd-audit-accent: 230, 90, 119;
}

.cd-audit-report-card.is-warning {
    --cd-audit-accent: 230, 170, 75;
}

.cd-audit-report-card.is-success {
    --cd-audit-accent: 72, 196, 145;
}

.cd-audit-report-card.is-info {
    --cd-audit-accent: 67, 170, 213;
}

.cd-audit-report-card-decoration {
    position: absolute;
    z-index: 0;
    top: -42px;
    right: -34px;
    width: 138px;
    height: 138px;
    border: 1px solid rgba(var(--cd-audit-accent), 0.2);
    border-radius: 42% 58% 54% 46%;
    box-shadow: 0 0 0 22px rgba(var(--cd-audit-accent), 0.025), 0 0 0 44px rgba(var(--cd-audit-accent), 0.014);
    content: "";
    transform: rotate(24deg);
}

.cd-audit-report-card-icon {
    width: 42px;
    height: 42px;
    display: inline-grid;
    place-items: center;
    float: right;
    margin: -3px 0 12px 18px;
    border: 1px solid rgba(var(--cd-audit-accent), 0.3);
    border-radius: 14px;
    color: rgb(var(--cd-audit-accent));
    background: rgba(var(--cd-audit-accent), 0.12);
    box-shadow: 0 12px 24px rgba(0, 7, 18, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.07);
    font-size: 15px;
}

.cd-audit-report-card-title {
    margin: 0 0 14px !important;
    padding: 0 0 12px;
    border-bottom: 1px solid rgba(var(--cd-audit-accent), 0.16);
    color: #f1f8fb !important;
    font-size: clamp(17px, 1.2vw, 20px) !important;
    line-height: 1.35;
}

.cd-audit-report-card-title strong,
.cd-audit-report-card-title span,
.cd-audit-report-card-title font {
    color: inherit !important;
    font-size: inherit !important;
}

.cd-audit-report-card p,
.cd-audit-report-card li,
.cd-audit-report-card div,
.cd-audit-report-card span:not(.cd-audit-report-card-icon):not(.cd-audit-report-card-decoration),
.cd-audit-report-card font {
    line-height: 1.65;
}

.cd-audit-report-card > p:not(.cd-audit-report-card-title) {
    margin: 0 0 12px;
}

.cd-audit-report-card ul,
.cd-audit-report-card ol {
    margin: 12px 0 0;
    padding-left: 22px;
}

.cd-audit-report-card li + li {
    margin-top: 8px;
}

.cd-audit-report-card table {
    margin: 16px 0 0 !important;
    border-radius: 12px;
    overflow: hidden;
}

.cd-audit-report-card img {
    display: block;
    margin: 16px auto 0;
    border-radius: 16px;
    box-shadow: 0 18px 38px rgba(0, 8, 18, 0.2);
}

html[data-theme="light"] .cd-audit-report-card {
    color: #38576b;
    border-color: rgba(var(--cd-audit-accent), 0.2);
    background:
        radial-gradient(circle at 104% -8%, rgba(var(--cd-audit-accent), 0.12), transparent 15rem),
        radial-gradient(circle at -8% 112%, rgba(49, 184, 186, 0.07), transparent 13rem),
        linear-gradient(145deg, rgba(255, 255, 255, 0.995), rgba(238, 247, 251, 0.985));
    box-shadow: 0 20px 42px rgba(41, 74, 99, 0.12), inset 0 1px 0 #ffffff;
}

html[data-theme="light"] .cd-audit-report-card:hover {
    box-shadow: 0 26px 50px rgba(41, 74, 99, 0.16), inset 0 1px 0 #ffffff;
}

html[data-theme="light"] .cd-audit-report-card.is-hero {
    color: #ffffff;
    border-color: rgba(103, 78, 196, 0.26);
    background:
        radial-gradient(circle at 90% -10%, rgba(201, 166, 255, 0.38), transparent 20rem),
        radial-gradient(circle at 5% 130%, rgba(105, 211, 224, 0.23), transparent 20rem),
        linear-gradient(135deg, #7152b8, #3f87bd 64%, #3299aa);
    box-shadow: 0 24px 48px rgba(58, 67, 137, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

html[data-theme="light"] .cd-audit-report-card-title {
    color: #294c63 !important;
}

html[data-theme="light"] .cd-audit-report-card.is-hero .cd-audit-report-card-title,
html[data-theme="light"] .cd-audit-report-card.is-hero p,
html[data-theme="light"] .cd-audit-report-card.is-hero span,
html[data-theme="light"] .cd-audit-report-card.is-hero strong,
html[data-theme="light"] .cd-audit-report-card.is-hero font {
    color: #ffffff !important;
}

html[data-theme="light"] .cd-audit-report-card-icon {
    background: rgba(255, 255, 255, 0.72);
    box-shadow: 0 12px 24px rgba(46, 70, 105, 0.12), inset 0 1px 0 #ffffff;
}

html[data-theme="light"] .cd-audit-report-card.is-hero .cd-audit-report-card-icon {
    border-color: rgba(255, 255, 255, 0.48);
    color: #ffffff;
    background: rgba(255, 255, 255, 0.14);
    box-shadow: 0 12px 24px rgba(35, 30, 93, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

@media (prefers-reduced-motion: no-preference) {
    .cd-audit-report-card {
        animation: cd-audit-card-enter 480ms cubic-bezier(0.2, 0.75, 0.25, 1) both;
        animation-delay: calc(var(--cd-audit-card-index, 0) * 38ms);
    }
}

@keyframes cd-audit-card-enter {
    from {
        opacity: 0;
        transform: translateY(14px) scale(0.99);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@media (max-width: 980px) {
    .cd-audit-report-card,
    .cd-audit-report-card.is-half,
    .cd-audit-report-card.is-wide {
        grid-column: span 12;
    }
}

@media (max-width: 767px) {
    .cd-pdf-pages {
        padding-top: 16px !important;
        padding-bottom: 16px !important;
    }

    .cd-report-page > .cd-task-report-stats {
        width: 100%;
        margin-right: 0;
        margin-left: 0;
    }

    .cd-audit-report-workspace-content {
        padding-top: 16px;
    }

    .cd-audit-report-grid {
        gap: 14px;
    }

    .cd-audit-report-card,
    .cd-audit-report-card.is-hero {
        padding: 20px;
        border-radius: 18px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .cd-audit-report-card {
        animation: none !important;
    }
}
.audit-report-top-card {
    position: relative;
    display: flex;
    gap: 20px;
    align-items: center;
    overflow: hidden;
    border: 1px solid #d9f99d;
    border-radius: 12px;
    background: linear-gradient(135deg, #f7fee7 0%, #ffffff 58%, #f0f9ff 100%);
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.06);
    padding: 20px;
    margin-bottom: 15px;
}

.audit-report-top-card::after {
    position: absolute;
    top: -95px;
    right: -80px;
    width: 210px;
    height: 210px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(56, 189, 248, .13) 0%, rgba(56, 189, 248, 0) 70%);
    content: '';
    pointer-events: none;
}

.audit-report-score-circle {
    position: relative;
    z-index: 1;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: conic-gradient(#f59e0b 0 65%, #e5e7eb 65% 100%);
}

.audit-report-score-circle-success {
    background: conic-gradient(#22c55e 0 85%, #e5e7eb 85% 100%);
}

.audit-report-score-circle-warning {
    background: conic-gradient(#f59e0b 0 65%, #e5e7eb 65% 100%);
}

.audit-report-score-circle-danger {
    background: conic-gradient(#ef4444 0 40%, #e5e7eb 40% 100%);
}

.audit-report-score-circle > div {
    width: 122px;
    height: 122px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .96);
    box-shadow: inset 0 0 0 1px rgba(226, 232, 240, .9), 0 7px 18px rgba(15, 23, 42, .08);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.audit-report-score-circle strong {
    font-size: 44px;
    line-height: 1;
}

.audit-report-score-circle span {
    font-size: 16px;
    color: #4f4f4f;
}

.audit-report-top-content {
    position: relative;
    z-index: 1;
    flex: 1;
}

.audit-report-top-kicker {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #4d7c0f;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.audit-report-top-title {
    display: flex;
    gap: 8px;
    align-items: baseline;
    margin: 6px 0 7px;
}

.audit-report-top-title span {
    color: #4f4f4f;
    font-size: 13px;
}

.audit-report-top-title strong {
    color: #1e293b;
    font-size: 22px;
}

.audit-report-top-content p {
    margin: 0 0 10px;
    color: #475569;
    line-height: 1.55;
}

.audit-report-top-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    flex-direction: column;
    align-items: flex-start;
}

.audit-report-top-meta span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    padding: 4px 9px;
    font-size: 12px;
    color: #4b5563;
    background: rgba(255, 255, 255, .82);
}

.audit-report-screenshot-preview {
    overflow: hidden;
    border: 1px solid #dbeafe;
    border-radius: 12px;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 54%, #f0f9ff 100%);
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.06);
}

.audit-report-screenshot-preview .audit-report-block-title {
    padding: 14px 16px;
    border-bottom: 1px solid rgba(203, 213, 225, .8);
    background: rgba(255, 255, 255, .58);
}

.audit-report-section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 2px;
    color: #0369a1;
    font-size: 12px;
    font-style: normal;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.audit-report-card-heading-copy,
.audit-report-screenshot-title-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    min-width: 0;
}

.audit-report-card-heading-copy > strong,
.audit-report-card-heading-copy > h4 {
    color: #1e293b;
}

.audit-report-section-kicker-danger {
    color: #b91c1c;
}

.audit-report-section-kicker-warning {
    color: #b45309;
}

.audit-report-section-kicker-success {
    color: #047857;
}

.audit-report-section-kicker-info {
    color: #0369a1;
}

.audit-report-screenshot-preview .audit-report-block-title strong {
    color: #1e293b;
    font-size: 14px;
}

.audit-report-screenshot-preview .audit-report-block-title small {
    color: #64748b;
    font-size: 12px;
}

.audit-report-screenshot-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(180px, 260px);
    align-items: start;
    gap: 12px;
    padding: 14px;
}

.audit-report-screenshot-card {
    height: 100%;
    padding: 12px;
    border: 1px solid rgba(226, 232, 240, .95);
    border-radius: 10px;
    background: rgba(255, 255, 255, .86);
    text-align: center;
}

.audit-report-screenshot-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 74px;
    margin-bottom: 8px;
    padding: 4px 10px;
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    background: #ffffff;
    color: #475569;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.audit-report-screenshot-card img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    background: #fff;
}

.audit-report-screenshot-mobile img {
    max-height: 400px;
}

.audit-report-screenshot-desktop img {
    height: 400px;
    width:auto;
}

.audit-report-priority-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.audit-report-priority-card,
.audit-report-recommendations-overview,
.audit-report-category-score-overview {
    position: relative;
    height: 100%;
    overflow: hidden;
    border: 1px solid #dbeafe;
    border-radius: 12px;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 58%, #f0f9ff 100%);
    box-shadow: 0 8px 22px rgba(15, 23, 42, .06);
}

.audit-report-priority-card::after,
.audit-report-recommendations-overview::after,
.audit-report-category-score-overview::after {
    position: absolute;
    top: -80px;
    right: -65px;
    width: 170px;
    height: 170px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(56, 189, 248, .11) 0%, rgba(56, 189, 248, 0) 70%);
    content: '';
    pointer-events: none;
}

.audit-report-priority-critical {
    border-color: #fecaca;
    background: linear-gradient(135deg, #fff7f7 0%, #ffffff 58%, #fff1f2 100%);
}

.audit-report-priority-important {
    border-color: #fde68a;
    background: linear-gradient(135deg, #fffbeb 0%, #ffffff 58%, #fff7ed 100%);
}

.audit-report-priority-optional,
.audit-report-recommendations-overview {
    border-color: #bbf7d0;
    background: linear-gradient(135deg, #f0fdf4 0%, #ffffff 58%, #ecfeff 100%);
}

.audit-report-priority-card-header,
.audit-report-block-title {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    padding: 14px 16px;
    border-bottom: 1px solid rgba(203, 213, 225, .8);
    background: rgba(255, 255, 255, .58);
    font-size: 13px;
}

.audit-report-priority-card-header span,
.audit-report-block-title span {
    min-width: 26px;
    height: 24px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 8px;
    background: #f3f4f6;
    font-weight: 700;
    font-size: 12px;
}

.audit-report-priority-card-header-actions,
.audit-report-block-title-actions {
    flex-shrink: 0;
}

.audit-report-recommendations-export-btn {
    width: 28px;
    height: 24px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    line-height: 1;
}

.audit-report-recommendations-export-btn.disabled,
.audit-report-recommendations-export-btn:disabled {
    pointer-events: none;
    opacity: .65;
}

.audit-report-priority-critical .audit-report-priority-card-header {
    color: #991b1b;
}

.audit-report-priority-important .audit-report-priority-card-header {
    color: #92400e;
}

.audit-report-priority-optional .audit-report-priority-card-header {
    color: #047857;
}

.audit-report-priority-list {
    position: relative;
    z-index: 1;
    max-height: 270px;
    margin: 0;
    overflow: auto;
    padding: 12px 14px 12px 32px;
}

.audit-report-priority-list li {
    margin-bottom: 8px;
    padding: 9px 10px;
    border: 1px solid rgba(226, 232, 240, .95);
    border-radius: 9px;
    background: rgba(255, 255, 255, .78);
    font-size: 12px;
}

.audit-report-priority-list li:last-child {
    margin-bottom: 0;
}

.audit-report-priority-list strong,
.audit-report-recommendation-overview-item strong {
    display: block;
    color: #111827;
    line-height: 1.35;
}

.audit-report-priority-list div,
.audit-report-recommendation-overview-item div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: 3px;
    color: #4f4f4f;
}

.audit-report-priority-list .audit-report-estimated-time-long,
.audit-report-recommendation-overview-item .audit-report-estimated-time-long {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 3px;
}

.audit-report-priority-list .audit-report-estimated-time-long em,
.audit-report-recommendation-overview-item .audit-report-estimated-time-long em {
    margin-left: 0;
}

.audit-report-priority-list em,
.audit-report-recommendation-overview-item em {
    color: #4f4f4f;
    font-style: normal;
    font-weight: 700;
}

.audit-report-priority-empty {
    position: relative;
    z-index: 1;
    margin: 12px 14px;
    padding: 12px;
    border: 1px dashed rgba(148, 163, 184, .55);
    border-radius: 9px;
    background: rgba(255, 255, 255, .7);
    color: #64748b;
    font-size: 12px;
}

.audit-report-recommendation-list-overview {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    max-height: 325px;
    overflow: auto;
    padding: 12px 14px;
}

.audit-report-recommendation-overview-item {
    padding: 10px;
    border: 1px solid rgba(187, 247, 208, .95);
    border-radius: 9px;
    background: rgba(255, 255, 255, .78);
    font-size: 12px;
}

.audit-report-category-score-overview .table-responsive {
    position: relative;
    z-index: 1;
}

.audit-report-category-score-table {
    background: rgba(255, 255, 255, .78);
}

.audit-report-category-score-table th,
.audit-report-category-score-table td {
    padding: .55rem .65rem;
    border-color: #e2e8f0 !important;
    vertical-align: middle;
}

.audit-report-category-score-table th {
    background: rgba(248, 250, 252, .92);
    color: #64748b;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.audit-report-category-score-table tbody tr:hover {
    background: rgba(240, 249, 255, .65);
}

.audit-report-category-score-table td:first-child {
    font-weight: 600;
}

.audit-report-category-dot {
    width: 8px;
    height: 8px;
    display: inline-block;
    border-radius: 50%;
    margin-right: 7px;
}

.audit-report-category-table-score {
    min-width: auto;
    font-size: 15px;
}

.audit-report-card-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-top: 5px;
}

.audit-report-card-badges .badge {
    font-size: 12px;
    font-weight: 600;
}

.audit-report-clean-section {
    display: flex;
    align-items: center;
    gap: 7px;
    border: 1px solid #bbf7d0;
    border-radius: 8px;
    background: #f0fdf4;
    color: #047857;
    padding: 10px;
    font-size: 12px;
    font-weight: 600;
}

.audit-report-main-col{
    display: flex;
    flex-wrap: wrap;
}

.audit-report-summary {
    flex-wrap: wrap;
    flex: 1;
}

.audit-report-summary-card {
    position: relative;
    overflow: hidden;
}

.audit-report-summary-card::before {
    position: absolute;
    top: 0;
    content: '';
}

.audit-report-summary-card strong {
    display: block;
    line-height: 1;
}

.audit-report-summary-card span {
    display: block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.audit-report-executive-summary {
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    background: #fff;
    padding: 15px;
    margin-bottom: 15px;
}

.audit-report-category-tabs .btn {
    white-space: nowrap;
}

.audit-report-section-heading {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 18px 0 10px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.audit-report-ai-scope-note {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: -2px 0 10px;
    padding: 9px 11px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #f8fafc;
    color: #64748b;
    font-size: 12px;
    line-height: 1.5;
}

.audit-report-ai-scope-note i {
    margin-top: 2px;
    color: #0ea5e9;
}


.audit-report-section-heading:after {
    content: '';
    flex: 1;
    height: 1px;
    background: #e5e7eb;
}

.audit-report-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.audit-report-card {
    border-left-width: 4px;
    border-radius: 6px;
    background: #fff;
    overflow: hidden;
    box-shadow: 0 10px 15px -3px rgba(0,0,0,.07),0 4px 6px -2px rgba(0,0,0,.05);
}

.audit-report-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
    border-bottom: 1px solid #e5e7eb;
}

.audit-report-card-accordion-toggle {
    cursor: pointer;
    user-select: none;
}

.audit-report-card-accordion-toggle:focus {
    outline: none;
}

.audit-report-card.is-collapsed .audit-report-card-header {
    border-bottom-color: transparent;
}

.audit-report-card.is-collapsed .audit-report-card-body {
    display: none;
}

.audit-report-card-toggle-icon {
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #4f4f4f;
    font-size: 12px;
    transition: transform .2s ease;
}

.audit-report-card.is-open .audit-report-card-toggle-icon {
    transform: rotate(180deg);
}

.audit-report-card-title {
    flex: 1;
    min-width: 0;
}

.audit-report-card-title strong {
    display: block;
    font-size: 15px;
}

.audit-report-card-title small {
    display: block;
    color: #4f4f4f;
    margin-top: 2px;
}

.audit-report-score {
    min-width: 44px;
    text-align: center;
    font-weight: 700;
    font-size: 20px;
    margin-right: 6px;
}

.audit-report-score-success { color: #22c55e; }
.audit-report-score-warning { color: #f59e0b; }
.audit-report-score-danger { color: #ef4444; }
.audit-report-score-info { color: #0ea5e9; }
.audit-report-score-bar {
    height: 6px;
    border-radius: 20px;
    background: #e5e7eb;
    margin-top: 7px;
    overflow: hidden;
}

.audit-report-score-bar span {
    display: block;
    height: 100%;
    border-radius: 20px;
}

.audit-report-score-bar-success { background: #22c55e; }
.audit-report-score-bar-warning { background: #f59e0b; }
.audit-report-score-bar-danger { background: #ef4444; }
.audit-report-score-bar-info { background: #0ea5e9; }
.audit-report-card-body {
    padding: 14px;
}

.audit-working-label {
    color: #dc3545;
    font-weight: 700;
    font-size: 16px;
    margin-bottom: 8px;
}

.audit-report-description {
    font-size: 13px;
    margin-bottom: 12px;
}

.audit-report-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 6px 14px;
    margin-bottom: 12px;
}

.audit-report-detail {
    font-size: 12px;
}

.audit-report-detail span {
    color: #4f4f4f;
}

.audit-report-detail strong {
    font-weight: 600;
}

.audit-report-subtitle {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    margin: 12px 0 6px;
}

.audit-report-problem,
.audit-report-recommendation {
    border-radius: 8px;
    padding: 10px;
    margin-bottom: 7px;
    font-size: 12px;
}

.audit-report-problem {
    background: #fff5f5;
    border: 1px solid #ffd1d1;
    word-break: break-all;
}

.audit-report-recommendation {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    word-break: break-all;
}

.audit-report-badge {
    display: inline-block;
    border-radius: 20px;
    padding: 2px 7px;
    font-size: 12px;
    font-weight: 700;
    margin-right: 5px;
}

.audit-report-badge-critical { background: #dc3545; color: #fff; }
.audit-report-badge-important { background: #f59e0b; color: #111827; }
.audit-report-badge-optional { background: #e5e7eb; color: #374151; }

.audit-report-empty {
    text-align: center;
    color: #4f4f4f;
}

.audit-report-filter-button {
    cursor: pointer;
}

.audit-report-filter-button .badge {
    background-color: #fff;
    color: #000;
    border-radius: 6px;
    padding: 2px 8px;
}

.audit-rich-block {
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    background: #f9fafb;
    padding: 10px;
    margin-bottom: 12px;
}

.audit-rich-block-title {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: #374151;
    margin-bottom: 8px;
}

.audit-rich-check-grid,
.audit-rich-metric-grid,
.audit-rich-mini-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 7px;
}

.audit-rich-check-item,
.audit-rich-metric-card,
.audit-rich-mini-grid > div {
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #fff;
    padding: 8px;
    min-width: 0;
}

.audit-rich-check-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.audit-rich-check-item strong,
.audit-rich-metric-card span,
.audit-rich-mini-grid span {
    display: block;
    font-size: 12px;
    color: #4f4f4f;
    line-height: 1.25;
}

.audit-rich-check-item span,
.audit-rich-mini-grid strong {
    display: block;
    margin-top: 3px;
    font-size: 12px;
    color: #111827;
    font-weight: 700;
    overflow-wrap: anywhere;
}

.audit-rich-check-item i {
    flex-shrink: 0;
}

.audit-rich-check-success {
    border-color: #bbf7d0;
    background: #f0fdf4;
    color: #16a34a;
}

.audit-rich-check-warning {
    border-color: #fde68a;
    background: #fffbeb;
    color: #d97706;
}

.audit-rich-check-danger {
    border-color: #fecaca;
    background: #fff5f5;
    color: #dc2626;
}

.audit-rich-mini-note {
    border-radius: 8px;
    background: #fff;
    border: 1px dashed #d1d5db;
    padding: 8px;
    margin-top: 8px;
    font-size: 12px;
    color: #4b5563;
}

.audit-rich-serp-preview {
    border: 1px solid #dfe1e5;
    border-radius: 10px;
    background: #fff;
    padding: 12px;
    box-shadow: 0 1px 2px rgba(0,0,0,.04);
}

.audit-rich-serp-domain {
    color: #202124;
    font-size: 12px;
    font-weight: 600;
}

.audit-rich-serp-url {
    color: #5f6368;
    font-size: 12px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.audit-rich-serp-title {
    color: #1a0dab;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.25;
    margin-top: 5px;
}

.audit-rich-serp-description {
    color: #4d5156;
    font-size: 12px;
    line-height: 1.4;
    margin-top: 3px;
}

.audit-rich-check-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 6px;
}

.audit-rich-check-line {
    display: flex;
    align-items: center;
    gap: 7px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #fff;
    padding: 7px 8px;
    font-size: 12px;
    min-width: 0;
}

.audit-rich-check-line span {
    flex: 1;
    color: #374151;
    min-width: 0;
}

.audit-rich-check-line strong {
    color: #111827;
    font-size: 12px;
    text-align: right;
    overflow-wrap: anywhere;
}

.audit-rich-heading-status-list {
    display: grid;
    gap: 6px;
}

.audit-rich-heading-status-row {
    display: grid;
    grid-template-columns: 34px 36px 92px 1fr;
    align-items: center;
    gap: 8px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #fff;
    padding: 7px 8px;
    font-size: 12px;
}

.audit-rich-heading-status-row span,
.audit-rich-heading-status-row strong {
    font-weight: 800;
    color: #111827;
}

.audit-rich-heading-status-row em {
    font-style: normal;
    font-weight: 700;
}

.audit-rich-heading-status-row small {
    color: #6b7280;
    overflow-wrap: anywhere;
}

.audit-rich-heading-status-success {
    border-color: #bbf7d0;
    background: #f0fdf4;
}

.audit-rich-heading-status-success em {
    color: #15803d;
}

.audit-rich-heading-status-warning {
    border-color: #fde68a;
    background: #fffbeb;
}

.audit-rich-heading-status-warning em {
    color: #b45309;
}

.audit-rich-heading-status-danger {
    border-color: #fecaca;
    background: #fef2f2;
}

.audit-rich-heading-status-danger em {
    color: #b91c1c;
}

.audit-rich-heading-status-muted em {
    color: #6b7280;
}

.audit-rich-small-list {
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #fff;
    max-height: 180px;
    overflow: auto;
    margin-top: 8px;
}

.audit-rich-small-list div {
    display: flex;
    gap: 8px;
    border-bottom: 1px solid #f1f5f9;
    padding: 6px 8px;
    font-size: 12px;
    color: #374151;
}

.audit-rich-small-list div:last-child {
    border-bottom: 0;
}

.audit-rich-small-list span {
    flex-shrink: 0;
    max-width: 45px;
    font-weight: 800;
    color: #3b82f6;
}

.audit-rich-metric-card strong {
    display: block;
    margin-top: 4px;
    font-size: 17px;
    color: #111827;
}

.audit-rich-metric-success {
    border-color: #bbf7d0;
    background: #f0fdf4;
}

.audit-rich-metric-warning {
    border-color: #fde68a;
    background: #fffbeb;
}

.audit-rich-metric-danger {
    border-color: #fecaca;
    background: #fff5f5;
}

.audit-rich-metric-info,
.audit-rich-metric-muted {
    border-color: #dbeafe;
    background: #eff6ff;
}

.audit-rich-table-wrap {
    border-radius: 8px;
    overflow: hidden;
}

.audit-rich-table {
    background: #fff;
    font-size: 12px;
}

.audit-rich-table th {
    background: #f3f4f6;
    color: #4b5563;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .03em;
}

.audit-rich-table td,
.audit-rich-table th {
    vertical-align: middle;
}

.audit-rich-row-success td {
    background: #f0fdf4;
}

.audit-rich-row-warning td,
.audit-rich-row-important td,
.audit-rich-row-open td {
    background: #fffbeb;
}

.audit-rich-row-danger td,
.audit-rich-row-critical td {
    background: #fff5f5;
}

.audit-rich-url-cell {
    max-width: 260px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.audit-rich-lighthouse-list {
    display: grid;
    gap: 7px;
}

.audit-rich-lighthouse-item {
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #fff;
    padding: 8px;
}

.audit-rich-lighthouse-item strong {
    display: block;
    font-size: 12px;
    color: #111827;
    line-height: 1.35;
}

.audit-rich-lighthouse-item div {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-top: 5px;
}

.audit-rich-lighthouse-item span,
.audit-rich-lighthouse-item em {
    display: inline-flex;
    align-items: center;
    border-radius: 20px;
    background: #f3f4f6;
    color: #4b5563;
    font-size: 12px;
    font-style: normal;
    padding: 2px 7px;
}

.audit-rich-lighthouse-item .audit-rich-lighthouse-status-success {
    background: #f0fdf4;
    color: #15803d;
}

.audit-rich-lighthouse-item .audit-rich-lighthouse-status-warning {
    background: #fffbeb;
    color: #b45309;
}

.audit-rich-lighthouse-item .audit-rich-lighthouse-status-danger {
    background: #fef2f2;
    color: #b91c1c;
}

.audit-rich-lighthouse-description {
    display: block;
    margin-top: 6px;
    color: #6b7280;
    font-size: 12px;
    line-height: 1.35;
}

@media (max-width: 575px) {
    .audit-rich-check-grid,
    .audit-rich-metric-grid,
    .audit-rich-mini-grid,
    .audit-rich-check-list {
        grid-template-columns: 1fr;
    }
}

.audit-rich-external-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border: 1px solid #dbeafe;
    border-radius: 9px;
    background: #eff6ff;
    padding: 9px 10px;
}

.audit-rich-external-card span {
    display: block;
    font-size: 12px;
    color: #6b7280;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .03em;
}

.audit-rich-external-card strong {
    display: block;
    color: #111827;
    font-size: 14px;
    margin-top: 2px;
}

.audit-rich-external-card small {
    color: #4b5563;
    font-size: 12px;
    text-align: right;
}

.audit-rich-metric-card small {
    display: block;
    margin-top: 3px;
    font-size: 12px;
    color: #6b7280;
}

.audit-rich-reputation .audit-rich-check-item span {
    word-break: break-word;
}

@media (max-width: 575px) {
    .audit-rich-external-card {
        align-items: flex-start;
        flex-direction: column;
    }

    .audit-rich-external-card small {
        text-align: left;
    }
}

.cd-nav-item {
    position: relative;
    isolation: isolate;
    overflow: hidden;
}

.cd-nav-item::after {
    position: absolute;
    z-index: -1;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(110deg, rgba(133, 97, 213, 0.16), rgba(65, 153, 205, 0.15) 58%, rgba(62, 190, 178, 0.12));
    content: "";
    opacity: 0;
    transform: translateX(-28%) scale(0.94);
    transition: opacity 220ms ease, transform 340ms cubic-bezier(0.16, 1, 0.3, 1);
}

.cd-nav-item > i,
.cd-nav-item > span {
    position: relative;
    z-index: 1;
}

.cd-nav-item:hover {
    text-decoration: none !important;
    transform: translateX(5px) translateY(-1px);
    box-shadow: 0 15px 30px rgba(0, 8, 20, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.cd-nav-item:focus,
.cd-nav-item:active {
    text-decoration: none !important;
}

.cd-nav-item:hover::after {
    opacity: 1;
    transform: translateX(0) scale(1);
}

.cd-nav-item:hover > i {
    transform: translateX(2px) rotate(-5deg) scale(1.1);
}

.cd-nav-item:hover > span {
    transform: translateX(2px);
}

html[data-theme="light"] .cd-nav-item:hover {
    box-shadow: 0 16px 30px rgba(47, 91, 124, 0.13), inset 0 1px 0 #ffffff;
}

.cd-report-workspace-seo-report,
.cd-report-workspace-audit {
    overflow: visible;
}

.cd-seo-report-interface {
    display: grid;
    gap: 20px;
    padding-top: 20px;
}

.cd-seo-report-tabs {
    position: relative;
    z-index: 3;
    gap: 10px;
    padding: 9px;
    border: 1px solid rgba(118, 157, 184, 0.16);
    border-radius: 18px;
    background: linear-gradient(145deg, rgba(9, 28, 43, 0.96), rgba(6, 21, 34, 0.94));
    box-shadow: 0 18px 42px rgba(0, 8, 19, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.cd-seo-report-tab {
    display: inline-flex;
    min-height: 54px;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 10px 14px;
    border: 1px solid transparent;
    border-radius: 13px;
    color: #91a9b8;
    background: transparent;
    font: inherit;
    font-size: 14px;
    font-weight: 750;
    cursor: pointer;
}

.cd-seo-report-tab:hover {
    color: #ffffff;
    border-color: rgba(116, 176, 210, 0.18);
    background: rgba(78, 142, 181, 0.1);
    transform: translateY(-2px);
}

.cd-seo-report-panels,
.cd-seo-report-panel {
    min-width: 0;
}

.cd-seo-report-panel[hidden],
.cd-seo-competitor-panel[hidden] {
    display: none !important;
}

.cd-seo-report-panel.is-active {
    animation: cd-report-panel-enter 320ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.cd-seo-report-card {
    position: relative;
    overflow: hidden;
    padding: 22px;
    border: 1px solid rgba(108, 161, 194, 0.16);
    border-radius: 20px;
    color: #dbe8ef;
    background: radial-gradient(circle at 100% 0, rgba(116, 83, 197, 0.13), transparent 20rem), linear-gradient(145deg, rgba(9, 29, 44, 0.98), rgba(5, 20, 33, 0.97));
    box-shadow: 0 20px 46px rgba(0, 8, 19, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.045);
}

.cd-seo-report-card::before {
    position: absolute;
    top: 0;
    left: 24px;
    width: min(220px, 38%);
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, #8a6bd3, #438bc0 62%, transparent);
    content: "";
}

.cd-seo-report-card-header {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-bottom: 20px;
}

.cd-seo-report-card-header > p {
    max-width: 520px;
    margin: 0 0 0 auto;
    color: #8fa8b7;
    font-size: 13px;
    line-height: 1.5;
    text-align: right;
}

.cd-seo-report-card-header span,
.cd-seo-competitor-heading span {
    display: block;
    color: #7f9aaa;
    font-size: 12px;
    font-weight: 750;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.cd-seo-report-card-header h2,
.cd-seo-competitor-heading h3 {
    margin: 2px 0 0;
    color: #f0f7fa;
    font-size: clamp(18px, 1.6vw, 24px);
    line-height: 1.25;
}

.cd-seo-competitor-location + .cd-seo-competitor-location {
    margin-top: 18px;
}

.cd-seo-competitor-tabs {
    display: flex;
    gap: 9px;
    margin-bottom: 18px;
    overflow-x: auto;
}

.cd-seo-competitor-tab {
    padding: 10px 13px;
    border: 1px solid rgba(111, 157, 185, 0.16);
    color: #9bb0bc;
    background: rgba(255, 255, 255, 0.025);
    cursor: pointer;
    text-align: left;
    transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.cd-seo-competitor-tab strong,
.cd-seo-competitor-tab span {
    display: block;
}

.cd-seo-competitor-tab strong {
    color: #eef7fa;
    font-size: 16px;
}

.cd-seo-competitor-tab span {
    margin-top: 2px;
    overflow: hidden;
    font-size: 12px;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cd-seo-competitor-tab:hover {
    transform: translateY(-2px);
    border-color: rgba(135, 110, 215, 0.34);
}

.cd-seo-competitor-tab.is-positive strong,
.cd-seo-competitor-heading strong.is-positive { color: #74d8af; }
.cd-seo-competitor-tab.is-negative strong,
.cd-seo-competitor-heading strong.is-negative { color: #ff8f9e; }

.cd-seo-competitor-panel.is-active {
    animation: cd-report-panel-enter 280ms ease both;
}

.cd-seo-metric-grid {
    display: grid;
    margin-bottom: 16px;
}

.cd-seo-metric-grid > div {
    min-width: 0;
    border: 1px solid rgba(106, 158, 189, 0.14);
}

.cd-seo-metric-grid span {
    display: block;
    font-size: 12px;
    font-weight: 700;
}

.cd-seo-metric-grid strong {
    display: block;
    color: #f0f8fb;
}

.cd-seo-metric-grid > .is-success strong { color: #76d9b0; }
.cd-seo-metric-grid > .is-danger strong { color: #ff8f9f; }
.cd-seo-metric-grid > .is-warning strong { color: #f3c36b; }

.cd-seo-competitor-layout,
.cd-seo-opportunity-grid {
    display: grid;
    gap: 14px;
}

.cd-seo-opportunity-grid {
    margin-top: 14px;
}

.cd-seo-competitor-subcard {
    min-width: 0;
    padding: 16px;
    border: 1px solid rgba(111, 160, 190, 0.13);
    border-radius: 15px;
    background: rgba(2, 14, 24, 0.3);
}

.cd-seo-competitor-subcard h3 {
    margin: 0 0 13px;
    color: #e8f3f8;
    font-size: 15px;
}

.cd-seo-competitor-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 15px;
}

.cd-seo-competitor-heading > strong {
    padding: 7px 11px;
    border: 1px solid currentColor;
    border-radius: 999px;
    font-size: 15px;
}

.cd-seo-range-badge {
    display: inline-flex;
    padding: 4px 8px;
    border-radius: 999px;
    color: #d9e9f1;
    background: rgba(83, 140, 176, 0.14);
    font-size: 12px;
    font-weight: 750;
}

html[data-theme="light"] .cd-seo-report-tabs {
    border-color: rgba(81, 143, 183, 0.16);
    background: linear-gradient(105deg, rgba(235, 245, 251, 0.96), rgba(244, 250, 252, 0.98) 58%, rgba(235, 248, 246, 0.96));
    box-shadow: 0 16px 34px rgba(47, 91, 124, 0.1), inset 0 1px 0 #ffffff;
}

html[data-theme="light"] .cd-seo-report-tab { color: #58758a; }
html[data-theme="light"] .cd-seo-report-tab:hover { color: #17384e; background: rgba(91, 145, 181, 0.09); }

html[data-theme="light"] .cd-seo-report-card {
    color: #38566a;
    border-color: rgba(67, 118, 150, 0.13);
    background: radial-gradient(circle at 100% 0, rgba(128, 97, 208, 0.09), transparent 20rem), linear-gradient(145deg, #ffffff, #eef7fb);
    box-shadow: 0 20px 42px rgba(41, 74, 99, 0.11), inset 0 1px 0 #ffffff;
}

html[data-theme="light"] .cd-seo-report-card-header h2,
html[data-theme="light"] .cd-seo-competitor-heading h3,
html[data-theme="light"] .cd-seo-competitor-tab strong,
html[data-theme="light"] .cd-seo-metric-grid strong,
html[data-theme="light"] .cd-seo-competitor-subcard h3 { color: #17384e; }

html[data-theme="light"] .cd-seo-report-card-header > p,
html[data-theme="light"] .cd-seo-report-card-header span,
html[data-theme="light"] .cd-seo-competitor-heading span,
html[data-theme="light"] .cd-seo-metric-grid span { color: #617e91; }

html[data-theme="light"] .cd-seo-competitor-tab,
html[data-theme="light"] .cd-seo-metric-grid > div,
html[data-theme="light"] .cd-seo-competitor-subcard {
    border-color: rgba(73, 123, 153, 0.12);
    background: rgba(255, 255, 255, 0.68);
}

/* Keep the native audit report hierarchy while adapting its surfaces to the dashboard. */
.cd-audit-admin-report {
    margin: 0;
    color: #dbe8ef;
}

.cd-audit-admin-report > [class*="col-"] {
    margin-bottom: 14px;
}

.cd-audit-admin-report .card,
.cd-audit-admin-report .audit-report-top-card,
.cd-audit-admin-report .audit-report-priority-card,
.cd-audit-admin-report .audit-report-card {
    border-color: rgba(101, 155, 188, 0.17);
    color: #dbe8ef;
    background-color: rgba(7, 24, 37, 0.97);
}

.cd-audit-admin-report .card-header,
.cd-audit-admin-report .audit-report-card-header,
.cd-audit-admin-report .audit-report-priority-card-header {
    color: #edf6fa;
    border-bottom-color: rgba(111, 159, 188, 0.13);
    background: rgba(255, 255, 255, 0.025);
}

.cd-audit-admin-report .text-muted,
.cd-audit-admin-report small,
.cd-audit-admin-report .audit-report-description { color: #91a7b4 !important; }

.cd-audit-admin-report .audit-report-filter-tabs,
.cd-audit-admin-report #audit-report-filter-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    border: 0;
}

.cd-audit-admin-report .audit-report-filter-button {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 12px;
    border: 1px solid rgba(107, 158, 188, 0.16);
    border-radius: 12px;
    color: #94aab7;
    background: rgba(255, 255, 255, 0.025);
    cursor: pointer;
    transition: transform 180ms ease, color 180ms ease, border-color 180ms ease, background 180ms ease;
}

.cd-audit-admin-report .audit-report-filter-button:hover {
    color: #ffffff;
    transform: translateY(-2px);
}

.cd-audit-admin-report .audit-report-filter-button.active {
    color: #ffffff;
    border-color: rgba(151, 125, 226, 0.38);
    background: linear-gradient(115deg, rgba(109, 76, 187, 0.9), rgba(46, 126, 171, 0.9));
}

.cd-audit-admin-report .audit-report-card-header {
    cursor: pointer;
}

.cd-audit-admin-report .audit-report-card.is-collapsed .audit-report-card-body {
    display: none;
}

.cd-audit-admin-report .audit-report-card:not(.is-collapsed) .audit-report-card-toggle-icon {
    transform: rotate(180deg);
}

.cd-audit-admin-report .audit-report-card-toggle-icon {
    transition: transform 220ms ease;
}

.cd-audit-admin-report .audit-report-category-section[hidden] {
    display: none !important;
}

.cd-audit-admin-report .audit-report-problem {
    color: #ffd7dc;
    border-color: rgba(231, 92, 113, 0.3);
    background: rgba(145, 39, 59, 0.17);
}

.cd-audit-admin-report .audit-report-recommendation,
.cd-audit-admin-report .audit-report-clean-section {
    color: #d7f5e6;
    border-color: rgba(76, 190, 135, 0.28);
    background: rgba(35, 125, 83, 0.15);
}

.cd-audit-admin-report .audit-rich-block,
.cd-audit-admin-report .audit-rich-check-item,
.cd-audit-admin-report .audit-rich-metric-card,
.cd-audit-admin-report .audit-rich-mini-grid > div,
.cd-audit-admin-report .audit-rich-external-card {
    border-color: rgba(108, 157, 187, 0.15);
    color: #d8e7ef;
    background: rgba(255, 255, 255, 0.025);
}

.cd-audit-admin-report table {
    color: inherit;
    background: rgba(2, 14, 24, 0.26);
}

.cd-audit-admin-report table th {
    color: #dbeaf1;
    background: rgba(69, 121, 154, 0.12);
}

.cd-audit-admin-report table td,
.cd-audit-admin-report table th {
    border-color: rgba(105, 154, 183, 0.13);
    font-size: clamp(12px, 0.82vw, 14px);
}

html[data-theme="light"] .cd-audit-admin-report { color: #365569; }
html[data-theme="light"] .cd-audit-admin-report .card,
html[data-theme="light"] .cd-audit-admin-report .audit-report-priority-card,
html[data-theme="light"] .cd-audit-admin-report .audit-report-card {
    color: #365569;
    background-color: rgba(255, 255, 255, 0.98);
}

html[data-theme="light"] .cd-audit-admin-report .card-header,
html[data-theme="light"] .cd-audit-admin-report .audit-report-card-header,
html[data-theme="light"] .cd-audit-admin-report .audit-report-priority-card-header {
    color: #17384e;
    border-bottom-color: rgba(63, 111, 141, 0.1);
    background: rgba(239, 247, 251, 0.82);
}

html[data-theme="light"] .cd-audit-admin-report .text-muted,
html[data-theme="light"] .cd-audit-admin-report small,
html[data-theme="light"] .cd-audit-admin-report .audit-report-description { color: #627e90 !important; }

html[data-theme="light"] .cd-audit-admin-report .audit-report-filter-button {
    color: #58758a;
    border-color: rgba(64, 112, 142, 0.12);
    background: rgba(240, 247, 251, 0.9);
}
html[data-theme="light"] .cd-audit-admin-report .audit-report-problem { color: #8a2c3c; background: #fff3f5; }
html[data-theme="light"] .cd-audit-admin-report .audit-report-recommendation,
html[data-theme="light"] .cd-audit-admin-report .audit-report-clean-section { color: #256448; background: #effbf4; }
html[data-theme="light"] .cd-audit-admin-report .audit-rich-block,
html[data-theme="light"] .cd-audit-admin-report .audit-rich-check-item,
html[data-theme="light"] .cd-audit-admin-report .audit-rich-metric-card,
html[data-theme="light"] .cd-audit-admin-report .audit-rich-mini-grid > div,
html[data-theme="light"] .cd-audit-admin-report .audit-rich-external-card { color: #365569; background: #f7fbfd; }
html[data-theme="light"] .cd-audit-admin-report table { background: #ffffff; }
html[data-theme="light"] .cd-audit-admin-report table th { color: #17384e; background: #edf6fa; }

@keyframes cd-report-panel-enter {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 1100px) {
    .cd-seo-metric-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .cd-seo-opportunity-grid { grid-template-columns: 1fr; }
}

@media (max-width: 800px) {
    .cd-seo-report-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .cd-seo-competitor-layout { grid-template-columns: 1fr; }
    .cd-seo-report-card-header { align-items: flex-start; flex-wrap: wrap; }
    .cd-seo-report-card-header > p { width: 100%; max-width: none; margin-left: 0; text-align: left; }
}

@media (max-width: 560px) {
    .cd-seo-report-tabs { grid-template-columns: 1fr; }
    .cd-seo-report-tab { justify-content: flex-start; }
    .cd-seo-metric-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .cd-seo-report-card { padding: 17px; border-radius: 17px; }
}

@media (prefers-reduced-motion: reduce) {
    .cd-nav-item,
    .cd-nav-item::after,
    .cd-nav-item > i,
    .cd-nav-item > span,
    .cd-seo-report-tab,
    .cd-seo-competitor-tab,
    .cd-seo-report-panel,
    .cd-seo-competitor-panel { animation: none !important; transition: none !important; }
}

.cd-report-workspace-seo {
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.cd-report-workspace-seo::before {
    display: none;
}

.cd-report-workspace-seo .cd-report-toolbar,
.cd-report-workspace-seo .cd-report-tabs,
.cd-report-workspace-seo .cd-report-empty-state {
    position: relative;
    z-index: 2;
}

/* Scoped layout utilities required by the CRM audit report structure. */
.cd-audit-admin-report.row {
    display: flex;
    flex-wrap: wrap;
    margin: -7px;
}

.cd-audit-admin-report > [class*="col-"] {
    width: 100%;
    min-width: 0;
    padding: 7px;
}

.cd-audit-admin-report .card {
    display: flex;
    min-width: 0;
    flex-direction: column;
}

.cd-audit-admin-report .card-body { flex: 1 1 auto; }
.cd-audit-admin-report .d-flex { display: flex !important; }
.cd-audit-admin-report .flex-wrap { flex-wrap: wrap !important; }
.cd-audit-admin-report .flex-column { flex-direction: column !important; }
.cd-audit-admin-report .align-items-start { align-items: flex-start !important; }
.cd-audit-admin-report .justify-content-between { justify-content: space-between !important; }
.cd-audit-admin-report .text-left { text-align: left !important; }
.cd-audit-admin-report .text-center { text-align: center !important; }
.cd-audit-admin-report .text-danger { color: #ef7184 !important; }
.cd-audit-admin-report .text-warning { color: #e6b24f !important; }
.cd-audit-admin-report .text-success { color: #4fc58d !important; }
.cd-audit-admin-report .text-secondary { color: #8198a7 !important; }
.cd-audit-admin-report .small,
.cd-audit-admin-report small { font-size: 12px !important; }
.cd-audit-admin-report .w-100 { width: 100% !important; }
.cd-audit-admin-report .mb-0 { margin-bottom: 0 !important; }
.cd-audit-admin-report .mb-1 { margin-bottom: 4px !important; }
.cd-audit-admin-report .mb-2 { margin-bottom: 8px !important; }
.cd-audit-admin-report .mb-3 { margin-bottom: 14px !important; }
.cd-audit-admin-report .mt-1 { margin-top: 4px !important; }
.cd-audit-admin-report .mt-2 { margin-top: 8px !important; }
.cd-audit-admin-report .mt-3 { margin-top: 14px !important; }
.cd-audit-admin-report .ml-2 { margin-left: 8px !important; }
.cd-audit-admin-report .p-2 { padding: 10px !important; }
.cd-audit-admin-report .p-3 { padding: 16px !important; }
.cd-audit-admin-report .p-4 { padding: 22px !important; }
.cd-audit-admin-report .border { border: 1px solid rgba(105, 154, 183, 0.17) !important; }
.cd-audit-admin-report .badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 8px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 750;
    line-height: 1.2;
}
.cd-audit-admin-report .badge-light { color: #d9e7ef; background: rgba(255, 255, 255, 0.08); }
.cd-audit-admin-report .badge-danger { color: #ffdbe0; background: rgba(222, 72, 96, 0.2); }
.cd-audit-admin-report .badge-success { color: #d9f6e8; background: rgba(56, 172, 113, 0.2); }
.cd-audit-admin-report .nav { display: flex; flex-wrap: wrap; padding: 0; margin: 0; list-style: none; }
.cd-audit-admin-report .nav-item { display: block; }
.cd-audit-admin-report .nav-link { text-decoration: none; }
.cd-audit-admin-report .table-responsive { width: 100%; overflow-x: auto; }
.cd-audit-admin-report .table { width: 100%; border-collapse: separate; border-spacing: 0; }
.cd-audit-admin-report .table th,
.cd-audit-admin-report .table td { padding: 10px 12px; text-align: left; vertical-align: middle; }
.cd-audit-admin-report .table-bordered th,
.cd-audit-admin-report .table-bordered td { border-right: 1px solid rgba(105, 154, 183, 0.13); border-bottom: 1px solid rgba(105, 154, 183, 0.13); }
.cd-audit-admin-report .table-sm th,
.cd-audit-admin-report .table-sm td { padding: 8px 10px; }

html[data-theme="light"] .cd-audit-admin-report .text-danger { color: #b43d52 !important; }
html[data-theme="light"] .cd-audit-admin-report .text-warning { color: #9a6a10 !important; }
html[data-theme="light"] .cd-audit-admin-report .text-success { color: #277b55 !important; }
html[data-theme="light"] .cd-audit-admin-report .badge-light { color: #405f72; background: #edf5f8; }
html[data-theme="light"] .cd-audit-admin-report .badge-danger { color: #973349; background: #fff0f3; }
html[data-theme="light"] .cd-audit-admin-report .badge-success { color: #236f4c; background: #ecfaf3; }

@media (min-width: 1200px) {
    .cd-audit-admin-report > .col-xl { width: auto; flex: 1 1 0; }
    .cd-audit-admin-report > .col-xl-6 { width: 50%; }
    .cd-audit-admin-report > .col-xl-7 { width: 58.333333%; }
}

@media (min-width: 768px) {
    .cd-audit-admin-report .mt-md-0 { margin-top: 0 !important; }
}

.cd-seo-keyword-center { text-align: center !important; }
.cd-seo-keyword-center > .fa-star { color: #708998; font-size: 16px; }
.cd-seo-keyword-center > .fa-star.is-favorite { color: #e9b84f; filter: drop-shadow(0 0 7px rgba(233, 184, 79, 0.3)); }
.cd-seo-favorite-toggle {
    position: relative;
    display: inline-grid;
    width: 34px;
    height: 34px;
    place-items: center;
    padding: 0;
    border: 0;
    border-radius: 50%;
    color: #708998;
    background: transparent;
    cursor: pointer;
    isolation: isolate;
    transition: color 180ms ease, background-color 180ms ease, transform 180ms ease, opacity 180ms ease;
}
.cd-seo-favorite-toggle::before {
    content: '';
    position: absolute;
    inset: 3px;
    z-index: -1;
    border-radius: inherit;
    background: radial-gradient(circle, rgba(233, 184, 79, 0.28) 0%, rgba(233, 184, 79, 0.08) 55%, transparent 72%);
    opacity: 0;
    transform: scale(0.3);
}
.cd-seo-favorite-toggle .fa-star {
    font-size: 17px;
    transform-origin: center;
    transition: color 180ms ease, filter 180ms ease, transform 180ms ease;
}
.cd-seo-favorite-toggle:hover,
.cd-seo-favorite-toggle:focus-visible {
    color: #d7a83f;
    background: rgba(233, 184, 79, 0.1);
    outline: none;
    transform: translateY(-1px);
}
.cd-seo-favorite-toggle.is-favorite {
    color: #e9b84f;
}
.cd-seo-favorite-toggle.is-favorite .fa-star {
    filter: drop-shadow(0 0 8px rgba(233, 184, 79, 0.42));
}
.cd-seo-favorite-toggle.is-loading {
    cursor: wait;
    opacity: 0.68;
}
.cd-seo-favorite-toggle.is-activating::before {
    animation: cd-seo-favorite-burst 500ms ease-out;
}
.cd-seo-favorite-toggle.is-activating .fa-star {
    animation: cd-seo-favorite-enable 500ms cubic-bezier(0.2, 0.9, 0.3, 1.25);
}
.cd-seo-favorite-toggle.is-deactivating .fa-star {
    animation: cd-seo-favorite-disable 360ms ease-out;
}
.cd-seo-favorite-toggle.is-error {
    animation: cd-seo-favorite-error 360ms ease-in-out;
}
@keyframes cd-seo-favorite-burst {
    0% { opacity: 0; transform: scale(0.3); }
    35% { opacity: 1; }
    100% { opacity: 0; transform: scale(1.65); }
}
@keyframes cd-seo-favorite-enable {
    0% { transform: scale(0.72) rotate(-18deg); }
    55% { transform: scale(1.34) rotate(8deg); }
    100% { transform: scale(1) rotate(0); }
}
@keyframes cd-seo-favorite-disable {
    0% { transform: scale(1) rotate(0); }
    45% { transform: scale(0.72) rotate(-10deg); }
    100% { transform: scale(1) rotate(0); }
}
@keyframes cd-seo-favorite-error {
    0%, 100% { transform: translateX(0); }
    30% { transform: translateX(-3px); }
    65% { transform: translateX(3px); }
}
@media (prefers-reduced-motion: reduce) {
    .cd-seo-favorite-toggle,
    .cd-seo-favorite-toggle::before,
    .cd-seo-favorite-toggle .fa-star {
        animation: none !important;
        transition-duration: 0.01ms !important;
    }
}
.cd-seo-location-count,
.cd-seo-evolution,
.cd-seo-competitor-counts span {
    display: inline-flex;
    min-width: 28px;
    min-height: 28px;
    align-items: center;
    justify-content: center;
    padding: 4px 8px;
    border-radius: 9px;
    color: #cbdde6;
    background: rgba(80, 137, 170, 0.13);
    font-size: 12px;
    font-weight: 800;
}
.cd-seo-evolution.is-new { color: #c9b7f3; background: rgba(132, 95, 210, 0.15); }
.cd-seo-evolution.is-up,
.cd-seo-competitor-counts .is-success { color: #77dbb2; background: rgba(60, 176, 116, 0.15); }
.cd-seo-evolution.is-down,
.cd-seo-competitor-counts .is-danger { color: #ff93a2; background: rgba(221, 70, 95, 0.16); }
.cd-seo-competitor-counts .is-warning { color: #f0c36f; background: rgba(220, 161, 54, 0.15); }
.cd-seo-competitor-counts { display: flex; flex-wrap: wrap; gap: 4px; }
.cd-seo-result-link {
    transition: transform 170ms ease, color 170ms ease, border-color 170ms ease, background 170ms ease;
}
.cd-seo-result-link:hover { transform: translateY(-2px); }
html[data-theme="light"] .cd-seo-location-count,
html[data-theme="light"] .cd-seo-evolution,
html[data-theme="light"] .cd-seo-competitor-counts span { color: #405f72; background: #eaf3f7; }
html[data-theme="light"] .cd-seo-evolution.is-up,
html[data-theme="light"] .cd-seo-competitor-counts .is-success { color: #267751; background: #e7f7ef; }
html[data-theme="light"] .cd-seo-evolution.is-down,
html[data-theme="light"] .cd-seo-competitor-counts .is-danger { color: #a83a4d; background: #fff0f3; }
html[data-theme="light"] .cd-seo-evolution.is-new { color: #65469e; background: #f1ebfb; }

/* ==========================================================================
   Report navigation, module states and interaction refinements
   ========================================================================== */
html[data-theme="dark"] .cd-report-task-content font,
html[data-theme="dark"] .cd-report-task-content font[color],
html[data-theme="dark"] .cd-report-task-content [style*="color: #374151"],
html[data-theme="dark"] .cd-report-task-content [style*="color:#374151"] {
    color: #dce9f1 !important;
}

html[data-theme="dark"] .cd-main table,
html[data-theme="dark"] .cd-report-table-wrap,
html[data-theme="dark"] .cd-document-table-wrap,
html[data-theme="dark"] .cd-report-export-content table {
    border-color: rgba(104, 190, 225, 0.25) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.045), 0 16px 38px rgba(0, 6, 17, 0.13);
}

html[data-theme="dark"] .cd-main table th,
html[data-theme="dark"] .cd-main table td,
html[data-theme="dark"] .cd-report-export-content th,
html[data-theme="dark"] .cd-report-export-content td,
html[data-theme="dark"] .cd-audit-admin-report .table-bordered th,
html[data-theme="dark"] .cd-audit-admin-report .table-bordered td {
    border-color: rgba(108, 190, 222, 0.22) !important;
}

html[data-theme="dark"] .cd-main table thead th {
    box-shadow: inset 0 -1px 0 rgba(112, 209, 237, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.045);
}

.cd-section-heading,
.cd-report-section-heading {
    isolation: isolate;
    overflow: visible;
}

.cd-report-toolbar,
.cd-document-table > thead {
    isolation: isolate;
    overflow: hidden;
}

.cd-section-heading::before,
.cd-report-section-heading::before,
.cd-report-toolbar::before {
    position: absolute;
    z-index: -1;
    top: -42px;
    right: -28px;
    width: 150px;
    height: 150px;
    border: 1px solid rgba(139, 119, 229, 0.13);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(118, 92, 215, 0.12), transparent 66%);
    box-shadow: 0 0 0 24px rgba(54, 149, 195, 0.025), 0 0 0 48px rgba(53, 185, 181, 0.018);
    content: "";
    pointer-events: none;
}

.cd-section-heading > *,
.cd-report-section-heading > *,
.cd-report-toolbar > * {
    position: relative;
    z-index: 1;
}

.cd-section-heading::after,
.cd-report-section-heading::after {
    z-index: 1;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, #8f6fe4, #4b9bd0 58%, rgba(58, 197, 188, 0.4), transparent);
    box-shadow: 0 0 18px rgba(91, 112, 221, 0.28);
}

.cd-report-toolbar {
    position: relative;
}

.cd-report-toolbar::after {
    position: absolute;
    right: 20px;
    bottom: 9px;
    width: 76px;
    height: 5px;
    border-radius: 999px;
    background: repeating-linear-gradient(90deg, rgba(143, 111, 228, 0.55) 0 6px, transparent 6px 12px);
    content: "";
    opacity: 0.45;
    pointer-events: none;
}

.cd-document-table > thead {
    position: relative;
}

.cd-document-table > thead th:first-child {
    position: relative;
}

.cd-document-table > thead th:first-child::before {
    position: absolute;
    top: 10px;
    bottom: 10px;
    left: 0;
    width: 3px;
    border-radius: 0 999px 999px 0;
    background: linear-gradient(180deg, #9575e8, #4ca3d5 66%, #48c5bd);
    box-shadow: 0 0 14px rgba(93, 121, 220, 0.36);
    content: "";
}

.cd-document-table > thead th:last-child {
    position: relative;
}

.cd-document-table > thead th:last-child::after {
    position: absolute;
    top: 50%;
    right: 16px;
    width: 32px;
    height: 32px;
    border: 1px solid rgba(122, 196, 222, 0.12);
    border-radius: 50%;
    content: "";
    opacity: 0.55;
    transform: translateY(-50%);
    box-shadow: 0 0 0 7px rgba(124, 94, 218, 0.025);
}

html[data-theme="light"] .cd-section-heading::before,
html[data-theme="light"] .cd-report-section-heading::before,
html[data-theme="light"] .cd-report-toolbar::before {
    border-color: rgba(109, 83, 199, 0.1);
    background: radial-gradient(circle, rgba(159, 126, 226, 0.12), transparent 66%);
}

.cd-sidebar {
    overflow: hidden;
}

.cd-sidebar::before,
.cd-sidebar::after {
    position: absolute;
    z-index: 0;
    right: -104px;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    content: "";
    pointer-events: none;
}

.cd-sidebar::before {
    top: 56%;
    border: 1px solid rgba(105, 175, 214, 0.09);
    background: radial-gradient(circle at 38% 38%, rgba(107, 81, 205, 0.14), rgba(47, 143, 190, 0.06) 42%, transparent 68%);
    box-shadow: 0 0 0 34px rgba(60, 169, 190, 0.018), 0 0 0 68px rgba(125, 92, 211, 0.012);
}

.cd-sidebar::after {
    top: 72%;
    right: 46px;
    width: 94px;
    height: 94px;
    border: 1px dashed rgba(97, 194, 214, 0.13);
    background: linear-gradient(135deg, rgba(118, 87, 211, 0.04), transparent);
    transform: rotate(22deg);
}

html[data-theme="light"] .cd-sidebar::before {
    border-color: rgba(70, 132, 170, 0.08);
    background: radial-gradient(circle at 38% 38%, rgba(151, 120, 220, 0.11), rgba(68, 157, 190, 0.07) 42%, transparent 68%);
}

html[data-theme="light"] .cd-sidebar::after {
    border-color: rgba(75, 146, 180, 0.12);
}

html[data-theme="light"] .cd-alert-danger {
    border-color: rgba(181, 59, 83, 0.28) !important;
    color: #782336 !important;
    background: linear-gradient(110deg, rgba(255, 239, 243, 0.98), rgba(255, 247, 249, 0.98)) !important;
    box-shadow: 0 12px 28px rgba(126, 42, 59, 0.09), inset 3px 0 0 #c84d66;
}

html[data-theme="light"] .cd-alert-danger i,
html[data-theme="light"] .cd-alert-danger strong,
html[data-theme="light"] .cd-alert-danger span,
html[data-theme="light"] .cd-alert-danger p {
    color: inherit !important;
}

.cd-logout-form .cd-nav-button,
.cd-logout-form .cd-nav-button i,
.cd-logout-form .cd-nav-button span {
    color: #f07388 !important;
}

html[data-theme="light"] .cd-logout-form .cd-nav-button,
html[data-theme="light"] .cd-logout-form .cd-nav-button i,
html[data-theme="light"] .cd-logout-form .cd-nav-button span {
    color: #b83d55 !important;
}

.cd-task-report-stat-primary {
    border-color: rgba(107, 180, 211, 0.15);
    background:
        radial-gradient(circle at 100% 0%, rgba(48, 145, 190, 0.11), transparent 10rem),
        linear-gradient(145deg, rgba(14, 37, 52, 0.9), rgba(7, 24, 37, 0.88));
    box-shadow: 0 18px 38px rgba(0, 7, 17, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.cd-task-report-stat,
.cd-task-report-stat-primary {
    transition: transform 260ms cubic-bezier(0.16, 1, 0.3, 1), border-color 220ms ease, background 220ms ease, box-shadow 260ms ease, color 220ms ease;
}

.cd-task-report-stat:hover,
.cd-task-report-stat-primary:hover {
    z-index: 2;
    border-color: rgba(171, 146, 239, 0.38);
    color: #ffffff;
    background:
        radial-gradient(circle at 100% 0%, rgba(192, 149, 247, 0.34), transparent 12rem),
        radial-gradient(circle at 0 100%, rgba(70, 197, 221, 0.2), transparent 11rem),
        linear-gradient(145deg, #684fb6, #3788bd 64%, #2b9eab);
    box-shadow: 0 24px 52px rgba(25, 20, 75, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.16);
    transform: translateY(-6px) scale(1.012);
}

.cd-task-report-stat:hover::after,
.cd-task-report-stat:hover .cd-task-report-stat-decoration,
.cd-task-report-stat-primary:hover::after,
.cd-task-report-stat-primary:hover .cd-task-report-stat-decoration {
    border-color: rgba(255, 255, 255, 0.34) !important;
    background-color: rgba(255, 255, 255, 0.09) !important;
    box-shadow: 0 0 0 18px rgba(255, 255, 255, 0.045) !important;
}

.cd-task-report-stat:hover span,
.cd-task-report-stat:hover strong,
.cd-task-report-stat-primary:hover span,
.cd-task-report-stat-primary:hover strong {
    color: #ffffff !important;
}

html[data-theme="light"] .cd-task-report-stat-primary {
    border-color: rgba(69, 124, 155, 0.14);
    color: #36586d;
    background:
        radial-gradient(circle at 100% 0%, rgba(78, 164, 196, 0.08), transparent 10rem),
        linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(237, 246, 250, 0.96));
    box-shadow: 0 18px 36px rgba(47, 79, 103, 0.1), inset 0 1px 0 #ffffff;
}

.cd-document-view-shell.is-fullscreen .cd-document-view-actions {
    min-height: 48px;
    align-items: center;
    margin-left: auto;
    padding: 3px 0;
    overflow: visible;
}

.cd-document-view-shell.is-fullscreen .cd-document-action-button {
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
}

/* SEO keyword page navigation and location cards. */
.cd-seo-keyword-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 14px;
    margin-bottom: 18px;
}

.cd-seo-keyword-stat {
    min-height: 104px;
}

.cd-seo-keyword-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 16px;
    padding: 14px 16px;
    border: 1px solid rgba(102, 168, 199, 0.16);
    border-radius: 18px;
    background:
        radial-gradient(circle at 95% 0%, rgba(122, 91, 214, 0.12), transparent 14rem),
        linear-gradient(120deg, rgba(10, 31, 46, 0.96), rgba(7, 23, 36, 0.92));
    box-shadow: 0 16px 36px rgba(0, 8, 19, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.045);
}

.cd-seo-keyword-toolbar-copy {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 12px;
}

.cd-seo-keyword-toolbar-copy > div span,
.cd-seo-keyword-toolbar-copy > div strong {
    display: block;
}

.cd-seo-keyword-toolbar-copy > div span {
    color: #8199a9;
    font-size: 12px;
}

.cd-seo-keyword-toolbar-copy > div strong {
    margin-top: 2px;
    color: #edf7fb;
    font-family: "Sora", sans-serif;
    font-size: 15px;
}

.cd-seo-keyword-search {
    position: relative;
    width: min(360px, 100%);
    flex: 0 1 360px;
}

.cd-seo-keyword-search > i {
    position: absolute;
    top: 50%;
    left: 14px;
    color: #718c9e;
    transform: translateY(-50%);
}

.cd-seo-keyword-search input {
    width: 100%;
    min-height: 44px;
    padding: 0 44px 0 40px;
    border: 1px solid rgba(104, 164, 195, 0.18);
    border-radius: 13px;
    outline: 0;
    color: #e8f4f9;
    background: rgba(3, 16, 27, 0.62);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

.cd-seo-keyword-search input:focus {
    border-color: rgba(120, 104, 222, 0.5);
    box-shadow: 0 0 0 4px rgba(111, 85, 210, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.cd-seo-keyword-search button {
    position: absolute;
    top: 50%;
    right: 7px;
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 10px;
    color: #8fa6b5;
    background: transparent;
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-50%) scale(0.8);
    transition: opacity 160ms ease, transform 180ms ease, color 160ms ease, background 160ms ease;
}

.cd-seo-keyword-search button.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(-50%) scale(1);
}

.cd-seo-keyword-search button:hover {
    color: #ffffff;
    background: rgba(124, 94, 216, 0.18);
}

.cd-seo-keyword-locations {
    display: grid;
    gap: 18px;
}

.cd-seo-keyword-location {
    overflow: hidden;
    border: 1px solid rgba(100, 163, 196, 0.17);
    border-radius: 20px;
    background: rgba(6, 22, 34, 0.88);
    box-shadow: 0 20px 42px rgba(0, 8, 18, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

.cd-seo-keyword-location-heading {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 16px 18px;
    border-bottom: 1px solid rgba(105, 164, 193, 0.13);
    background:
        radial-gradient(circle at 96% 0%, rgba(127, 91, 215, 0.16), transparent 14rem),
        linear-gradient(115deg, rgba(18, 43, 59, 0.72), rgba(9, 27, 41, 0.58));
}

.cd-seo-keyword-location-heading > div {
    min-width: 0;
    flex: 1;
}

.cd-seo-keyword-location-heading > div > span,
.cd-seo-keyword-location-heading h2,
.cd-seo-keyword-location-heading p {
    margin: 0;
}

.cd-seo-keyword-location-heading > div > span {
    color: #7f9bad;
    font-size: 12px;
    font-weight: 750;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.cd-seo-keyword-location-heading h2 {
    margin-top: 2px;
    color: #f0f8fb;
    font-family: "Sora", sans-serif;
    font-size: 17px;
}

.cd-seo-keyword-location-heading p {
    margin-top: 5px;
    color: #8ca5b4;
    font-size: 13px;
}

.cd-seo-keyword-location-heading > strong {
    min-width: 44px;
    height: 36px;
    display: inline-grid;
    place-items: center;
    border: 1px solid rgba(138, 116, 226, 0.28);
    border-radius: 12px;
    color: #d8cfff;
    background: rgba(111, 82, 202, 0.13);
    font-size: 15px;
}

.cd-seo-keyword-page-tabs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 12px 14px;
    border-bottom: 1px solid rgba(100, 161, 190, 0.11);
}

.cd-seo-keyword-page-tab {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 9px;
    padding: 8px 11px;
    border: 1px solid rgba(101, 162, 193, 0.14);
    border-radius: 12px;
    color: #8fa7b5;
    background: rgba(255, 255, 255, 0.022);
    cursor: pointer;
    transition: transform 180ms ease, color 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.cd-seo-keyword-page-tab strong {
    min-width: 24px;
    height: 24px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    color: #a9c4d2;
    font-size: 12px;
}

.cd-seo-keyword-page-tab:hover {
    color: #ffffff;
    transform: translateY(-2px);
}

.cd-seo-keyword-page-tab.is-active {
    color: #ffffff;
    border-color: rgba(151, 122, 231, 0.4);
    background: linear-gradient(115deg, rgba(105, 76, 190, 0.82), rgba(48, 131, 177, 0.82));
    box-shadow: 0 12px 26px rgba(24, 18, 67, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.cd-seo-keyword-page-tab.is-active strong {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.15);
}

.cd-seo-keyword-page-panel[hidden],
.cd-seo-competitor-location[hidden] {
    display: none !important;
}

.cd-seo-keyword-search-empty {
    margin-top: 14px;
    border: 1px dashed rgba(114, 170, 198, 0.2);
    border-radius: 16px;
}

.cd-seo-location-tabs {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding: 2px 2px 14px;
}

.cd-seo-location-tab {
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    border: 1px solid rgba(104, 165, 196, 0.18);
    border-radius: 18px;
    color: #dbe9f0;
    background:
        linear-gradient(105deg, rgba(7, 24, 38, 0.88), rgba(15, 45, 63, 0.68)),
        url("../image/client_dashboard/world_map.svg") calc(80% + (var(--cd-location-offset, 0px))) center / 270px auto no-repeat;
    box-shadow: 0 17px 38px rgba(0, 8, 19, 0.17), inset 0 1px 0 rgba(255, 255, 255, 0.04);
    cursor: pointer;
    text-align: left;
    transition: transform 220ms ease, border-color 200ms ease, box-shadow 220ms ease, color 200ms ease;
}

.cd-seo-location-tab::after {
    position: absolute;
    right: -28px;
    bottom: -34px;
    width: 100px;
    height: 100px;
    border: 1px solid rgba(127, 101, 218, 0.14);
    border-radius: 50%;
    content: "";
    box-shadow: 0 0 0 18px rgba(64, 169, 191, 0.025);
}

.cd-seo-location-tab:hover {
    border-color: rgba(144, 117, 228, 0.36);
    transform: translateY(-4px);
    box-shadow: 0 22px 46px rgba(0, 8, 24, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

.cd-seo-location-tab.is-active {
    border-color: rgba(170, 145, 239, 0.5);
    color: #ffffff;
    background:
        linear-gradient(105deg, rgba(87, 61, 165, 0.86), rgba(42, 127, 175, 0.72)),
        url("../image/client_dashboard/world_map.svg") calc(80% + (var(--cd-location-offset, 0px))) center / 270px auto no-repeat;
    box-shadow: 0 22px 50px rgba(35, 25, 93, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.cd-seo-location-tab-icon {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    place-items: center;
    border: 1px solid rgba(123, 197, 220, 0.22);
    border-radius: 14px;
    color: #76d6eb;
    background: rgba(52, 145, 181, 0.12);
}

.cd-seo-location-tab.is-active .cd-seo-location-tab-icon {
    border-color: rgba(255, 255, 255, 0.36);
    color: #ffffff;
    background: rgba(255, 255, 255, 0.13);
}

.cd-seo-location-tab > span:nth-child(2) {
    min-width: 0;
    flex: 1;
}

.cd-seo-location-tab small,
.cd-seo-location-tab strong {
    display: block;
}

.cd-seo-location-tab small {
    color: #85a0b1;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.cd-seo-location-tab strong {
    margin-top: 3px;
    color: inherit;
    font-family: "Sora", sans-serif;
}

.cd-seo-location-tab em {
    position: relative;
    z-index: 1;
    min-width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    color: #c9dce6;
    background: rgba(255, 255, 255, 0.07);
    font-size: 12px;
    font-style: normal;
    font-weight: 800;
}

.cd-seo-location-tab.is-active small,
.cd-seo-location-tab.is-active em {
    color: #ffffff;
}

.cd-seo-competitor-tabs {
    padding: 12px;
    border: 1px solid rgba(104, 164, 194, 0.14);
    border-radius: 16px;
    background: rgba(3, 17, 28, 0.38);
}

.cd-seo-competitor-tab {
    min-width: 150px;
    border-radius: 12px;
}

html[data-theme="light"] .cd-seo-keyword-toolbar,
html[data-theme="light"] .cd-seo-keyword-location {
    border-color: rgba(66, 116, 148, 0.13);
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 18px 38px rgba(45, 77, 101, 0.09), inset 0 1px 0 #ffffff;
}

html[data-theme="light"] .cd-seo-keyword-location-heading {
    border-bottom-color: rgba(62, 111, 141, 0.1);
    background:
        radial-gradient(circle at 96% 0%, rgba(151, 119, 220, 0.12), transparent 14rem),
        linear-gradient(115deg, rgba(235, 245, 250, 0.96), rgba(248, 251, 253, 0.95));
}

html[data-theme="light"] .cd-seo-keyword-toolbar-copy > div strong,
html[data-theme="light"] .cd-seo-keyword-location-heading h2 {
    color: #17384e;
}

html[data-theme="light"] .cd-seo-keyword-toolbar-copy > div span,
html[data-theme="light"] .cd-seo-keyword-location-heading > div > span,
html[data-theme="light"] .cd-seo-keyword-location-heading p {
    color: #607c8f;
}

html[data-theme="light"] .cd-seo-keyword-search input {
    color: #17384e;
    border-color: rgba(64, 111, 141, 0.15);
    background: #ffffff;
    box-shadow: inset 0 1px 0 #ffffff;
}

html[data-theme="light"] .cd-seo-keyword-page-tabs {
    border-bottom-color: rgba(61, 108, 138, 0.1);
}

html[data-theme="light"] .cd-seo-keyword-page-tab {
    color: #59768a;
    border-color: rgba(67, 116, 146, 0.12);
    background: rgba(239, 247, 251, 0.88);
}

html[data-theme="light"] .cd-seo-location-tab {
    color: #17384e;
    border-color: rgba(65, 112, 143, 0.14);
    background:
        linear-gradient(105deg, rgba(255, 255, 255, 0.88), rgba(230, 242, 248, 0.76)),
        url("../image/client_dashboard/world_map.svg") calc(80% + (var(--cd-location-offset, 0px))) center / 270px auto no-repeat;
    box-shadow: 0 17px 36px rgba(45, 78, 102, 0.1), inset 0 1px 0 #ffffff;
}

html[data-theme="light"] .cd-seo-location-tab small {
    color: #637f91;
}

html[data-theme="light"] .cd-seo-competitor-tabs {
    border-color: rgba(66, 113, 143, 0.12);
    background: rgba(239, 247, 251, 0.84);
}

/* Audit contrast and responsive arrangement review. */
.cd-audit-admin-report {
    align-items: stretch;
}

.cd-audit-admin-report .card,
.cd-audit-admin-report .audit-report-top-card,
.cd-audit-admin-report .audit-report-priority-card,
.cd-audit-admin-report .audit-report-card,
.cd-audit-admin-report .audit-report-screenshot-preview,
.cd-audit-admin-report .audit-report-category-score-overview,
.cd-audit-admin-report .audit-report-recommendations-overview {
    overflow: hidden;
    border: 1px solid rgba(104, 171, 203, 0.2);
    border-radius: 18px;
    background: linear-gradient(145deg, rgba(8, 27, 41, 0.98), rgba(5, 20, 32, 0.97));
    box-shadow: 0 18px 42px rgba(0, 7, 18, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.cd-audit-admin-report .card-body,
.cd-audit-admin-report .audit-report-card-body {
    color: #d9e8f0;
    background: transparent;
}

.cd-audit-admin-report .audit-report-card-title,
.cd-audit-admin-report .audit-report-block-title strong,
.cd-audit-admin-report .audit-report-priority-card-header strong,
.cd-audit-admin-report .audit-rich-block-title,
.cd-audit-admin-report .audit-report-summary-card strong,
.cd-audit-admin-report .audit-report-progress-summary-metric strong {
    color: #f0f7fa;
}

.cd-audit-admin-report .audit-report-block-title {
    border-bottom-color: rgba(115, 183, 214, 0.2);
    color: #eaf5fa;
    background:
        radial-gradient(circle at 100% 0%, rgba(124, 94, 218, 0.13), transparent 13rem),
        linear-gradient(110deg, rgba(18, 47, 67, 0.92), rgba(10, 34, 51, 0.88));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.cd-audit-admin-report .audit-report-block-title .audit-report-card-heading-copy > strong,
.cd-audit-admin-report .audit-report-block-title .audit-report-screenshot-title-copy > strong {
    color: #f3fbff;
}

.cd-audit-admin-report .audit-report-block-title .audit-report-section-kicker {
    color: #75d9e8;
}

.cd-audit-admin-report .audit-report-block-title-actions > span {
    color: #dff4fb;
    background: rgba(102, 190, 219, 0.13);
    box-shadow: inset 0 0 0 1px rgba(112, 202, 231, 0.13);
}

.cd-audit-admin-report .audit-report-summary-card,
.cd-audit-admin-report .audit-report-progress-summary-card,
.cd-audit-admin-report .audit-report-recommendation-overview-item,
.cd-audit-admin-report .audit-report-category-score-table,
.cd-audit-admin-report .audit-report-detail,
.cd-audit-admin-report .audit-report-details {
    border-color: rgba(107, 172, 203, 0.18);
    color: #d7e6ee;
    background: rgba(255, 255, 255, 0.035);
}

.cd-audit-admin-report .audit-report-priority-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.cd-audit-admin-report .audit-report-priority-list li {
    border-color: rgba(105, 168, 198, 0.14);
    color: #d8e7ee;
}

.cd-audit-admin-report .audit-report-screenshot-card {
    border-color: transparent;
}

.cd-audit-admin-report .audit-report-screenshot-card img {
    display: block;
    width: 100%;
    height: auto;
}

.cd-audit-admin-report .audit-report-card-header:hover {
    background: linear-gradient(100deg, rgba(111, 80, 199, 0.12), rgba(49, 139, 184, 0.08));
}

.cd-audit-admin-report .audit-report-card-header:focus-visible {
    outline: 2px solid #8d72e4;
    outline-offset: -2px;
}

.cd-audit-admin-report .audit-report-description,
.cd-audit-admin-report .audit-report-subtitle,
.cd-audit-admin-report .audit-report-progress-summary-description,
.cd-audit-admin-report .audit-rich-lighthouse-description,
.cd-audit-admin-report .audit-rich-mini-note,
.cd-audit-admin-report .audit-report-estimated-time span {
    color: #96aebb !important;
}

html[data-theme="light"] .cd-audit-admin-report .card,
html[data-theme="light"] .cd-audit-admin-report .audit-report-priority-card,
html[data-theme="light"] .cd-audit-admin-report .audit-report-card,
html[data-theme="light"] .cd-audit-admin-report .audit-report-screenshot-preview,
html[data-theme="light"] .cd-audit-admin-report .audit-report-category-score-overview,
html[data-theme="light"] .cd-audit-admin-report .audit-report-recommendations-overview {
    border-color: rgba(61, 111, 142, 0.14);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.99), rgba(241, 248, 251, 0.98));
    box-shadow: 0 18px 38px rgba(45, 77, 101, 0.1), inset 0 1px 0 #ffffff;
}

html[data-theme="light"] .cd-audit-admin-report .card-body,
html[data-theme="light"] .cd-audit-admin-report .audit-report-card-body,
html[data-theme="light"] .cd-audit-admin-report .audit-report-summary-card,
html[data-theme="light"] .cd-audit-admin-report .audit-report-progress-summary-card,
html[data-theme="light"] .cd-audit-admin-report .audit-report-recommendation-overview-item,
html[data-theme="light"] .cd-audit-admin-report .audit-report-category-score-table,
html[data-theme="light"] .cd-audit-admin-report .audit-report-detail,
html[data-theme="light"] .cd-audit-admin-report .audit-report-details {
    color: #36586d;
    background: rgba(255, 255, 255, 0.78);
}

html[data-theme="light"] .cd-audit-admin-report .audit-report-card-title,
html[data-theme="light"] .cd-audit-admin-report .audit-report-block-title strong,
html[data-theme="light"] .cd-audit-admin-report .audit-report-priority-card-header strong,
html[data-theme="light"] .cd-audit-admin-report .audit-rich-block-title,
html[data-theme="light"] .cd-audit-admin-report .audit-report-summary-card strong,
html[data-theme="light"] .cd-audit-admin-report .audit-report-progress-summary-metric strong {
    color: #17384e;
}

html[data-theme="light"] .cd-audit-admin-report .audit-report-block-title {
    border-bottom-color: rgba(65, 108, 137, 0.14);
    color: #294c63;
    background:
        radial-gradient(circle at 100% 0%, rgba(119, 88, 211, 0.07), transparent 13rem),
        linear-gradient(110deg, rgba(255, 255, 255, 0.98), rgba(239, 247, 250, 0.96));
    box-shadow: inset 0 1px 0 #ffffff;
}

html[data-theme="light"] .cd-audit-admin-report .audit-report-block-title .audit-report-card-heading-copy > strong,
html[data-theme="light"] .cd-audit-admin-report .audit-report-block-title .audit-report-screenshot-title-copy > strong {
    color: #294c63;
}

html[data-theme="light"] .cd-audit-admin-report .audit-report-block-title .audit-report-section-kicker {
    color: #176f9b;
}

html[data-theme="light"] .cd-audit-admin-report .audit-report-block-title-actions > span {
    color: #31576e;
    background: rgba(54, 137, 181, 0.09);
    box-shadow: inset 0 0 0 1px rgba(54, 137, 181, 0.09);
}

html[data-theme="light"] .cd-audit-admin-report .audit-report-description,
html[data-theme="light"] .cd-audit-admin-report .audit-report-subtitle,
html[data-theme="light"] .cd-audit-admin-report .audit-report-progress-summary-description,
html[data-theme="light"] .cd-audit-admin-report .audit-rich-lighthouse-description,
html[data-theme="light"] .cd-audit-admin-report .audit-rich-mini-note,
html[data-theme="light"] .cd-audit-admin-report .audit-report-estimated-time span {
    color: #607d8f !important;
}

@media (max-width: 1100px) {
    .cd-seo-keyword-stats {
        grid-template-columns: repeat(2, minmax(170px, 1fr));
    }

    .cd-audit-admin-report .audit-report-priority-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    .cd-seo-keyword-toolbar {
        align-items: stretch;
        flex-direction: column;
    }

    .cd-seo-keyword-search {
        width: 100%;
        flex-basis: auto;
    }

    .cd-seo-location-tab {
        min-width: 220px;
    }

    .cd-document-view-shell.is-fullscreen {
        padding: 82px 10px 10px;
    }

    .cd-document-view-shell.is-fullscreen .cd-document-view-actions {
        width: 100%;
        justify-content: flex-end;
        gap: 6px;
    }
}

@media (max-width: 560px) {
    .cd-seo-keyword-stats {
        grid-template-columns: 1fr;
    }

    .cd-seo-keyword-location-heading {
        align-items: flex-start;
        flex-wrap: wrap;
    }

    .cd-seo-keyword-location-heading > strong {
        margin-left: 60px;
    }
}

.cd-audit-admin-report .audit-report-top-card {
    border-color: rgba(158, 128, 235, 0.34);
}

.cd-audit-admin-report .audit-report-top-card .text-muted,
.cd-audit-admin-report .audit-report-top-card small,
.cd-audit-admin-report .audit-report-top-card .audit-report-description,
.cd-audit-admin-report .audit-report-top-card strong,
.cd-audit-admin-report .audit-report-top-card span {
    color: inherit !important;
}

.cd-audit-admin-report .audit-report-priority-critical {
    border-color: rgba(226, 85, 111, 0.3);
    background: linear-gradient(145deg, rgba(72, 26, 42, 0.95), rgba(20, 25, 38, 0.96));
}

.cd-audit-admin-report .audit-report-priority-important {
    border-color: rgba(226, 171, 75, 0.28);
    background: linear-gradient(145deg, rgba(69, 50, 24, 0.94), rgba(20, 28, 39, 0.96));
}

.cd-audit-admin-report .audit-report-priority-optional {
    border-color: rgba(67, 186, 130, 0.28);
    background: linear-gradient(145deg, rgba(24, 61, 49, 0.94), rgba(18, 28, 39, 0.96));
}

html[data-theme="light"] .cd-audit-admin-report .audit-report-priority-critical {
    border-color: rgba(190, 61, 86, 0.18);
    background: linear-gradient(145deg, #fff5f7, #ffffff);
}

html[data-theme="light"] .cd-audit-admin-report .audit-report-priority-important {
    border-color: rgba(174, 123, 36, 0.18);
    background: linear-gradient(145deg, #fffaf0, #ffffff);
}

html[data-theme="light"] .cd-audit-admin-report .audit-report-priority-optional {
    border-color: rgba(42, 139, 91, 0.18);
    background: linear-gradient(145deg, #f2fcf7, #ffffff);
}
:root {
    --cd-sidebar-compact-width: 84px;
}

.cd-menu-toggle {
    display: inline-flex;
    flex: 0 0 42px;
}

.cd-app-shell,
.cd-sidebar,
.cd-main,
.cd-nav-item,
.cd-nav-item > span,
.cd-nav-item > i,
.cd-sidebar-cosmos {
    transition:
        width 360ms cubic-bezier(0.16, 1, 0.3, 1),
        grid-template-columns 360ms cubic-bezier(0.16, 1, 0.3, 1),
        padding 360ms cubic-bezier(0.16, 1, 0.3, 1),
        gap 280ms ease,
        opacity 220ms ease,
        transform 360ms cubic-bezier(0.16, 1, 0.3, 1);
}

html.cd-sidebar-collapsed .cd-app-shell {
    grid-template-columns: var(--cd-sidebar-compact-width) minmax(0, 1fr);
}

html.cd-sidebar-collapsed .cd-sidebar {
    width: var(--cd-sidebar-compact-width);
    padding-right: 11px;
    padding-left: 11px;
}

html.cd-sidebar-collapsed .cd-nav-item {
    justify-content: center;
    gap: 0;
    padding-right: 0;
    padding-left: 0;
}

html.cd-sidebar-collapsed .cd-nav-item > span {
    width: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateX(-8px);
    white-space: nowrap;
}

html.cd-sidebar-collapsed .cd-nav-item > i {
    width: 24px;
    font-size: 17px;
}

html.cd-sidebar-collapsed .cd-nav::before {
    right: 5px;
    left: 5px;
}

html.cd-sidebar-collapsed .cd-sidebar-cosmos {
    right: -11px;
    left: -11px;
    opacity: 0.72;
    transform: scale(0.82) translateY(18px);
}

.cd-sidebar {
    isolation: isolate;
}

.cd-sidebar .cd-nav {
    position: relative;
    z-index: 3;
}

.cd-sidebar-cosmos {
    position: absolute;
    z-index: 1;
    top: 54%;
    right: 0;
    bottom: 0;
    left: 0;
    overflow: hidden;
    pointer-events: none;
    opacity: 0.92;
}

.cd-sidebar-cosmos::before {
    position: absolute;
    right: -74px;
    bottom: -78px;
    width: 230px;
    height: 230px;
    border: 1px solid rgba(119, 101, 220, 0.17);
    border-radius: 50%;
    content: "";
    box-shadow:
        0 0 0 28px rgba(70, 166, 201, 0.035),
        0 0 0 64px rgba(129, 91, 210, 0.025);
}

.cd-sidebar-cosmos::after {
    position: absolute;
    right: -30px;
    bottom: 18px;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    content: "";
    background:
        radial-gradient(circle at 34% 28%, rgba(255, 255, 255, 0.32) 0 2px, transparent 3px),
        radial-gradient(circle at 62% 64%, rgba(66, 199, 218, 0.24), transparent 44%),
        linear-gradient(145deg, rgba(107, 76, 191, 0.34), rgba(35, 113, 163, 0.12));
    filter: blur(0.2px);
    box-shadow: -28px -18px 58px rgba(93, 73, 193, 0.12);
}

.cd-sidebar-star {
    position: absolute;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #dff8ff;
    box-shadow: 0 0 9px rgba(122, 224, 255, 0.92);
    animation: cd-sidebar-star-pulse 2.8s ease-in-out infinite;
}

.cd-sidebar-star-one { top: 12%; left: 18%; }
.cd-sidebar-star-two { top: 29%; right: 22%; animation-delay: -0.9s; }
.cd-sidebar-star-three { top: 46%; left: 42%; animation-delay: -1.7s; }

.cd-sidebar-planet {
    position: absolute;
    border-radius: 50%;
}

.cd-sidebar-planet-one {
    top: 12%;
    right: 18px;
    width: 36px;
    height: 36px;
    border: 1px solid rgba(180, 145, 239, 0.3);
    background: radial-gradient(circle at 34% 28%, #d8c4ff, #7658bd 58%, #263c67 100%);
    box-shadow: 0 12px 32px rgba(73, 52, 147, 0.28);
}

.cd-sidebar-planet-one::after {
    position: absolute;
    top: 15px;
    left: -8px;
    width: 50px;
    height: 8px;
    border: 1px solid rgba(140, 215, 235, 0.38);
    border-radius: 50%;
    content: "";
    transform: rotate(-14deg);
}

.cd-sidebar-planet-two {
    right: 86px;
    bottom: 18px;
    width: 18px;
    height: 18px;
    background: linear-gradient(145deg, #62d6e4, #28749d);
    box-shadow: 0 0 20px rgba(62, 194, 214, 0.34);
}

.cd-sidebar-orbit {
    position: absolute;
    right: 18px;
    bottom: 26px;
    width: 190px;
    height: 94px;
    border: 1px solid rgba(132, 108, 221, 0.16);
    border-radius: 50%;
    transform: rotate(-24deg);
}

.cd-sidebar-rocket {
    position: absolute;
    z-index: 2;
    place-items: center;
    color: #ffffff;
}

.cd-sidebar-rocket i {
    transform: rotate(38deg);
}

.cd-sidebar-rocket-trail {
    position: absolute;
}

html[data-theme="light"] .cd-sidebar-cosmos {
    opacity: 0.72;
}

html[data-theme="light"] .cd-sidebar-rocket {
    border-color: rgba(255, 255, 255, 0.9);
}

@keyframes cd-sidebar-star-pulse {
    0%, 100% { opacity: 0.45; transform: scale(0.85); }
    50% { opacity: 1; transform: scale(1.35); }
}

@keyframes cd-sidebar-rocket-float {
    0%, 100% { transform: translate3d(0, 0, 0) rotate(-38deg); }
    50% { transform: translate3d(-5px, -9px, 0) rotate(-35deg); }
}

/* Keep fullscreen document actions in the fixed banner flow. */
.cd-document-view-shell.is-fullscreen {
    padding-top: 82px;
}

.cd-document-view-shell.is-fullscreen .cd-page-heading.cd-page-banner {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    overflow: visible;
}

.cd-document-view-shell.is-fullscreen .cd-page-banner-actions.cd-document-view-actions {
    position: static !important;
    width: auto;
    margin: 0 0 0 auto;
    padding: 0;
    transform: none !important;
}

/* Shared report-card and tab motion remains restrained and theme-safe. */
.cd-task-report-stat,
.cd-seo-report-tab {
    isolation: isolate;
    overflow: hidden;
}

.cd-task-report-stat::before,
.cd-seo-report-tab::before {
    position: absolute;
    z-index: 0;
    inset: -28% -18%;
    width: auto;
    height: auto;
    border: 0;
    border-radius: 50%;
    box-shadow: none;
    content: "";
    opacity: 0;
    background: radial-gradient(circle at 78% 24%, rgba(132, 111, 222, 0.18), rgba(57, 145, 190, 0.08) 38%, transparent 70%);
    transform: translate3d(8px, 4px, 0) scale(0.98);
    transition: opacity 240ms ease, transform 360ms cubic-bezier(0.16, 1, 0.3, 1);
}

.cd-task-report-stat:hover::before,
.cd-seo-report-tab:hover::before,
.cd-seo-report-tab.is-active::before {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
}

.cd-task-report-stat > *,
.cd-seo-report-tab > * {
    position: relative;
    z-index: 1;
}

.cd-task-report-stat:hover {
    border-color: rgba(112, 177, 213, 0.26);
    box-shadow: 0 18px 38px rgba(0, 8, 20, 0.19), inset 0 1px 0 rgba(255, 255, 255, 0.075);
    transform: translateY(-2px);
}

.cd-seo-report-tab {
    position: relative;
    transition: transform 220ms ease, color 180ms ease, border-color 180ms ease, box-shadow 220ms ease;
}

.cd-seo-report-tab.is-active {
    color: #ffffff;
    border-color: rgba(169, 144, 238, 0.36);
    background: linear-gradient(115deg, rgba(111, 78, 191, 0.92), rgba(48, 126, 174, 0.94) 68%, rgba(37, 152, 157, 0.9));
    box-shadow: 0 12px 25px rgba(20, 25, 69, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.22);
    transform: translateY(-1px);
}

/* Report page order and SEO shadows. */
.cd-report-workspace-seo,
.cd-report-workspace-seo-report,
.cd-seo-report-interface,
.cd-seo-report-panels,
.cd-seo-report-panel {
    overflow: visible !important;
}

.cd-report-workspace-seo > .cd-report-tabs,
.cd-report-workspace-audit > .cd-report-tabs {
    margin-bottom: 14px;
}

.cd-seo-location-tabs,
.cd-seo-keyword-page-tabs {
    scrollbar-width: thin;
    scrollbar-color: rgba(126, 100, 215, 0.72) rgba(81, 132, 162, 0.09);
}

.cd-seo-location-tabs::-webkit-scrollbar,
.cd-seo-keyword-page-tabs::-webkit-scrollbar {
    height: 8px;
}

.cd-seo-location-tabs::-webkit-scrollbar-track,
.cd-seo-keyword-page-tabs::-webkit-scrollbar-track {
    border-radius: 999px;
    background: rgba(74, 127, 157, 0.08);
}

.cd-seo-location-tabs::-webkit-scrollbar-thumb,
.cd-seo-keyword-page-tabs::-webkit-scrollbar-thumb {
    border: 2px solid transparent;
    border-radius: 999px;
    background: linear-gradient(90deg, #7659bd, #398dbc, #2d9ea8) padding-box;
}

.cd-seo-location-tab {
    scroll-snap-align: start;
}

.cd-seo-location-tabs {
    scroll-snap-type: x proximity;
}

.cd-seo-keyword-location[hidden],
.cd-seo-competitor-location[hidden] {
    display: none !important;
}

.cd-seo-keyword-heading-actions {
    display: flex;
    flex: 0 1 min(430px, 45%);
    gap: 12px;
    margin-left: auto;
}

.cd-seo-keyword-location-total {
    flex: 0 0 44px;
    place-items: center;
    border: 1px solid rgba(138, 116, 226, 0.28);
    border-radius: 12px;
    color: #d8cfff;
    background: rgba(111, 82, 202, 0.13);
    font-size: 15px;
}

html[data-theme="light"] .cd-seo-keyword-location-total {
    color: #694db2;
    border-color: rgba(110, 83, 190, 0.2);
    background: rgba(111, 82, 202, 0.08);
}

/* Futuristic audit summary, animated score and device frames. */
@property --audit-score-progress {
    syntax: "<percentage>";
    inherits: false;
    initial-value: 0%;
}

.cd-audit-admin-report .audit-report-top-card {
    position: relative;
    isolation: isolate;
    display: grid;
    min-height: 250px;
    grid-template-columns: minmax(150px, 190px) minmax(0, 1fr);
    align-items: center;
    gap: clamp(22px, 4vw, 52px);
    overflow: hidden;
    padding: clamp(24px, 4vw, 44px);
    border: 1px solid rgba(126, 106, 218, 0.34);
    border-radius: 24px;
    color: #eaf6fb;
    background:
        radial-gradient(circle at 82% 12%, rgba(139, 97, 222, 0.24), transparent 20rem),
        radial-gradient(circle at 12% 110%, rgba(47, 179, 194, 0.17), transparent 18rem),
        linear-gradient(132deg, rgba(12, 30, 47, 0.98), rgba(10, 26, 43, 0.98) 58%, rgba(15, 39, 55, 0.98));
    box-shadow: 0 28px 70px rgba(0, 6, 20, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.cd-audit-admin-report .audit-report-top-card::before {
    position: absolute;
    z-index: -1;
    inset: 0;
    content: "";
    background:
        radial-gradient(circle at 18% 18%, rgba(255, 255, 255, 0.72) 0 1px, transparent 2px),
        radial-gradient(circle at 74% 34%, rgba(159, 228, 244, 0.48) 0 1px, transparent 2px),
        radial-gradient(circle at 88% 72%, rgba(211, 180, 255, 0.54) 0 1px, transparent 2px),
        radial-gradient(circle at 42% 82%, rgba(255, 255, 255, 0.38) 0 1px, transparent 2px);
    background-size: 170px 150px, 230px 190px, 190px 210px, 280px 220px;
    opacity: 0.52;
}

.cd-audit-admin-report .audit-report-top-card::after {
    position: absolute;
    z-index: -1;
    right: -48px;
    bottom: -72px;
    width: 250px;
    height: 250px;
    border: 1px solid rgba(167, 137, 235, 0.2);
    border-radius: 50%;
    content: "";
    box-shadow: 0 0 0 34px rgba(68, 171, 198, 0.035), 0 0 0 72px rgba(131, 92, 210, 0.025);
}

.cd-audit-admin-report .audit-report-score-circle {
    --audit-score-progress: 0%;
    position: relative;
    aspect-ratio: 1;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 50%;
    background:
        radial-gradient(circle at center, rgba(8, 26, 42, 0.98) 0 57%, transparent 58%),
        conic-gradient(var(--audit-score-color, #7c61cc) var(--audit-score-progress), rgba(115, 151, 177, 0.16) 0);
    animation: cd-audit-score-load 1.25s 160ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.cd-audit-admin-report .audit-report-score-circle::before {
    position: absolute;
    inset: 8px;
    border: 1px dashed rgba(185, 213, 228, 0.17);
    border-radius: 50%;
    content: "";
    animation: cd-audit-orbit-spin 15s linear infinite;
}

.cd-audit-admin-report .audit-report-score-circle > div {
    position: relative;
    z-index: 2;
    width: 68%;
    aspect-ratio: 1;
    display: grid;
    place-items: center;
    align-content: center;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 50%;
    background: linear-gradient(145deg, rgba(18, 42, 60, 0.96), rgba(7, 23, 38, 0.98));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.cd-audit-admin-report .audit-report-score-circle-success { --audit-score-color: #4bd2a2; }
.cd-audit-admin-report .audit-report-score-circle-warning { --audit-score-color: #f3b95f; }
.cd-audit-admin-report .audit-report-score-circle-danger { --audit-score-color: #ef7188; }

@keyframes cd-audit-score-load {
    from { --audit-score-progress: 0%; transform: scale(0.86) rotate(-8deg); opacity: 0; }
    to { --audit-score-progress: var(--audit-score); transform: scale(1) rotate(0); opacity: 1; }
}

@keyframes cd-audit-orbit-spin {
    to { transform: rotate(360deg); }
}

html[data-theme="light"] .cd-audit-admin-report .audit-report-top-card {
    color: #17384e;
    border-color: rgba(91, 79, 177, 0.2);
    background:
        radial-gradient(circle at 82% 12%, rgba(151, 119, 220, 0.14), transparent 20rem),
        radial-gradient(circle at 12% 110%, rgba(56, 183, 190, 0.1), transparent 18rem),
        linear-gradient(132deg, #ffffff, #eef7fb 58%, #edf8f7);
    box-shadow: 0 28px 62px rgba(49, 72, 103, 0.13), inset 0 1px 0 #ffffff;
}

html[data-theme="light"] .cd-audit-admin-report .audit-report-score-circle {
    background:
        radial-gradient(circle at center, #f9fcfe 0 57%, transparent 58%),
        conic-gradient(var(--audit-score-color, #7c61cc) var(--audit-score-progress), rgba(79, 125, 153, 0.13) 0);
    box-shadow: 0 22px 44px rgba(65, 70, 126, 0.16), inset 0 0 0 1px #ffffff;
}

html[data-theme="light"] .cd-audit-admin-report .audit-report-score-circle > div {
    border-color: rgba(70, 117, 147, 0.13);
    background: linear-gradient(145deg, #ffffff, #edf6fa);
    box-shadow: inset 0 1px 0 #ffffff;
}

.cd-audit-admin-report .audit-report-screenshot-grid {
    align-items: center;
    grid-template-columns: minmax(0, 1.8fr) minmax(220px, 0.65fr);
    gap: 28px;
}

.cd-audit-admin-report .audit-report-screenshot-card {
    position: relative;
    overflow: visible;
    border: 0;
    background: transparent !important;
    box-shadow: none;
}

.cd-audit-admin-report .audit-report-screenshot-desktop {
    margin-bottom: 28px;
    padding: 18px 18px 26px;
    border: 8px solid #122737;
    border-radius: 18px;
    background: #071723 !important;
    box-shadow: 0 24px 58px rgba(0, 5, 18, 0.34), inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.cd-audit-admin-report .audit-report-screenshot-desktop::before {
    position: absolute;
    top: 7px;
    left: 50%;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #4da9c3;
    content: "";
    box-shadow: 0 0 8px rgba(77, 193, 216, 0.72);
    transform: translateX(-50%);
}

.cd-audit-admin-report .audit-report-screenshot-desktop::after {
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    width: 116px;
    height: 22px;
    border-radius: 4px 4px 14px 14px;
    background: linear-gradient(180deg, #1a3446, #0d2231);
    content: "";
    box-shadow: 0 8px 18px rgba(0, 5, 16, 0.24);
    clip-path: polygon(39% 0, 61% 0, 68% 55%, 100% 72%, 100% 100%, 0 100%, 0 72%, 32% 55%);
    transform: translateX(-50%);
}

.cd-audit-admin-report .audit-report-screenshot-mobile {
    width: min(100%, 300px);
    margin: 0 auto;
    padding: 24px 9px 20px;
    border: 9px solid #122737;
    border-radius: 34px;
    background: #071723 !important;
    box-shadow: 0 24px 54px rgba(0, 5, 18, 0.32), inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.cd-audit-admin-report .audit-report-screenshot-mobile::before {
    position: absolute;
    top: 7px;
    left: 50%;
    width: 54px;
    height: 7px;
    border-radius: 999px;
    background: #06131d;
    content: "";
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
    transform: translateX(-50%);
}

.cd-audit-admin-report .audit-report-screenshot-card img {
    overflow: hidden;
    border-radius: 7px;
    background: #ffffff;
}

html[data-theme="light"] .cd-audit-admin-report .audit-report-screenshot-desktop,
html[data-theme="light"] .cd-audit-admin-report .audit-report-screenshot-mobile {
    border-color: #d7e5ed;
    background: #eef5f8 !important;
    box-shadow: 0 24px 54px rgba(44, 70, 91, 0.16), inset 0 0 0 1px #ffffff;
}

html[data-theme="light"] .cd-audit-admin-report .audit-report-screenshot-desktop::after {
    background: linear-gradient(180deg, #d7e4eb, #b6cbd7);
}

.cd-audit-admin-report .audit-report-priority-card-header,
.cd-audit-admin-report .audit-report-card-header.audit-report-card-accordion-toggle {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    border-bottom-color: rgba(156, 187, 205, 0.18);
    background:
        radial-gradient(circle at 94% 0%, rgba(151, 116, 231, 0.18), transparent 13rem),
        linear-gradient(110deg, rgba(255, 255, 255, 0.095), rgba(255, 255, 255, 0.045));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.09);
}

.cd-audit-admin-report .audit-report-priority-card-header::after,
.cd-audit-admin-report .audit-report-card-header.audit-report-card-accordion-toggle::after {
    position: absolute;
    z-index: -1;
    right: -32px;
    bottom: -48px;
    width: 110px;
    height: 110px;
    border: 1px solid rgba(157, 127, 230, 0.18);
    border-radius: 50%;
    content: "";
    box-shadow: 0 0 0 18px rgba(58, 172, 195, 0.035);
}

html[data-theme="light"] .cd-audit-admin-report .audit-report-priority-card-header,
html[data-theme="light"] .cd-audit-admin-report .audit-report-card-header.audit-report-card-accordion-toggle {
    border-bottom-color: rgba(61, 110, 140, 0.12);
    background:
        radial-gradient(circle at 94% 0%, rgba(151, 116, 231, 0.1), transparent 13rem),
        linear-gradient(110deg, rgba(255, 255, 255, 0.98), rgba(235, 246, 250, 0.92));
    box-shadow: inset 0 1px 0 #ffffff;
}

@media (max-width: 960px) {
    html.cd-sidebar-collapsed .cd-app-shell {
        display: block;
    }

    html.cd-sidebar-collapsed .cd-sidebar {
        width: var(--cd-sidebar-width);
        padding: 22px 16px;
    }

    html.cd-sidebar-collapsed .cd-nav-item {
        justify-content: flex-start;
        gap: 13px;
        padding: 0 15px;
    }

    html.cd-sidebar-collapsed .cd-nav-item > span {
        width: auto;
        opacity: 1;
        transform: none;
    }

    .cd-audit-admin-report .audit-report-top-card {
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
    }

    .cd-audit-admin-report .audit-report-top-meta {
        justify-content: center;
    }

    .cd-audit-admin-report .audit-report-screenshot-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    .cd-document-view-shell.is-fullscreen {
        padding-top: 76px;
    }

    .cd-document-view-shell.is-fullscreen .cd-page-heading.cd-page-banner {
        min-height: 62px;
        height: 62px;
        padding: 7px 10px;
    }

    .cd-document-view-shell.is-fullscreen .cd-page-banner-actions.cd-document-view-actions {
        min-height: 42px;
        gap: 6px;
    }

    .cd-seo-keyword-location-heading {
        align-items: flex-start;
        flex-wrap: wrap;
    }

    .cd-seo-keyword-heading-actions {
        width: 100%;
        max-width: none;
        flex-basis: 100%;
        margin-left: 0;
    }

    .cd-seo-keyword-heading-actions .cd-seo-keyword-search {
        max-width: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .cd-sidebar-star,
    .cd-sidebar-rocket,
    .cd-audit-admin-report .audit-report-score-circle,
    .cd-audit-admin-report .audit-report-score-circle::before,
    .cd-seo-report-tab.is-active i {
        animation: none !important;
    }

    .cd-audit-admin-report .audit-report-score-circle {
        --audit-score-progress: var(--audit-score);
    }
}

/* Final dimensional resets for the animated audit score and galaxy orbit. */
.cd-audit-admin-report .audit-report-top-card::after {
    top: auto;
    left: auto;
}

.cd-audit-admin-report .audit-report-score-circle {
    height: auto;
}

.cd-audit-admin-report .audit-report-score-circle > div {
    height: auto;
}

.cd-audit-admin-report .audit-report-top-card .audit-report-top-kicker,
.cd-audit-admin-report .audit-report-top-card .audit-report-top-title span,
.cd-audit-admin-report .audit-report-top-card .audit-report-top-title strong,
.cd-audit-admin-report .audit-report-top-card .audit-report-top-content p {
    color: inherit !important;
}

.cd-audit-admin-report .audit-report-top-card .audit-report-top-content p {
    max-width: 760px;
    opacity: 0.78;
}

.cd-audit-admin-report .audit-report-top-card .audit-report-top-meta {
    flex-direction: row;
}

.cd-audit-admin-report .audit-report-top-card .audit-report-top-meta span {
    color: #d9eaf2 !important;
    border-color: rgba(175, 207, 222, 0.16);
    background: rgba(255, 255, 255, 0.06);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.055);
}

html[data-theme="light"] .cd-audit-admin-report .audit-report-top-card .audit-report-top-meta span {
    color: #365a70 !important;
    border-color: rgba(64, 111, 141, 0.13);
    background: rgba(255, 255, 255, 0.74);
    box-shadow: inset 0 1px 0 #ffffff;
}

.cd-audit-admin-report .audit-report-screenshot-preview {
    overflow: visible;
}

.cd-audit-admin-report .audit-report-screenshot-grid {
    padding-bottom: 42px;
}
.cd-logout-form .cd-nav-button {
    isolation: isolate;
    overflow: hidden;
}

.cd-logout-form .cd-nav-button::before {
    position: absolute;
    z-index: 0;
    inset: -40% auto -40% -55%;
    width: 42%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.38), transparent);
    content: "";
    opacity: 0;
    transform: skewX(-20deg);
    transition: left 520ms cubic-bezier(0.16, 1, 0.3, 1), opacity 180ms ease;
}

.cd-logout-form .cd-nav-button:hover,
.cd-logout-form .cd-nav-button:focus-visible,
html[data-theme="light"] .cd-logout-form .cd-nav-button:hover,
html[data-theme="light"] .cd-logout-form .cd-nav-button:focus-visible {
    color: #ffffff !important;
    border-color: rgba(255, 147, 164, 0.64);
    background: linear-gradient(115deg, #c23f5d, #8d396e 56%, #4f65a8);
    box-shadow: 0 16px 34px rgba(111, 27, 62, 0.34), inset 3px 0 0 rgba(255, 255, 255, 0.76), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.cd-logout-form .cd-nav-button:hover::before,
.cd-logout-form .cd-nav-button:focus-visible::before {
    left: 118%;
    opacity: 1;
}

.cd-logout-form .cd-nav-button:hover > i,
.cd-logout-form .cd-nav-button:hover > span,
.cd-logout-form .cd-nav-button:focus-visible > i,
.cd-logout-form .cd-nav-button:focus-visible > span,
html[data-theme="light"] .cd-logout-form .cd-nav-button:hover > i,
html[data-theme="light"] .cd-logout-form .cd-nav-button:hover > span,
html[data-theme="light"] .cd-logout-form .cd-nav-button:focus-visible > i,
html[data-theme="light"] .cd-logout-form .cd-nav-button:focus-visible > span {
    color: #ffffff !important;
}

.cd-logout-form .cd-nav-button:hover > i,
.cd-logout-form .cd-nav-button:focus-visible > i {
    animation: cd-logout-icon-kick 560ms cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes cd-logout-icon-kick {
    0% { transform: translateX(0) scale(1); }
    38% { transform: translateX(8px) scale(1.18); opacity: 0; }
    39% { transform: translateX(-8px) scale(0.92); opacity: 0; }
    100% { transform: translateX(0) scale(1.08); opacity: 1; }
}

.cd-audit-admin-report .audit-report-grid {
    align-items: stretch;
}

.cd-audit-admin-report .audit-report-grid > .audit-report-card {
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.cd-audit-admin-report .audit-report-grid > .audit-report-card:not(.is-collapsed) {
    height: 100%;
    align-self: stretch;
}

.cd-audit-admin-report .audit-report-grid > .audit-report-card.is-collapsed {
    height: auto;
    align-self: start;
}

.cd-audit-admin-report .audit-report-card-body {
    height: 100%;
    flex: 1 1 auto;
}

.cd-audit-admin-report .audit-report-screenshot-heading {
    border-bottom: 1px solid rgba(133, 178, 202, 0.16);
    color: #eaf6fb;
    background:
        radial-gradient(circle at 100% 0%, rgba(139, 102, 222, 0.2), transparent 12rem),
        linear-gradient(110deg, rgba(15, 42, 59, 0.98), rgba(7, 27, 42, 0.98));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.cd-audit-admin-report .audit-report-screenshot-heading strong {
    color: #f3fbff !important;
}

.cd-audit-admin-report .audit-report-screenshot-heading small {
    color: #9db7c7 !important;
}

.cd-audit-admin-report .audit-report-screenshot-heading .audit-report-section-kicker {
    color: #74d5e5;
}

html[data-theme="light"] .cd-audit-admin-report .audit-report-screenshot-heading {
    border-bottom-color: rgba(62, 111, 141, 0.13);
    color: #203f53;
    background:
        radial-gradient(circle at 100% 0%, rgba(139, 102, 222, 0.1), transparent 12rem),
        linear-gradient(110deg, #ffffff, #eef7fa);
    box-shadow: inset 0 1px 0 #ffffff;
}

html[data-theme="light"] .cd-audit-admin-report .audit-report-screenshot-heading strong {
    color: #203f53 !important;
}

html[data-theme="light"] .cd-audit-admin-report .audit-report-screenshot-heading small {
    color: #617e90 !important;
}

.cd-audit-admin-report .audit-report-screenshot-grid {
    padding-top: 28px;
}

.cd-report-page > .cd-task-report-stats {
    width: 100%;
    margin-right: 0;
    margin-left: 0;
}

.cd-report-task-content {
    padding: clamp(18px, 2.4vw, 30px);
}

html[data-theme="light"] .cd-seo-location-tab.is-active {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    color: #ffffff;
    border-color: rgba(114, 211, 229, 0.62);
    background:
        linear-gradient(115deg, rgba(102, 72, 188, 0.91), rgba(48, 130, 179, 0.88) 62%, rgba(39, 157, 167, 0.88)),
        url("../image/client_dashboard/world_map.svg") calc(80% + var(--cd-location-offset, 0px)) center / 270px auto no-repeat;
    box-shadow: 0 18px 34px rgba(58, 75, 148, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

html[data-theme="light"] .cd-seo-location-tab.is-active::before {
    position: absolute;
    z-index: 0;
    inset: 0;
    background: url("../image/client_dashboard/world_map.svg") calc(80% + var(--cd-location-offset, 0px)) center / 270px auto no-repeat;
    content: "";
    opacity: 0.58;
    filter: brightness(1.55) contrast(1.12);
    mix-blend-mode: screen;
}

.cd-seo-location-tab > * {
    position: relative;
    z-index: 1;
}

html[data-theme="light"] .cd-seo-keyword-page-tab.is-active {
    color: #ffffff !important;
    border-color: rgba(122, 214, 229, 0.64);
    background: linear-gradient(115deg, #7656c5, #3988bb 64%, #2d9fab);
    box-shadow: 0 12px 26px rgba(56, 74, 143, 0.23), inset 0 1px 0 rgba(255, 255, 255, 0.26);
}

.cd-seo-keyword-page-tab strong {
    border: 1px solid rgba(159, 139, 230, 0.34);
    background: rgba(121, 91, 204, 0.22);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

html[data-theme="light"] .cd-seo-keyword-page-tab strong {
    color: #4d5189;
    border-color: rgba(92, 91, 167, 0.26);
    background: #e4e0f5;
}

html[data-theme="light"] .cd-seo-keyword-page-tab.is-active strong {
    color: #ffffff !important;
    border-color: rgba(255, 255, 255, 0.42);
    background: rgba(21, 40, 84, 0.26);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 5px 12px rgba(19, 36, 80, 0.16);
}

.cd-sidebar-planet-three {
    left: -28px;
    bottom: 86px;
    width: 66px;
    height: 66px;
    opacity: 0.34;
    background:
        radial-gradient(circle at 34% 28%, rgba(255, 255, 255, 0.72) 0 2px, transparent 3px),
        radial-gradient(circle at 38% 34%, #6fd6df, #4865a4 52%, #302854 100%);
    box-shadow: 0 0 36px rgba(76, 154, 190, 0.22);
    filter: blur(0.15px);
}

.cd-sidebar-rocket::before {
    bottom: -8px;
}

.cd-sidebar-rocket::after {
    position: absolute;
    z-index: 0;
    left: -20px;
    bottom: -18px;
    width: 38px;
    height: 58px;
    border-radius: 50%;
    background: linear-gradient(180deg, rgba(114, 231, 248, 0.58), rgba(125, 93, 220, 0.18), transparent 78%);
    content: "";
    filter: blur(4px);
    transform: rotate(24deg);
    animation: cd-sidebar-exhaust-glow 820ms ease-in-out infinite alternate;
}

@keyframes cd-sidebar-rocket-flight {
    0%, 100% { transform: translate3d(0, 0, 0) rotate(-30deg); }
    50% { transform: translate3d(5px, -12px, 0) rotate(-27deg); }
}

@keyframes cd-sidebar-exhaust-pulse {
    from { opacity: 0.76; transform: rotate(24deg) scale(0.82, 0.9); }
    to { opacity: 1; transform: rotate(21deg) scale(1.08, 1.22); }
}

@keyframes cd-sidebar-exhaust-glow {
    from { opacity: 0.38; transform: rotate(24deg) scaleY(0.82); }
    to { opacity: 0.72; transform: rotate(21deg) scaleY(1.16); }
}

@keyframes cd-sidebar-trail-breathe {
    from { opacity: 0.48; filter: blur(0); }
    to { opacity: 0.9; filter: blur(1px); }
}

.cd-icon-button.cd-menu-toggle,
.cd-icon-button.cd-document-view-button,
.cd-document-action-button {
    border-top-color: rgba(120, 190, 234, 0.24);
    border-right-color: rgba(120, 190, 234, 0.24);
    border-bottom-color: rgba(2, 10, 24, 0.58);
    border-left-color: rgba(2, 10, 24, 0.58);
    background: linear-gradient(105deg, rgba(17, 47, 73, 0.9), rgba(15, 56, 82, 0.86) 58%, rgba(13, 63, 71, 0.78)) padding-box;
    box-shadow: 0 14px 30px rgba(0, 7, 22, 0.22), inset 3px 0 0 #2d87c8, inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.cd-icon-button.cd-menu-toggle:hover,
.cd-icon-button.cd-menu-toggle:focus-visible,
.cd-icon-button.cd-document-view-button:hover,
.cd-icon-button.cd-document-view-button:focus-visible,
.cd-document-action-button:hover,
.cd-document-action-button:focus-visible {
    border-top-color: rgba(148, 211, 249, 0.38);
    border-right-color: rgba(148, 211, 249, 0.38);
    border-bottom-color: rgba(8, 21, 40, 0.72);
    border-left-color: rgba(8, 21, 40, 0.72);
    background: linear-gradient(105deg, rgba(22, 61, 92, 0.96), rgba(19, 71, 101, 0.92) 58%, rgba(16, 77, 84, 0.84)) padding-box;
    box-shadow: 0 17px 36px rgba(0, 7, 22, 0.28), inset 3px 0 0 #4da9ff, inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

html[data-theme="light"] .cd-icon-button.cd-menu-toggle,
html[data-theme="light"] .cd-icon-button.cd-document-view-button,
html[data-theme="light"] .cd-document-action-button {
    border-top-color: rgba(255, 255, 255, 0.98);
    border-right-color: rgba(255, 255, 255, 0.98);
    border-bottom-color: rgba(81, 143, 183, 0.18);
    border-left-color: rgba(81, 143, 183, 0.18);
    background: linear-gradient(105deg, rgba(209, 229, 246, 0.78), rgba(223, 241, 250, 0.86) 58%, rgba(218, 244, 240, 0.72)) padding-box;
    box-shadow: 0 16px 34px rgba(47, 91, 124, 0.12), inset 3px 0 0 #2d87c8, inset 0 1px 0 #ffffff;
}

html[data-theme="light"] .cd-icon-button.cd-menu-toggle:hover,
html[data-theme="light"] .cd-icon-button.cd-menu-toggle:focus-visible,
html[data-theme="light"] .cd-icon-button.cd-document-view-button:hover,
html[data-theme="light"] .cd-icon-button.cd-document-view-button:focus-visible,
html[data-theme="light"] .cd-document-action-button:hover,
html[data-theme="light"] .cd-document-action-button:focus-visible {
    border-top-color: rgba(255, 255, 255, 1);
    border-right-color: rgba(255, 255, 255, 1);
    border-bottom-color: rgba(69, 127, 166, 0.24);
    border-left-color: rgba(69, 127, 166, 0.24);
    background: linear-gradient(105deg, rgba(220, 237, 250, 0.94), rgba(232, 247, 253, 0.96) 58%, rgba(226, 249, 245, 0.9)) padding-box;
    box-shadow: 0 19px 39px rgba(47, 91, 124, 0.16), inset 3px 0 0 #1473e6, inset 0 1px 0 #ffffff;
}

html.cd-sidebar-collapsed .cd-nav-item:hover,
html.cd-sidebar-collapsed .cd-nav-item:focus-visible {
    transform: translateY(-1px);
}

html.cd-sidebar-collapsed .cd-nav-item:hover > i,
html.cd-sidebar-collapsed .cd-nav-item:focus-visible > i {
    transform: scale(1.2);
}

html.cd-sidebar-collapsed .cd-nav-item:hover > span,
html.cd-sidebar-collapsed .cd-nav-item:focus-visible > span {
    transform: none;
}

.cd-report-page-actions .cd-report-download-button.is-loading {
    overflow: hidden;
}

.cd-report-page-actions .cd-report-download-button.is-loading::after {
    inset: 0;
    border-radius: inherit;
}

.cd-report-page-actions .cd-report-download-button.is-loading::before {
    opacity: 0 !important;
}

.cd-report-workspace-client_report {
    overflow: visible;
}

.cd-client-report-history {
    padding: clamp(16px, 2.2vw, 26px);
}

.cd-client-report-table-wrap {
    overflow: visible;
    border: 1px solid rgba(110, 164, 198, 0.15);
    border-radius: 19px;
    background: linear-gradient(145deg, rgba(10, 30, 45, 0.98), rgba(6, 21, 34, 0.97));
    box-shadow: 0 20px 46px rgba(0, 8, 19, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.045);
}

.cd-client-report-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.cd-client-report-table th,
.cd-client-report-table td {
    padding: 16px 18px;
    border-bottom: 1px solid rgba(113, 164, 191, 0.12);
    text-align: left;
    vertical-align: middle;
}

.cd-client-report-table th {
    color: #8faaba;
    background: rgba(255, 255, 255, 0.035);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.cd-client-report-table th:first-child { border-radius: 18px 0 0; }
.cd-client-report-table th:last-child { border-radius: 0 18px 0 0; }
.cd-client-report-table tr:last-child td { border-bottom: 0; }

.cd-client-report-name {
    min-width: 230px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.cd-client-report-name strong,
.cd-client-report-name small {
    display: block;
}

.cd-client-report-name strong {
    color: #eaf5fa;
    font-size: 14px;
}

.cd-client-report-name small {
    margin-top: 4px;
    color: #809bac;
    font-size: 11px;
}

.cd-client-report-download-button,
.cd-client-report-file-group summary,
.cd-client-report-file-empty {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 750;
}

.cd-client-report-download-button {
    min-width: 112px;
    padding: 0 14px;
    font-size: 12px;
}

.cd-client-report-download-button.is-disabled {
    pointer-events: none;
    cursor: not-allowed;
    opacity: 0.62;
    transform: none;
}

.cd-client-report-table td {
    position: relative;
}

.cd-client-report-file-group {
    position: relative;
    width: 118px;
}

.cd-client-report-file-group[open] {
    z-index: 40;
}

.cd-client-report-file-group summary {
    width: 100%;
    justify-content: space-between;
    padding: 0 12px;
    border: 1px solid rgba(111, 179, 204, 0.18);
    color: #dcebf2;
    background: rgba(255, 255, 255, 0.045);
    box-shadow: inset 3px 0 0 #528caf;
    cursor: pointer;
    list-style: none;
    transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.cd-client-report-file-group summary::-webkit-details-marker { display: none; }
.cd-client-report-file-group summary > span { display: inline-flex; align-items: center; gap: 8px; }
.cd-client-report-file-group summary > i { font-size: 9px; transition: transform 180ms ease; }
.cd-client-report-file-group[open] summary > i { transform: rotate(180deg); }
.cd-client-report-file-group[open] summary,
.cd-client-report-file-group summary:hover {
    border-color: rgba(116, 213, 229, 0.42);
    background: rgba(77, 151, 184, 0.13);
    transform: translateY(-1px);
}

.cd-client-report-file-menu {
    position: absolute;
    z-index: 30;
    top: calc(100% + 8px);
    right: 0;
    width: min(360px, 76vw);
    padding: 8px;
    border: 1px solid rgba(111, 179, 204, 0.18);
    border-radius: 14px;
    background: #0a2132;
    box-shadow: 0 22px 48px rgba(0, 7, 18, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.055);
}

.cd-client-report-file-menu a {
    min-height: 42px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 10px;
    border-radius: 9px;
    color: #dcebf2;
    font-size: 12px;
    transition: color 170ms ease, background 170ms ease, transform 170ms ease;
}

.cd-client-report-file-menu a span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cd-client-report-file-menu a:hover {
    color: #ffffff;
    background: rgba(87, 177, 202, 0.13);
    transform: translateX(2px);
}

.cd-client-report-file-empty {
    justify-content: flex-start;
    color: #728c9c;
}

html[data-theme="light"] .cd-client-report-table-wrap {
    border-color: rgba(61, 108, 138, 0.12);
    background: linear-gradient(145deg, #ffffff, #f1f8fb);
    box-shadow: 0 20px 42px rgba(44, 77, 101, 0.1), inset 0 1px 0 #ffffff;
}

html[data-theme="light"] .cd-client-report-table th,
html[data-theme="light"] .cd-client-report-table td {
    border-bottom-color: rgba(59, 105, 135, 0.1);
}

html[data-theme="light"] .cd-client-report-table th {
    color: #607d90;
    background: #edf5f8;
}

html[data-theme="light"] .cd-client-report-name strong { color: #203f53; }
html[data-theme="light"] .cd-client-report-name small { color: #6b8798; }
html[data-theme="light"] .cd-client-report-file-group summary {
    color: #355a70;
    border-color: rgba(56, 113, 144, 0.16);
    background: #f1f7fa;
}

html[data-theme="light"] .cd-client-report-file-menu {
    border-color: rgba(57, 104, 134, 0.14);
    background: #ffffff;
    box-shadow: 0 20px 42px rgba(44, 77, 101, 0.16), inset 0 1px 0 #ffffff;
}

html[data-theme="light"] .cd-client-report-file-menu a { color: #35566b; }
html[data-theme="light"] .cd-client-report-file-menu a:hover { color: #1d465d; background: #edf6f9; }
html[data-theme="light"] .cd-client-report-file-empty { color: #718b9a; }
html[data-theme="light"] .cd-client-report-download-button.is-disabled {
    color: #8296a2;
    border-color: rgba(68, 110, 137, 0.12);
    background: #f1f5f7;
}

@media (max-width: 860px) {
    .cd-client-report-table,
    .cd-client-report-table tbody,
    .cd-client-report-table tr,
    .cd-client-report-table td {
        display: block;
        width: 100%;
    }

    .cd-client-report-table thead {
        display: none;
    }

    .cd-client-report-table tr {
        padding: 14px;
        border-bottom: 1px solid rgba(113, 164, 191, 0.12);
    }

    .cd-client-report-table tr:last-child { border-bottom: 0; }

    .cd-client-report-table td {
        display: grid;
        grid-template-columns: minmax(120px, 0.45fr) minmax(0, 1fr);
        gap: 12px;
        padding: 10px 4px;
        border: 0;
    }

    .cd-client-report-table td::before {
        align-self: center;
        color: #718d9e;
        content: attr(data-label);
        font-size: 10px;
        font-weight: 800;
        letter-spacing: 0.06em;
        text-transform: uppercase;
    }

    .cd-client-report-file-menu {
        right: auto;
        left: 0;
    }
}

@media (max-width: 520px) {
    .cd-client-report-history { padding: 12px; }
    .cd-client-report-name { min-width: 0; }
}

@media (prefers-reduced-motion: reduce) {
    .cd-sidebar-rocket,
    .cd-sidebar-rocket::before,
    .cd-sidebar-rocket::after,
    .cd-sidebar-rocket-trail,
    .cd-logout-form .cd-nav-button:hover > i,
    .cd-logout-form .cd-nav-button:focus-visible > i {
        animation: none !important;
    }
}
html[data-theme="light"] .cd-page-banner-surface {
    border-color: rgba(64, 105, 134, 0.11);
    background:
        radial-gradient(circle at 84% 20%, rgba(130, 88, 200, 0.11), transparent 17rem) padding-box,
        radial-gradient(circle at 96% 110%, rgba(45, 189, 187, 0.1), transparent 16rem) padding-box,
        linear-gradient(112deg, rgba(255, 255, 255, 0.99), rgba(237, 247, 252, 0.98) 58%, rgba(232, 248, 247, 0.97)) padding-box;
    box-shadow: 0 20px 46px rgba(47, 91, 124, 0.11), inset 0 1px 0 #ffffff;
}

.cd-report-toolbar {
    min-height: 74px;
    justify-content: flex-end;
    padding-top: 14px;
    padding-bottom: 14px;
}

.cd-report-tabs,
html[data-theme="light"] .cd-report-tabs {
    border-bottom: 0;
}

.cd-seo-location-tab {
    min-width: 280px;
    min-height: 78px;
    gap: 10px;
    padding: 14px 16px 14px 18px;
}

.cd-seo-location-tab-icon,
.cd-seo-location-tab small {
    display: none !important;
}

.cd-seo-location-tab-copy {
    position: relative;
    z-index: 1;
    min-width: 0;
    display: flex;
    flex: 1;
    align-items: center;
}

.cd-seo-location-tab strong {
    width: 100%;
    margin: 0;
    overflow: visible;
    font-size: 14px;
    line-height: 1.35;
    text-overflow: clip;
    white-space: normal;
    overflow-wrap: anywhere;
}

.cd-seo-competitor-tab.is-active,
.cd-seo-competitor-tab.is-positive.is-active,
html[data-theme="light"] .cd-seo-competitor-tab.is-active,
html[data-theme="light"] .cd-seo-competitor-tab.is-positive.is-active {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    color: #ffffff;
    border-color: rgba(114, 211, 229, 0.58);
    background:
        linear-gradient(115deg, rgba(102, 72, 188, 0.94), rgba(48, 130, 179, 0.91) 62%, rgba(39, 157, 167, 0.9)),
        url("../image/client_dashboard/world_map.svg") 88% center / 190px auto no-repeat;
    box-shadow: 0 15px 32px rgba(42, 47, 112, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.26);
    transform: translateY(-2px);
}

.cd-seo-competitor-tab.is-active strong,
.cd-seo-competitor-tab.is-positive.is-active strong,
.cd-seo-competitor-tab.is-active span,
html[data-theme="light"] .cd-seo-competitor-tab.is-active strong,
html[data-theme="light"] .cd-seo-competitor-tab.is-positive.is-active strong,
html[data-theme="light"] .cd-seo-competitor-tab.is-active span {
    color: #ffffff !important;
    text-shadow: 0 1px 12px rgba(10, 29, 65, 0.28);
}

.cd-seo-metric-grid {
    grid-template-columns: repeat(auto-fit, minmax(155px, 1fr));
    gap: 12px;
}

.cd-seo-metric-grid-compact {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cd-seo-metric-grid > div {
    position: relative;
    isolation: isolate;
    min-height: 112px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    overflow: hidden;
    padding: 16px;
    border-color: rgba(114, 176, 214, 0.18);
    border-radius: 16px;
    background:
        radial-gradient(circle at 106% -12%, rgba(91, 104, 229, 0.2), transparent 9rem),
        radial-gradient(circle at -8% 114%, rgba(43, 185, 188, 0.12), transparent 9rem),
        linear-gradient(145deg, rgba(12, 34, 50, 0.98), rgba(6, 22, 35, 0.98));
    box-shadow: 0 16px 36px rgba(0, 8, 20, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.055);
    transition: transform 200ms cubic-bezier(0.16, 1, 0.3, 1), border-color 180ms ease, box-shadow 200ms ease;
}

.cd-seo-metric-grid > div::before {
    position: absolute;
    z-index: -1;
    top: -38px;
    right: -32px;
    width: 112px;
    height: 112px;
    border: 1px solid rgba(145, 126, 232, 0.16);
    border-radius: 38% 62% 52% 48%;
    content: "";
    transform: rotate(24deg);
    transition: transform 320ms cubic-bezier(0.16, 1, 0.3, 1), border-color 180ms ease;
}

.cd-seo-metric-grid > div::after {
    position: absolute;
    z-index: -1;
    top: 16px;
    right: 18px;
    width: 48px;
    height: 1px;
    background: linear-gradient(90deg, rgba(167, 137, 240, 0.72), transparent);
    box-shadow: 0 0 14px rgba(125, 112, 235, 0.25);
    content: "";
}

.cd-seo-metric-grid > div:hover {
    border-color: rgba(118, 169, 235, 0.36);
    box-shadow: 0 22px 46px rgba(0, 8, 20, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    transform: translateY(-4px);
}

.cd-seo-metric-grid > div:hover::before {
    border-color: rgba(151, 126, 232, 0.3);
    transform: rotate(36deg) scale(1.06);
}

.cd-seo-metric-grid span {
    min-height: 0;
    color: #91a9b8;
    line-height: 1.35;
}

.cd-seo-metric-grid strong {
    position: relative;
    z-index: 1;
    margin-top: 10px;
    font-family: "Sora", sans-serif;
    font-size: clamp(22px, 2vw, 29px);
    line-height: 1;
}

html[data-theme="light"] .cd-seo-metric-grid > div {
    border-color: rgba(65, 105, 137, 0.14);
    background:
        radial-gradient(circle at 106% -12%, rgba(112, 91, 213, 0.12), transparent 9rem),
        radial-gradient(circle at -8% 114%, rgba(45, 178, 180, 0.1), transparent 9rem),
        linear-gradient(145deg, rgba(255, 255, 255, 0.99), rgba(237, 246, 251, 0.98));
    box-shadow: 0 16px 34px rgba(41, 72, 97, 0.11), inset 0 1px 0 #ffffff;
}

html[data-theme="light"] .cd-seo-metric-grid > div:hover {
    border-color: rgba(100, 111, 198, 0.26);
    box-shadow: 0 22px 44px rgba(44, 69, 112, 0.16), inset 0 1px 0 #ffffff;
}

html[data-theme="light"] .cd-seo-metric-grid span {
    color: #617d8f;
}

html[data-theme="light"] .cd-seo-metric-grid strong {
    color: #203f53;
}

.cd-seo-subcard-heading,
.cd-seo-signal-card-heading {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}

.cd-seo-subcard-heading > span,
.cd-seo-signal-card-icon {
    width: 34px;
    height: 34px;
    display: inline-grid;
    flex: 0 0 34px;
    place-items: center;
    border: 1px solid rgba(115, 188, 211, 0.2);
    border-radius: 11px;
    color: #79d6e6;
    background: rgba(61, 147, 181, 0.12);
}

.cd-seo-subcard-heading h3,
.cd-seo-signal-card-heading h3 {
    flex: 1;
    margin: 0;
}

.cd-seo-distribution-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.cd-seo-distribution-grid-compact {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

.cd-seo-distribution-card {
    min-width: 0;
    padding: 13px;
    border: 1px solid rgba(106, 160, 190, 0.13);
    border-radius: 13px;
    background: linear-gradient(145deg, rgba(12, 31, 45, 0.72), rgba(5, 20, 32, 0.58));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
    transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.cd-seo-distribution-card:hover {
    border-color: rgba(119, 190, 216, 0.3);
    box-shadow: 0 14px 28px rgba(0, 8, 20, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.055);
    transform: translateY(-2px);
}

.cd-seo-distribution-card header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.cd-seo-distribution-comparison {
    display: grid;
    gap: 10px;
}

.cd-seo-distribution-side > span,
.cd-seo-distribution-counts > span {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
}

.cd-seo-distribution-side small,
.cd-seo-distribution-counts small,
.cd-seo-signal-positions small {
    color: #819cab;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.cd-seo-distribution-side strong,
.cd-seo-distribution-counts strong {
    color: #eff8fb;
    font-size: 15px;
}

.cd-seo-distribution-side em {
    float: right;
    margin-top: -20px;
    color: #9bb3c1;
    font-size: 11px;
    font-style: normal;
    font-weight: 800;
}

.cd-seo-distribution-side > div {
    height: 5px;
    margin-top: 7px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
}

.cd-seo-distribution-side > div > i {
    width: min(var(--cd-seo-share, 0%), 100%);
    height: 100%;
    display: block;
    border-radius: inherit;
    background: linear-gradient(90deg, #7657c3, #4a94c4);
    box-shadow: 0 0 12px rgba(105, 94, 214, 0.28);
}

.cd-seo-distribution-side.is-competitor > div > i {
    background: linear-gradient(90deg, #cf5572, #e29464);
    box-shadow: 0 0 12px rgba(207, 85, 114, 0.24);
}

.cd-seo-distribution-counts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.cd-seo-distribution-counts > span {
    padding: 9px 10px;
    border-radius: 10px;
    background: rgba(91, 104, 207, 0.1);
}

.cd-seo-distribution-counts > .is-competitor {
    background: rgba(207, 85, 114, 0.1);
}

.cd-seo-opportunity-grid {
    grid-template-columns: repeat(3, minmax(260px, 1fr));
}

.cd-seo-signal-card {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 16px;
}

.cd-seo-signal-card::before {
    position: absolute;
    z-index: -1;
    content: "";
}

.cd-seo-signal-card-heading > strong {
    min-width: 30px;
    height: 30px;
    display: inline-grid;
    place-items: center;
    border: 1px solid rgba(139, 117, 222, 0.24);
    border-radius: 10px;
    color: #d5cafa;
    background: rgba(106, 80, 192, 0.14);
    font-size: 12px;
}

.cd-seo-signal-card.is-risk .cd-seo-signal-card-icon {
    color: #ff9aa8;
    border-color: rgba(220, 76, 101, 0.24);
    background: rgba(220, 76, 101, 0.12);
}

.cd-seo-signal-card.is-win .cd-seo-signal-card-icon {
    color: #82dfb5;
    border-color: rgba(60, 178, 119, 0.24);
    background: rgba(60, 178, 119, 0.12);
}

.cd-seo-signal-list {
    display: grid;
    gap: 8px;
}

.cd-seo-signal-item {
    min-width: 0;
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    padding: 10px;
    border: 1px solid rgba(108, 158, 188, 0.1);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.026);
    transition: border-color 170ms ease, background 170ms ease, transform 170ms ease;
}

.cd-seo-signal-item:hover {
    border-color: rgba(119, 190, 216, 0.24);
    background: rgba(74, 145, 178, 0.075);
    transform: translateX(3px);
}

.cd-seo-signal-index {
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    border-radius: 9px;
    color: #cabdf2;
    background: rgba(112, 84, 198, 0.15);
    font-size: 11px;
    font-weight: 850;
}

.cd-seo-signal-keyword {
    min-width: 0;
}

.cd-seo-signal-keyword strong,
.cd-seo-signal-keyword span {
    display: block;
}

.cd-seo-signal-keyword strong {
    overflow: hidden;
    color: #eaf5fa;
    font-size: 12px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cd-seo-signal-keyword span {
    margin-top: 3px;
    color: #8ca6b5;
    font-size: 10px;
}

.cd-seo-signal-positions {
    display: flex;
    align-items: center;
    gap: 7px;
}

.cd-seo-signal-positions > span {
    min-width: 42px;
    text-align: center;
}

.cd-seo-signal-positions small,
.cd-seo-signal-positions strong {
    display: block;
}

.cd-seo-signal-positions strong {
    margin-top: 2px;
    color: #eef7fa;
    font-size: 13px;
}

.cd-seo-signal-positions > i {
    color: #607f91;
    font-size: 10px;
}

html[data-theme="light"] .cd-seo-distribution-card,
html[data-theme="light"] .cd-seo-signal-item {
    border-color: rgba(61, 108, 138, 0.11);
    background: rgba(246, 250, 252, 0.92);
    box-shadow: inset 0 1px 0 #ffffff;
}

html[data-theme="light"] .cd-seo-distribution-card:hover,
html[data-theme="light"] .cd-seo-signal-item:hover {
    border-color: rgba(54, 130, 162, 0.22);
    background: #ffffff;
}

html[data-theme="light"] .cd-seo-subcard-heading > span,
html[data-theme="light"] .cd-seo-signal-card-icon {
    color: #2d84a6;
    border-color: rgba(54, 132, 164, 0.17);
    background: #e8f4f8;
}

html[data-theme="light"] .cd-seo-distribution-side small,
html[data-theme="light"] .cd-seo-distribution-counts small,
html[data-theme="light"] .cd-seo-signal-positions small {
    color: #6d8797;
}

html[data-theme="light"] .cd-seo-distribution-side strong,
html[data-theme="light"] .cd-seo-distribution-counts strong,
html[data-theme="light"] .cd-seo-signal-keyword strong,
html[data-theme="light"] .cd-seo-signal-positions strong {
    color: #203f53;
}

html[data-theme="light"] .cd-seo-distribution-side em,
html[data-theme="light"] .cd-seo-signal-keyword span {
    color: #6f8999;
}

html[data-theme="light"] .cd-seo-distribution-side > div {
    background: rgba(55, 102, 132, 0.09);
}

html[data-theme="light"] .cd-seo-signal-card-heading > strong {
    color: #684eae;
    border-color: rgba(104, 78, 174, 0.18);
    background: #eee9f8;
}

html[data-theme="light"] .cd-seo-signal-card.is-risk .cd-seo-signal-card-icon {
    color: #b53f55;
    border-color: rgba(181, 63, 85, 0.16);
    background: #fff0f3;
}

html[data-theme="light"] .cd-seo-signal-card.is-win .cd-seo-signal-card-icon {
    color: #287a54;
    border-color: rgba(40, 122, 84, 0.16);
    background: #eaf8f1;
}
.cd-report-keywords-table th:nth-child(3),
.cd-report-keywords-table td:nth-child(3) { width: 9%; }
.cd-report-keywords-table th:nth-child(4),
.cd-report-keywords-table td:nth-child(4) { width: 10%; }
.cd-report-keywords-table th:nth-child(5),
.cd-report-keywords-table td:nth-child(5) { width: 11%; }
.cd-report-keywords-table th:nth-child(6),
.cd-report-keywords-table td:nth-child(6) { width: 19%; }

.cd-report-keywords-table th:nth-child(n + 2),
.cd-report-keywords-table td:nth-child(n + 2) {
    text-align: center;
}

.cd-report-keywords-table .cd-report-keyword-group-row td {
    width: auto;
    text-align: left !important;
}

.cd-report-keywords-table .cd-seo-competitor-counts {
    justify-content: center;
}

.cd-report-keywords-table .cd-report-keyword-name {
    max-width: 100%;
    overflow-wrap: anywhere;
}

.cd-seo-range-badge {
    border: 1px solid rgba(91, 157, 191, 0.22);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.045);
}

html[data-theme="light"] .cd-seo-range-badge {
    color: #2d5870;
    border-color: rgba(54, 121, 153, 0.2);
    background: #e4f1f6;
    box-shadow: inset 0 1px 0 #ffffff;
}

@media (max-width: 1180px) {
    .cd-seo-opportunity-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 900px) {
    .cd-seo-metric-grid-compact {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .cd-seo-distribution-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 620px) {
    .cd-report-toolbar {
        min-height: 68px;
        align-items: stretch;
        padding: 12px;
    }

    .cd-report-month-form,
    .cd-report-month-select-wrap {
        width: 100%;
    }

    .cd-seo-location-tab {
        min-width: min(280px, 84vw);
    }

    .cd-seo-metric-grid-compact {
        grid-template-columns: 1fr;
    }

    .cd-seo-signal-item {
        grid-template-columns: 28px minmax(0, 1fr);
    }

    .cd-seo-signal-positions {
        grid-column: 2;
        justify-content: flex-start;
    }
}

/* ==========================================================================
   Sidebar, authentication and page transitions
   ========================================================================== */
.cd-sidebar-rocket {
    right: auto;
    bottom: 78px;
    left: 50%;
    width: 112px;
    height: 154px;
    display: block;
    overflow: visible;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    transform: translate3d(-50%, 0, 0);
    animation: cd-sidebar-rocket-corporate-flight 4.6s cubic-bezier(0.45, 0, 0.2, 1) infinite;
}

html[data-theme="light"] .cd-sidebar-rocket {
    border: 0;
    border-radius: 0;
    background: none;
    box-shadow: none;
}

.cd-sidebar-rocket .cd-rocket-svg,
html[data-theme="light"] .cd-sidebar-rocket .cd-rocket-svg {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: none;
    transform: none;
}

.cd-sidebar-rocket::before {
    position: absolute;
    z-index: 1;
    top: 78%;
    left: 37%;
    width: 18px;
    height: 99px;
    border-radius: 999px 999px 70% 70%;
    background: linear-gradient(180deg, rgba(255, 247, 177, 0.96) 0%, rgba(255, 154, 73, 0.9) 28%, rgba(238, 77, 177, 0.58) 66%, rgba(238, 77, 177, 0) 100%);
    content: "";
    filter: blur(0.6px);
    transform: rotate(24deg) scaleY(0.92);
    transform-origin: 50% 0;
    animation: cd-sidebar-rocket-stripe-pulse 760ms ease-in-out infinite alternate;
}

.cd-sidebar-rocket::after {
    display: none;
}

.cd-sidebar-rocket-trail {
    right: auto;
    bottom: 16px;
    left: calc(65% - 39px);
    width: 10px;
    height: 124px;
    border-radius: 999px;
    opacity: 0.52;
    background: linear-gradient(180deg, rgba(255, 151, 72, 0.54) 0%, rgba(236, 81, 181, 0.28) 48%, rgba(117, 92, 219, 0) 100%);
    box-shadow: none;
    filter: blur(2px);
    transform: rotate(24deg);
    transform-origin: 50% 0;
    animation: cd-sidebar-rocket-trail-pulse 1.2s ease-in-out infinite alternate;
}

@keyframes cd-sidebar-rocket-corporate-flight {
    0%, 100% {
        transform: translate3d(-50%, 0, 0) rotate(-1deg);
    }
    50% {
        transform: translate3d(calc(-50% + 3px), -10px, 0) rotate(1deg);
    }
}

@keyframes cd-sidebar-rocket-stripe-pulse {
    from {
        opacity: 0.72;
        transform: rotate(24deg) scale(0.9, 0.84);
    }
    to {
        opacity: 1;
        transform: rotate(24deg) scale(1.04, 1.08);
    }
}

@keyframes cd-sidebar-rocket-trail-pulse {
    from {
        opacity: 0.28;
        transform: rotate(24deg) scaleY(0.88);
    }
    to {
        opacity: 0.56;
        transform: rotate(24deg) scaleY(1.05);
    }
}

@media (max-height: 760px) {
    .cd-sidebar-rocket {
        bottom: 62px;
        width: 96px;
        height: 132px;
    }

    .cd-sidebar-rocket-trail {
        bottom: 20px;
        left: calc(50% - 34px);
        height: 104px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .cd-sidebar-rocket,
    .cd-sidebar-rocket::before,
    .cd-sidebar-rocket-trail {
        animation: none !important;
    }
}
html[data-theme="light"] .cd-seo-location-tab.is-active small,
html[data-theme="light"] .cd-seo-location-tab.is-active strong,
html[data-theme="light"] .cd-seo-location-tab.is-active em {
    color: #ffffff !important;
    text-shadow:
        0 1px 2px rgba(5, 19, 43, 0.92),
        0 0 10px rgba(9, 30, 65, 0.7),
        0 2px 18px rgba(8, 24, 55, 0.58);
}

html[data-theme="light"] .cd-seo-location-tab.is-active strong {
    font-weight: 850;
}

html[data-theme="light"] .cd-seo-location-tab.is-active em {
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: rgba(7, 24, 55, 0.32);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 5px 14px rgba(8, 20, 48, 0.18);
    backdrop-filter: blur(5px);
}

.cd-seo-location-tabs.cd-seo-keyword-location-tabs {
    padding-top: 12px;
}

html[data-theme="dark"] .cd-audit-admin-report .audit-report-priority-card-header-actions > span,
html[data-theme="dark"] .cd-audit-admin-report .audit-report-block-title-actions > span {
    color: #edf8fc !important;
    border: 1px solid rgba(132, 190, 216, 0.2);
    background: rgba(13, 45, 64, 0.86);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07), 0 6px 16px rgba(0, 7, 18, 0.17);
}

html[data-theme="dark"] .cd-audit-admin-report .audit-report-recommendations-export-btn.btn-light {
    color: #eaf7fc;
    border-color: rgba(132, 190, 216, 0.2);
    background: rgba(13, 45, 64, 0.86);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

html[data-theme="dark"] .cd-audit-admin-report .audit-report-recommendations-export-btn.btn-light:hover,
html[data-theme="dark"] .cd-audit-admin-report .audit-report-recommendations-export-btn.btn-light:focus {
    color: #ffffff;
    border-color: rgba(92, 199, 221, 0.42);
    background: rgba(23, 75, 96, 0.96);
}

.cd-audit-admin-report .audit-report-detail {
    min-width: 0;
    padding: 9px 11px;
    border: 1px solid rgba(107, 158, 187, 0.12);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.025);
}

html[data-theme="dark"] .cd-audit-admin-report .audit-report-card-body {
    color: #d7e6ee;
    background: linear-gradient(145deg, rgba(5, 20, 32, 0.68), rgba(8, 28, 42, 0.5));
}

html[data-theme="dark"] .cd-audit-admin-report .audit-report-detail span,
html[data-theme="dark"] .cd-audit-admin-report .audit-rich-check-item strong,
html[data-theme="dark"] .cd-audit-admin-report .audit-rich-metric-card span,
html[data-theme="dark"] .cd-audit-admin-report .audit-rich-mini-grid span,
html[data-theme="dark"] .cd-audit-admin-report .audit-report-card-title small,
html[data-theme="dark"] .cd-audit-admin-report .audit-rich-check-line span,
html[data-theme="dark"] .cd-audit-admin-report .audit-rich-lighthouse-description {
    color: #9fb7c5 !important;
}

html[data-theme="dark"] .cd-audit-admin-report .audit-report-detail strong,
html[data-theme="dark"] .cd-audit-admin-report .audit-rich-check-item span,
html[data-theme="dark"] .cd-audit-admin-report .audit-rich-mini-grid strong,
html[data-theme="dark"] .cd-audit-admin-report .audit-rich-check-line strong,
html[data-theme="dark"] .cd-audit-admin-report .audit-rich-block-title,
html[data-theme="dark"] .cd-audit-admin-report .audit-report-card-title strong {
    color: #edf7fb !important;
}

html[data-theme="dark"] .cd-audit-admin-report .audit-rich-block,
html[data-theme="dark"] .cd-audit-admin-report .audit-rich-check-item,
html[data-theme="dark"] .cd-audit-admin-report .audit-rich-metric-card,
html[data-theme="dark"] .cd-audit-admin-report .audit-rich-mini-grid > div,
html[data-theme="dark"] .cd-audit-admin-report .audit-rich-check-line,
html[data-theme="dark"] .cd-audit-admin-report .audit-rich-mini-note {
    border-color: rgba(112, 165, 194, 0.16);
    background: rgba(10, 34, 49, 0.7);
}

html[data-theme="dark"] .cd-audit-admin-report .audit-rich-mini-note {
    color: #aec3ce;
}

html[data-theme="dark"] .cd-audit-admin-report .audit-report-priority-list li {
    border-color: rgba(112, 165, 194, 0.18);
    background: linear-gradient(145deg, rgba(9, 35, 51, 0.9), rgba(7, 27, 41, 0.8));
    box-shadow: inset 0 1px 0 rgba(198, 231, 245, 0.035);
    color: #d8e7ee;
}

html[data-theme="dark"] .cd-audit-admin-report .audit-report-priority-list strong,
html[data-theme="dark"] .cd-audit-admin-report .audit-report-recommendation-overview-item strong,
html[data-theme="dark"] .cd-audit-admin-report .audit-rich-serp-domain,
html[data-theme="dark"] .cd-audit-admin-report .audit-rich-heading-status-row span,
html[data-theme="dark"] .cd-audit-admin-report .audit-rich-heading-status-row strong,
html[data-theme="dark"] .cd-audit-admin-report .audit-rich-metric-card strong,
html[data-theme="dark"] .cd-audit-admin-report .audit-rich-lighthouse-item strong,
html[data-theme="dark"] .cd-audit-admin-report .audit-rich-external-card strong,
html[data-theme="dark"] .cd-audit-admin-report .audit-ai-signal-header strong {
    color: #edf7fb !important;
}

html[data-theme="dark"] .cd-audit-admin-report .audit-report-priority-list div,
html[data-theme="dark"] .cd-audit-admin-report .audit-report-priority-list em,
html[data-theme="dark"] .cd-audit-admin-report .audit-report-recommendation-overview-item div,
html[data-theme="dark"] .cd-audit-admin-report .audit-report-recommendation-overview-item em,
html[data-theme="dark"] .cd-audit-admin-report .audit-report-priority-empty,
html[data-theme="dark"] .cd-audit-admin-report .audit-rich-serp-url,
html[data-theme="dark"] .cd-audit-admin-report .audit-rich-serp-description,
html[data-theme="dark"] .cd-audit-admin-report .audit-rich-heading-status-row small,
html[data-theme="dark"] .cd-audit-admin-report .audit-rich-small-list div,
html[data-theme="dark"] .cd-audit-admin-report .audit-rich-table th,
html[data-theme="dark"] .cd-audit-admin-report .audit-rich-lighthouse-item span,
html[data-theme="dark"] .cd-audit-admin-report .audit-rich-lighthouse-item em,
html[data-theme="dark"] .cd-audit-admin-report .audit-rich-external-card span,
html[data-theme="dark"] .cd-audit-admin-report .audit-rich-external-card small,
html[data-theme="dark"] .cd-audit-admin-report .audit-rich-metric-card small,
html[data-theme="dark"] .cd-audit-admin-report .audit-ai-signal-header span,
html[data-theme="dark"] .cd-audit-admin-report .audit-ai-signal-content small,
html[data-theme="dark"] .cd-audit-admin-report .audit-ai-signal-content p {
    color: #9fb7c5 !important;
}

html[data-theme="dark"] .cd-audit-admin-report .audit-rich-serp-preview,
html[data-theme="dark"] .cd-audit-admin-report .audit-rich-heading-status-row,
html[data-theme="dark"] .cd-audit-admin-report .audit-rich-small-list,
html[data-theme="dark"] .cd-audit-admin-report .audit-rich-table,
html[data-theme="dark"] .cd-audit-admin-report .audit-rich-lighthouse-item,
html[data-theme="dark"] .cd-audit-admin-report .audit-rich-external-card,
html[data-theme="dark"] .cd-audit-admin-report .audit-ai-signal,
html[data-theme="dark"] .cd-audit-admin-report .audit-ai-signal-header {
    border-color: rgba(112, 165, 194, 0.17);
    background: rgba(8, 30, 45, 0.82);
}

html[data-theme="dark"] .cd-audit-admin-report .audit-ai-signal-content > div,
html[data-theme="dark"] .cd-audit-admin-report .audit-rich-small-list div,
html[data-theme="dark"] .cd-audit-admin-report .audit-rich-table td,
html[data-theme="dark"] .cd-audit-admin-report .audit-rich-table th {
    border-color: rgba(112, 165, 194, 0.14) !important;
}

html[data-theme="dark"] .cd-audit-admin-report .audit-report-problem {
    color: #f1cbd5;
    border-color: rgba(225, 92, 119, 0.28);
    background: rgba(112, 31, 49, 0.3);
}

html[data-theme="dark"] .cd-audit-admin-report .audit-report-recommendation {
    color: #cce9da;
    border-color: rgba(69, 177, 125, 0.26);
    background: rgba(25, 94, 64, 0.28);
}

html[data-theme="dark"] .cd-audit-admin-report .audit-rich-check-success,
html[data-theme="dark"] .cd-audit-admin-report .audit-rich-metric-success,
html[data-theme="dark"] .cd-audit-admin-report .audit-rich-heading-status-success,
html[data-theme="dark"] .cd-audit-admin-report .audit-rich-row-success td {
    border-color: rgba(67, 184, 126, 0.25);
    background: rgba(24, 91, 62, 0.3);
}

html[data-theme="dark"] .cd-audit-admin-report .audit-rich-check-warning,
html[data-theme="dark"] .cd-audit-admin-report .audit-rich-metric-warning,
html[data-theme="dark"] .cd-audit-admin-report .audit-rich-heading-status-warning,
html[data-theme="dark"] .cd-audit-admin-report .audit-rich-row-warning td,
html[data-theme="dark"] .cd-audit-admin-report .audit-rich-row-important td,
html[data-theme="dark"] .cd-audit-admin-report .audit-rich-row-open td {
    border-color: rgba(224, 169, 71, 0.25);
    background: rgba(102, 72, 25, 0.31);
}

html[data-theme="dark"] .cd-audit-admin-report .audit-rich-check-danger,
html[data-theme="dark"] .cd-audit-admin-report .audit-rich-metric-danger,
html[data-theme="dark"] .cd-audit-admin-report .audit-rich-heading-status-danger,
html[data-theme="dark"] .cd-audit-admin-report .audit-rich-row-danger td,
html[data-theme="dark"] .cd-audit-admin-report .audit-rich-row-critical td {
    border-color: rgba(225, 92, 119, 0.25);
    background: rgba(112, 31, 49, 0.3);
}

html[data-theme="dark"] .cd-audit-admin-report .audit-rich-metric-info,
html[data-theme="dark"] .cd-audit-admin-report .audit-rich-metric-muted {
    border-color: rgba(76, 157, 205, 0.24);
    background: rgba(27, 75, 105, 0.3);
}

html[data-theme="dark"] .cd-audit-admin-report .audit-ai-signal-pass .audit-ai-signal-status span { color: #72d99f !important; }
html[data-theme="dark"] .cd-audit-admin-report .audit-ai-signal-warn .audit-ai-signal-status span { color: #f0c36d !important; }
html[data-theme="dark"] .cd-audit-admin-report .audit-ai-signal-fail .audit-ai-signal-status span { color: #f18b9f !important; }

html[data-theme="dark"] .cd-audit-admin-report .audit-report-card-toggle-icon,
html[data-theme="dark"] .cd-audit-admin-report .audit-report-empty {
    color: #9fb8c7;
}

html[data-theme="light"] .cd-audit-admin-report .audit-report-filter-button.nav-link.active,
html[data-theme="light"] .cd-audit-admin-report .audit-report-filter-button.active {
    color: #ffffff !important;
    border-color: rgba(106, 86, 201, 0.36) !important;
    background: linear-gradient(115deg, #7656c5, #3c88bc 62%, #2e9eaa) !important;
    box-shadow: 0 12px 26px rgba(61, 76, 151, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.28) !important;
}

.audit-report-summary {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
    width: 100%;
}

.audit-report-summary-card,
.audit-report-summary-card:nth-child(-n+2) {
    min-width: 0;
    max-width: none;
    min-height: 126px;
    display: flex;
    flex: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px 14px 18px;
    border: 1px solid rgba(110, 164, 193, 0.16);
    border-radius: 17px;
    color: #eaf5fa;
    background:
        radial-gradient(circle at 92% 0%, rgba(127, 93, 216, 0.15), transparent 8rem),
        linear-gradient(145deg, rgba(11, 35, 51, 0.96), rgba(7, 25, 39, 0.96));
    box-shadow: 0 16px 34px rgba(0, 7, 18, 0.17), inset 0 1px 0 rgba(255, 255, 255, 0.045);
    transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.audit-report-summary-card::before {
    right: 15%;
    left: 15%;
    height: 3px;
    border-radius: 0 0 999px 999px;
    background: linear-gradient(90deg, #7d5bce, #3e92c7 58%, #35aaa9);
    box-shadow: 0 0 16px rgba(84, 134, 214, 0.28);
}

.audit-report-summary-card::after {
    position: absolute;
    right: -28px;
    bottom: -36px;
    width: 92px;
    height: 92px;
    border: 1px solid rgba(124, 104, 218, 0.13);
    border-radius: 50%;
    content: "";
    box-shadow: 0 0 0 16px rgba(54, 154, 192, 0.025);
}

.audit-report-summary-card:nth-child(2)::before { background: linear-gradient(90deg, #3e92c7, #35aaa9); }
.audit-report-summary-card:nth-child(3)::before { background: linear-gradient(90deg, #35aaa9, #42b77f); }
.audit-report-summary-card:nth-child(4)::before { background: linear-gradient(90deg, #e0a84c, #d77c55); }
.audit-report-summary-card:nth-child(5)::before { background: linear-gradient(90deg, #d95c78, #9258c8); }

.audit-report-summary-card:hover {
    border-color: rgba(101, 198, 217, 0.28);
    box-shadow: 0 20px 42px rgba(0, 7, 18, 0.23), inset 0 1px 0 rgba(255, 255, 255, 0.07);
    transform: translateY(-4px);
}

.audit-report-summary-card strong {
    color: #f3fbff;
    font-family: "Sora", sans-serif;
    font-size: clamp(25px, 2.2vw, 34px);
    letter-spacing: -0.04em;
}

.audit-report-summary-card span {
    max-width: 150px;
    margin-top: 10px;
    color: #9bb4c2;
    line-height: 1.35;
}

html[data-theme="light"] .audit-report-summary-card,
html[data-theme="light"] .audit-report-summary-card:nth-child(-n+2) {
    color: #294b61;
    border-color: rgba(62, 111, 142, 0.12);
    background:
        radial-gradient(circle at 92% 0%, rgba(130, 96, 213, 0.09), transparent 8rem),
        linear-gradient(145deg, #ffffff, #eef7fa);
    box-shadow: 0 16px 32px rgba(44, 78, 103, 0.1), inset 0 1px 0 #ffffff;
}

html[data-theme="light"] .audit-report-summary-card strong { color: #17384e; }
html[data-theme="light"] .audit-report-summary-card span { color: #627e90; }

html[data-theme="light"] .cd-document-action-button,
html[data-theme="light"] .cd-document-action-button.cd-report-download-button {
    border-top-color: rgba(255, 255, 255, 0.98);
    border-right-color: rgba(255, 255, 255, 0.98);
    border-bottom-color: rgba(81, 143, 183, 0.18);
    color: #173d58;
    background: linear-gradient(105deg, rgba(209, 229, 246, 0.78), rgba(223, 241, 250, 0.86) 58%, rgba(218, 244, 240, 0.72)) padding-box;
}

html[data-theme="light"] .cd-document-action-button:hover,
html[data-theme="light"] .cd-document-action-button:focus-visible,
html[data-theme="light"] .cd-document-action-button.cd-report-download-button:hover,
html[data-theme="light"] .cd-document-action-button.cd-report-download-button:focus-visible {
    color: #145f92;
    border-top-color: #ffffff;
    border-right-color: #ffffff;
    border-bottom-color: rgba(69, 127, 166, 0.24);
    border-left-color: rgba(69, 127, 166, 0.24);
    background: linear-gradient(105deg, rgba(220, 237, 250, 0.94), rgba(232, 247, 253, 0.96) 58%, rgba(226, 249, 245, 0.9)) padding-box;
    box-shadow: 0 19px 39px rgba(47, 91, 124, 0.16), inset 3px 0 0 #1473e6, inset 0 1px 0 #ffffff;
}

.cd-report-data-table thead th {
    position: relative;
    padding-top: 15px;
    padding-bottom: 15px;
    border-top: 1px solid rgba(144, 198, 223, 0.16);
    border-bottom: 1px solid rgba(106, 177, 207, 0.22);
    color: #dff2f8;
    background:
        radial-gradient(circle at 92% -80%, rgba(133, 91, 216, 0.3), transparent 10rem),
        linear-gradient(110deg, rgba(17, 50, 72, 0.98), rgba(10, 37, 55, 0.98) 58%, rgba(10, 49, 59, 0.96));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.055), inset 0 -1px 0 rgba(0, 8, 20, 0.28);
    font-size: 11px;
    font-weight: 850;
    letter-spacing: 0.055em;
    text-transform: uppercase;
}

.cd-report-data-table thead th:first-child {
    box-shadow: inset 3px 0 0 #4299d0, inset 0 1px 0 rgba(255, 255, 255, 0.055), inset 0 -1px 0 rgba(0, 8, 20, 0.28);
}

html[data-theme="light"] .cd-report-data-table thead th {
    color: #294b63 !important;
    border-top-color: #ffffff;
    border-bottom-color: rgba(68, 126, 159, 0.16);
    background:
        radial-gradient(circle at 92% -80%, rgba(132, 96, 214, 0.13), transparent 10rem),
        linear-gradient(110deg, #f8fcfe, #e8f3f8 58%, #e8f7f4);
    box-shadow: inset 0 1px 0 #ffffff, inset 0 -1px 0 rgba(64, 115, 146, 0.1);
}

html[data-theme="light"] .cd-report-data-table thead th:first-child {
    box-shadow: inset 3px 0 0 #2d87c8, inset 0 1px 0 #ffffff, inset 0 -1px 0 rgba(64, 115, 146, 0.1);
}

.cd-report-tab-dot {
    display: none !important;
}

.cd-report-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    padding: 7px;
    border: 1px solid rgba(111, 171, 202, 0.15);
    border-radius: 17px;
    background: linear-gradient(105deg, rgba(13, 39, 59, 0.92), rgba(11, 45, 65, 0.88) 58%, rgba(10, 53, 59, 0.82));
    box-shadow: 0 14px 30px rgba(0, 7, 22, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.045);
}

.cd-report-tab {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 15px;
    border: 1px solid transparent;
    border-radius: 12px;
    color: #9bb3c1;
    background: transparent;
    box-shadow: none;
    font-weight: 780;
}

.cd-report-tab:hover,
.cd-report-tab:focus-visible {
    color: #eef9fc;
    border-color: rgba(116, 183, 210, 0.16);
    background: rgba(78, 145, 178, 0.1);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
    transform: translateY(-1px);
}

.cd-report-tab.is-active,
.cd-report-tab.is-active:hover,
.cd-report-tab.is-active:focus-visible {
    color: #ffffff;
    border-color: rgba(128, 211, 226, 0.46);
    background: linear-gradient(115deg, #7656c5, #3c88bc 62%, #2e9eaa);
    box-shadow: 0 12px 26px rgba(45, 58, 133, 0.28), inset 3px 0 0 rgba(255, 255, 255, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

html[data-theme="light"] .cd-report-tabs {
    border-color: rgba(81, 143, 183, 0.18);
    background: linear-gradient(105deg, rgba(209, 229, 246, 0.78), rgba(223, 241, 250, 0.86) 58%, rgba(218, 244, 240, 0.72));
    box-shadow: 0 16px 34px rgba(47, 91, 124, 0.11), inset 0 1px 0 #ffffff;
}

html[data-theme="light"] .cd-report-tab {
    color: #58758a;
}

html[data-theme="light"] .cd-report-tab:hover,
html[data-theme="light"] .cd-report-tab:focus-visible {
    color: #17384e;
    border-color: rgba(81, 143, 183, 0.14);
    background: rgba(255, 255, 255, 0.48);
}

html[data-theme="light"] .cd-report-tab.is-active,
html[data-theme="light"] .cd-report-tab.is-active:hover,
html[data-theme="light"] .cd-report-tab.is-active:focus-visible {
    color: #ffffff;
    border-color: rgba(100, 196, 218, 0.52);
    background: linear-gradient(115deg, #7656c5, #3c88bc 62%, #2e9eaa);
    box-shadow: 0 12px 26px rgba(61, 76, 151, 0.22), inset 3px 0 0 rgba(255, 255, 255, 0.48), inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.cd-document-tabs {
    margin: 0 0 14px;
    padding-top: 10px;
    overflow-x: auto;
    scrollbar-width: thin;
}

.cd-document-tab {
    min-width: 190px;
    max-width: min(360px, 70vw);
    flex: 0 0 auto;
}

.cd-document-tab .cd-seo-location-tab-copy {
    min-width: 0;
}

.cd-document-tab strong {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cd-report-task-content font,
.cd-report-task-content [color] {
    color: inherit !important;
}

.cd-report-task-content thead,
.cd-report-task-content thead strong,
.cd-report-task-content thead font {
    color: inherit !important;
}

.flatpickr-calendar {
    transform-origin: top right;
}

@view-transition {
    navigation: auto;
}

/* Cross-document navigation keeps only the rocket animated. The dashboard
   chrome and page content switch immediately so they never flash or fade. */
.cd-topbar,
.cd-sidebar,
.cd-main,
.cd-auth-shell {
    view-transition-name: none !important;
}

::view-transition-group(root) {
    animation: none !important;
}

::view-transition-old(root),
::view-transition-new(root) {
    opacity: 1 !important;
    animation: none !important;
    filter: none !important;
    transform: none !important;
    mix-blend-mode: normal !important;
}

.cd-auth-body {
    position: relative;
    isolation: isolate;
    overflow: hidden;
}

.cd-auth-shell {
    position: relative;
    z-index: 4;
}

.cd-auth-rocket-scene {
    position: fixed;
    z-index: 1;
    bottom: -76px;
    left: -42px;
    width: 310px;
    height: 390px;
    overflow: visible;
    pointer-events: none;
}

.cd-auth-rocket-scene::before {
    position: absolute;
    z-index: 0;
    right: 6px;
    bottom: 10px;
    width: 230px;
    height: 230px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(58, 165, 209, 0.19), rgba(117, 78, 197, 0.09) 46%, transparent 72%);
    content: "";
    filter: blur(9px);
    animation: cd-auth-rocket-glow 4.6s ease-in-out infinite alternate;
}

.cd-auth-rocket-scene::after {
    position: absolute;
    z-index: 0;
    right: -58px;
    bottom: -34px;
    width: 270px;
    height: 160px;
    border: 1px solid rgba(106, 190, 218, 0.13);
    border-radius: 50%;
    content: "";
    box-shadow: 0 0 0 24px rgba(117, 83, 202, 0.025), 0 0 0 58px rgba(58, 166, 198, 0.018);
    transform: rotate(-24deg);
}

.cd-auth-rocket {
    position: absolute;
    z-index: 2;
    bottom: 54px;
    left: 66px;
    width: 142px;
    height: 202px;
    display: block;
    animation: cd-auth-rocket-ascent-illusion 7.2s cubic-bezier(0.45, 0, 0.2, 1) infinite;
}

.cd-auth-rocket .cd-rocket-svg {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
}

.cd-auth-rocket::before {
    position: absolute;
    z-index: 1;
    top: 78%;
    left: 37%;
    width: 20px;
    height: 122px;
    border-radius: 999px 999px 72% 72%;
    background: linear-gradient(180deg, rgba(255, 249, 186, 0.98), rgba(255, 153, 72, 0.88) 30%, rgba(234, 76, 178, 0.55) 68%, transparent);
    content: "";
    filter: blur(0.8px);
    transform: rotate(24deg);
    transform-origin: 50% 0;
    animation: cd-auth-rocket-fire 820ms ease-in-out infinite alternate;
}

::view-transition-group(cd-client-dashboard-rocket) {
    z-index: 100000;
    animation-duration: 1050ms;
    animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
}

::view-transition-image-pair(cd-client-dashboard-rocket) {
    isolation: isolate;
}

::view-transition-old(cd-client-dashboard-rocket),
::view-transition-new(cd-client-dashboard-rocket) {
    animation: none;
}

@keyframes cd-auth-rocket-ascent-illusion {
    0%, 100% { transform: translate3d(0, 0, 0) rotate(-1deg); }
    28% { transform: translate3d(8px, -12px, 0) rotate(0.6deg); }
    58% { transform: translate3d(17px, -25px, 0) rotate(1.5deg); }
    78% { transform: translate3d(10px, -15px, 0) rotate(0.4deg); }
}

@keyframes cd-auth-rocket-fire {
    from { opacity: 0.7; transform: rotate(24deg) scale(0.9, 0.86); }
    to { opacity: 1; transform: rotate(24deg) scale(1.05, 1.1); }
}

@keyframes cd-auth-rocket-glow {
    from { opacity: 0.62; transform: scale(0.94); }
    to { opacity: 1; transform: scale(1.08); }
}

@media (max-width: 1180px) {
    .cd-audit-admin-report .audit-report-summary {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .audit-report-summary {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .cd-auth-rocket-scene {
        bottom: -92px;
        left: -72px;
        transform: scale(0.78);
        transform-origin: bottom left;
        opacity: 0.8;
    }
}

@media (max-width: 460px) {
    .audit-report-summary {
        grid-template-columns: 1fr;
    }

    .cd-auth-rocket-scene {
        opacity: 0.48;
    }
}

@media (prefers-reduced-motion: reduce) {
    .cd-auth-rocket,
    .cd-auth-rocket::before,
    .cd-auth-rocket-scene::before {
        animation: none !important;
    }

    ::view-transition-group(cd-client-dashboard-rocket) {
        animation-duration: 1ms !important;
    }
}
.cd-sidebar-rocket,
.cd-auth-rocket,
.cd-sidebar-rocket .cd-rocket-svg,
.cd-auth-rocket .cd-rocket-svg {
    background: transparent !important;
}

.cd-sidebar-rocket {
    transform-origin: 50% 100%;
}

::view-transition-group(cd-client-dashboard-rocket),
::view-transition-image-pair(cd-client-dashboard-rocket),
::view-transition-old(cd-client-dashboard-rocket),
::view-transition-new(cd-client-dashboard-rocket) {
    overflow: visible !important;
}

@media (prefers-reduced-motion: reduce) {
    .cd-sidebar-rocket {
        transition: none !important;
    }
}

.cd-sidebar-rocket .cd-rocket-svg,
.cd-auth-rocket .cd-rocket-svg {
    background: transparent !important;
    background-color: transparent !important;
    box-shadow: none !important;
}

.cd-auth-rocket .cd-rocket-svg,
html[data-theme="light"] .cd-auth-rocket .cd-rocket-svg {
    filter: none !important;
}

html:active-view-transition .cd-auth-rocket,
html:active-view-transition .cd-sidebar-rocket,
html:active-view-transition .cd-auth-rocket .cd-rocket-svg,
html:active-view-transition .cd-sidebar-rocket .cd-rocket-svg {
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    border-color: transparent !important;
    box-shadow: none !important;
    filter: none !important;
}

::view-transition-group(cd-client-dashboard-rocket),
::view-transition-image-pair(cd-client-dashboard-rocket),
::view-transition-old(cd-client-dashboard-rocket),
::view-transition-new(cd-client-dashboard-rocket) {
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    border: 0 !important;
    box-shadow: none !important;
    filter: none !important;
    backdrop-filter: none !important;
}

::view-transition-old(cd-client-dashboard-rocket),
::view-transition-new(cd-client-dashboard-rocket) {
    object-fit: contain;
    mix-blend-mode: normal !important;
}
.cd-sidebar-rocket-stage {
    position: absolute;
    z-index: 2;
    top: 0;
    bottom: 0;
    left: 50%;
    width: var(--cd-sidebar-width);
    overflow: visible;
    pointer-events: none;
    transform: translate3d(-50%, 0, 0) scale(1);
    transform-origin: 50% 100%;
    transition: transform 320ms cubic-bezier(0.16, 1, 0.3, 1);
    backface-visibility: hidden;
    will-change: transform;
}

.cd-sidebar-rocket-stage .cd-sidebar-rocket,
.cd-sidebar-rocket-stage .cd-sidebar-rocket-trail,
.cd-sidebar-rocket-stage .cd-sidebar-rocket::before {
    backface-visibility: hidden;
}

.cd-sidebar-rocket {
    scale: 1;
    transition: none;
}

html.cd-sidebar-collapsed .cd-sidebar-rocket {
    scale: 1;
}

html.cd-sidebar-collapsed .cd-sidebar-rocket-stage {
    transform: translate3d(-50%, 0, 0) scale(0.7);
}

.cd-auth-rocket .cd-rocket-svg,
.cd-sidebar-rocket .cd-rocket-svg {
    image-rendering: auto;
}

@media (prefers-reduced-motion: reduce) {
    .cd-sidebar-rocket-stage {
        transition: none !important;
    }
}
.cd-sidebar-rocket,
.cd-auth-rocket,
.cd-sidebar-rocket .cd-rocket-svg,
.cd-auth-rocket .cd-rocket-svg,
.cd-rocket-flight-clone,
.cd-rocket-flight-clone .cd-rocket-svg {
    view-transition-name: none !important;
}

html.cd-rocket-departing .cd-sidebar-rocket,
html.cd-rocket-departing .cd-sidebar-rocket::before,
html.cd-rocket-departing .cd-sidebar-rocket::after,
html.cd-rocket-departing .cd-sidebar-rocket-trail,
html.cd-rocket-departing .cd-auth-rocket,
html.cd-rocket-departing .cd-auth-rocket::before,
html.cd-rocket-arrival-pending .cd-sidebar-rocket:not(.cd-rocket-flight-clone),
html.cd-rocket-arrival-pending .cd-sidebar-rocket:not(.cd-rocket-flight-clone)::before,
html.cd-rocket-arrival-pending .cd-sidebar-rocket:not(.cd-rocket-flight-clone)::after,
html.cd-rocket-arrival-pending .cd-sidebar-rocket-trail,
html.cd-rocket-arrival-pending .cd-auth-rocket:not(.cd-rocket-flight-clone),
html.cd-rocket-arrival-pending .cd-auth-rocket:not(.cd-rocket-flight-clone)::before {
    animation-play-state: paused !important;
}

html.cd-rocket-arrival-pending .cd-sidebar-rocket:not(.cd-rocket-flight-clone),
html.cd-rocket-arrival-pending .cd-sidebar-rocket-trail,
html.cd-rocket-arrival-pending .cd-auth-rocket:not(.cd-rocket-flight-clone) {
    visibility: hidden !important;
}

.cd-rocket-flight-clone {
    position: fixed !important;
    z-index: 2147483000 !important;
    top: 0;
    right: auto !important;
    bottom: auto !important;
    margin: 0 !important;
    display: block !important;
    overflow: visible !important;
    pointer-events: none !important;
    visibility: visible !important;
    opacity: 1 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    animation: none !important;
    transition: none !important;
    transform: none !important;
    transform-origin: 0 0 !important;
    scale: 1 !important;
    will-change: left, top, width, height;
}

.cd-rocket-flight-clone::before,
.cd-rocket-flight-clone::after {
    animation: none !important;
}

.cd-rocket-flight-clone .cd-rocket-svg {
    width: 100% !important;
    height: 100% !important;
    display: block !important;
    visibility: visible !important;
    background: transparent !important;
    animation: none !important;
    transform: none !important;
}

.cd-rocket-flight-clone.is-flying {
    transition:
        left 820ms cubic-bezier(0.16, 1, 0.3, 1),
        top 820ms cubic-bezier(0.16, 1, 0.3, 1),
        width 820ms cubic-bezier(0.16, 1, 0.3, 1),
        height 820ms cubic-bezier(0.16, 1, 0.3, 1) !important;
}

@media (prefers-reduced-motion: reduce) {
    .cd-rocket-flight-clone.is-flying {
        transition-duration: 1ms !important;
    }
}
.cd-icon-button.cd-menu-toggle {
    position: relative;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    margin-left: 0;
    padding: 0;
    overflow: hidden;
    border: 1px solid rgba(106, 180, 221, 0.24);
    border-radius: 13px;
    color: #dff5ff;
    background:
        radial-gradient(circle at 82% 18%, rgba(116, 91, 205, 0.18), transparent 54%),
        linear-gradient(145deg, rgba(15, 48, 75, 0.94), rgba(12, 42, 67, 0.9));
    transition: border-color 180ms ease, background 180ms ease, box-shadow 220ms ease, transform 180ms ease;
}

html.cd-sidebar-collapsed .cd-menu-toggle {
    margin-left: 0;
}

.cd-icon-button.cd-menu-toggle:hover,
.cd-icon-button.cd-menu-toggle:focus-visible {
    border-color: rgba(132, 207, 236, 0.42);
    background:
        radial-gradient(circle at 82% 18%, rgba(126, 96, 218, 0.24), transparent 54%),
        linear-gradient(145deg, rgba(20, 59, 89, 0.98), rgba(14, 53, 78, 0.94));
    box-shadow: 0 15px 30px rgba(0, 8, 22, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.12);
    transform: translateY(-1px);
}

.cd-menu-toggle-glyph {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    pointer-events: none;
}

.cd-menu-toggle-glyph-desktop {
    font-size: 14px;
    transition: transform 320ms cubic-bezier(0.16, 1, 0.3, 1), opacity 180ms ease;
}

.cd-menu-toggle.is-collapsed .cd-menu-toggle-glyph-desktop {
    transform: rotate(180deg);
}

.cd-menu-toggle-glyph-mobile {
    display: none;
}

html[data-theme="light"] .cd-icon-button.cd-menu-toggle {
    color: #3e6897;
    border-color: rgba(81, 143, 183, 0.18);
    background:
        radial-gradient(circle at 82% 18%, rgba(120, 91, 208, 0.12), transparent 54%),
        linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(225, 241, 249, 0.94));
}

html[data-theme="light"] .cd-icon-button.cd-menu-toggle:hover,
html[data-theme="light"] .cd-icon-button.cd-menu-toggle:focus-visible {
    color: #53449f;
    border-color: rgba(99, 120, 194, 0.28);
    background:
        radial-gradient(circle at 82% 18%, rgba(120, 91, 208, 0.17), transparent 54%),
        linear-gradient(145deg, #ffffff, #e4f2f8);
    box-shadow: 0 15px 30px rgba(47, 78, 114, 0.15), inset 0 1px 0 #ffffff;
}

html[data-theme="light"] .cd-seo-keyword-page-tab strong {
    width: auto;
    min-width: 32px;
    padding-right: 8px;
    padding-left: 8px;
    box-sizing: border-box;
}

.cd-main.cd-report-page {
    scrollbar-width: thin;
}

.cd-auth-body {
    background:
        radial-gradient(circle at 16% 10%, rgba(111, 77, 197, 0.3), transparent 25rem),
        radial-gradient(circle at 82% 18%, rgba(47, 139, 194, 0.23), transparent 30rem),
        radial-gradient(circle at 72% 88%, rgba(42, 164, 168, 0.16), transparent 28rem),
        linear-gradient(145deg, #030915 0%, #071426 48%, #04101d 100%);
}

.cd-auth-body::before {
    background-image:
        radial-gradient(circle, rgba(255, 255, 255, 0.76) 0 1px, transparent 1.5px),
        radial-gradient(circle, rgba(115, 205, 235, 0.54) 0 1px, transparent 1.6px),
        radial-gradient(circle, rgba(172, 139, 238, 0.44) 0 1px, transparent 1.5px);
    background-position: 0 0, 33px 47px, 71px 19px;
    background-size: 84px 84px, 126px 126px, 164px 164px;
    opacity: 0.38;
    mask-image: radial-gradient(circle at center, #000 12%, transparent 90%);
}

.cd-auth-galaxy {
    position: fixed;
    z-index: 0;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.cd-auth-galaxy-orbit {
    position: absolute;
    border: 1px solid rgba(120, 179, 220, 0.12);
    border-radius: 50%;
    box-shadow: 0 0 0 26px rgba(112, 79, 199, 0.018), 0 0 0 58px rgba(42, 153, 170, 0.012);
}

.cd-auth-galaxy-orbit-one {
    top: -260px;
    right: auto;
    left: 8%;
    width: 420px;
    height: 420px;
    transform: rotate(-18deg);
}

.cd-auth-galaxy-orbit-two {
    right: 24%;
    bottom: -240px;
    width: 560px;
    height: 560px;
    border-color: rgba(133, 102, 215, 0.1);
}

.cd-auth-galaxy-planet {
    position: absolute;
    border: 1px solid rgba(168, 143, 231, 0.24);
    border-radius: 50%;
}

.cd-auth-galaxy-planet::after {
    position: absolute;
    border: 2px solid rgba(134, 203, 225, 0.28);
    border-radius: 50%;
    content: "";
    transform: rotate(-16deg);
}

.cd-auth-galaxy-star {
    position: absolute;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #dffaff;
    box-shadow: 0 0 14px rgba(130, 220, 238, 0.82);
}

.cd-auth-galaxy-star::before,
.cd-auth-galaxy-star::after {
    position: absolute;
    top: 50%;
    left: 50%;
    background: linear-gradient(90deg, transparent, rgba(219, 250, 255, 0.78), transparent);
    content: "";
    transform: translate(-50%, -50%);
}

.cd-auth-galaxy-star::before {
    width: 34px;
    height: 1px;
}

.cd-auth-galaxy-star::after {
    width: 1px;
    height: 34px;
}

.cd-auth-galaxy-star-two { top: 68%; right: 18%; transform: scale(0.72); }
.cd-auth-galaxy-star-three { top: 39%; right: 35%; transform: scale(0.5); }

.cd-auth-card {
    isolation: isolate;
    overflow: hidden;
    border: 1px solid transparent;
    border-radius: 32px 32px 32px 12px;
    background:
        radial-gradient(circle at 96% 2%, rgba(122, 91, 211, 0.23), transparent 19rem) padding-box,
        radial-gradient(circle at 2% 100%, rgba(39, 151, 168, 0.15), transparent 18rem) padding-box,
        linear-gradient(145deg, rgba(9, 25, 45, 0.94), rgba(5, 17, 32, 0.92)) padding-box,
        linear-gradient(126deg, rgba(153, 123, 226, 0.48), rgba(66, 151, 204, 0.38), rgba(47, 179, 181, 0.17)) border-box;
    box-shadow: 0 38px 100px rgba(0, 5, 18, 0.5), 0 16px 44px rgba(46, 69, 164, 0.13), inset 0 1px 0 rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(22px);
}

.cd-auth-card::before {
    top: -164px;
    right: -124px;
    width: 330px;
    height: 330px;
    border: 1px solid rgba(144, 119, 221, 0.15);
    background: radial-gradient(circle at 42% 42%, rgba(100, 85, 209, 0.2), rgba(46, 140, 188, 0.06) 48%, transparent 70%);
    box-shadow: 0 0 0 36px rgba(88, 116, 211, 0.018), 0 0 0 74px rgba(42, 158, 172, 0.012);
}

.cd-auth-card::after {
    left: 32px;
    width: 210px;
    height: 1px;
    background: linear-gradient(90deg, #8e6fda, #4b9fc7 58%, transparent);
}

.cd-auth-card-orbit {
    position: absolute;
    z-index: 0;
    right: -82px;
    bottom: -118px;
    width: 244px;
    height: 244px;
    border: 1px solid rgba(100, 190, 208, 0.12);
    border-radius: 50%;
    box-shadow: 0 0 0 24px rgba(108, 77, 196, 0.022), 0 0 0 48px rgba(45, 151, 173, 0.014);
}

.cd-auth-card-spark {
    position: absolute;
    z-index: 0;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: rgba(225, 250, 255, 0.9);
    box-shadow: 0 0 12px rgba(121, 213, 232, 0.76);
}

.cd-auth-card-spark-one { top: 30px; right: 42px; }
.cd-auth-card-spark-two { right: 116px; bottom: 38px; }

.cd-auth-card > *:not(.cd-auth-card-orbit):not(.cd-auth-card-spark) {
    position: relative;
    z-index: 2;
}

html[data-theme="light"] .cd-auth-body {
    background:
        radial-gradient(circle at 14% 8%, rgba(203, 220, 247, 0.74), transparent 28rem),
        radial-gradient(circle at 84% 18%, rgba(218, 232, 250, 0.68), transparent 32rem),
        radial-gradient(circle at 72% 90%, rgba(211, 242, 240, 0.54), transparent 30rem),
        linear-gradient(145deg, #fbfdff 0%, #eef5fb 50%, #f7fbfc 100%);
}

html[data-theme="light"] .cd-auth-card {
    background:
        radial-gradient(circle at 96% 2%, rgba(122, 91, 211, 0.12), transparent 19rem) padding-box,
        radial-gradient(circle at 2% 100%, rgba(39, 151, 168, 0.09), transparent 18rem) padding-box,
        linear-gradient(145deg, rgba(255, 255, 255, 0.97), rgba(241, 247, 252, 0.96)) padding-box,
        linear-gradient(126deg, rgba(127, 94, 204, 0.3), rgba(62, 143, 190, 0.28), rgba(44, 169, 173, 0.12)) border-box;
    box-shadow: 0 34px 86px rgba(67, 80, 132, 0.16), 0 14px 34px rgba(61, 104, 150, 0.08), inset 0 1px 0 #ffffff;
}

html[data-theme="light"] .cd-auth-galaxy-orbit {
    border-color: rgba(87, 135, 177, 0.12);
}

html[data-theme="light"] .cd-auth-galaxy-star {
    background: #6888b5;
    box-shadow: 0 0 12px rgba(79, 132, 181, 0.36);
}

.cd-audit-admin-report .audit-report-progress-summary-card {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    margin: 0;
    padding: clamp(19px, 2.6vw, 28px);
    border: 1px solid transparent;
    border-radius: 24px 24px 24px 9px;
    color: #d9ebf6;
    background:
        radial-gradient(circle at 96% 0%, rgba(128, 91, 209, 0.24), transparent 19rem) padding-box,
        radial-gradient(circle at 0% 100%, rgba(43, 157, 170, 0.13), transparent 17rem) padding-box,
        linear-gradient(145deg, rgba(10, 30, 49, 0.94), rgba(5, 19, 34, 0.92)) padding-box,
        linear-gradient(126deg, rgba(137, 105, 217, 0.4), rgba(60, 146, 196, 0.34), rgba(45, 174, 178, 0.15)) border-box;
    box-shadow: 0 24px 54px rgba(0, 7, 20, 0.27), inset 0 1px 0 rgba(255, 255, 255, 0.055);
}

.cd-audit-admin-report .audit-report-progress-summary-card::before {
    position: absolute;
    z-index: 0;
    inset: 0;
    background-image:
        radial-gradient(circle, rgba(255, 255, 255, 0.34) 0 1px, transparent 1.4px),
        radial-gradient(circle, rgba(102, 208, 226, 0.24) 0 1px, transparent 1.5px);
    background-position: 0 0, 37px 24px;
    background-size: 86px 86px, 132px 132px;
    content: "";
    opacity: 0.24;
    mask-image: linear-gradient(90deg, transparent 10%, #000 72%, transparent);
    pointer-events: none;
}

.cd-audit-admin-report .audit-report-progress-summary-body {
    position: relative;
    z-index: 2;
}

.cd-audit-admin-report .audit-report-progress-summary-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
}

.cd-audit-admin-report .audit-report-progress-summary-header h4 {
    margin: 7px 0 0;
    color: #f4fbff;
    font-family: "Sora", sans-serif;
    font-size: clamp(18px, 2.1vw, 24px);
    letter-spacing: -0.025em;
}

.cd-audit-admin-report .audit-report-progress-summary-period {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: 8px;
    color: #88a9bc;
    font-size: 12px;
    font-weight: 650;
}

.cd-audit-admin-report .audit-report-progress-summary-period i {
    color: #71c6d5;
}

.cd-audit-admin-report .audit-report-progress-summary-status {
    max-width: 340px;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 9px 12px;
    border: 1px solid rgba(114, 199, 220, 0.2);
    border-radius: 12px 12px 12px 4px;
    color: #bce8f0;
    background: linear-gradient(115deg, rgba(102, 75, 192, 0.15), rgba(42, 140, 175, 0.13));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.045);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.45;
}

.cd-audit-admin-report .audit-report-progress-summary-status i {
    flex: 0 0 auto;
    color: #79d4df;
}

.cd-audit-admin-report .audit-report-progress-summary-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 11px;
    margin-top: 18px;
}

.cd-audit-admin-report .audit-report-progress-summary-metric {
    position: relative;
    overflow: hidden;
    min-height: 126px;
    padding: 14px;
    border: 1px solid rgba(100, 172, 205, 0.14);
    border-radius: 16px 16px 16px 6px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.022));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
    transition: border-color 190ms ease, background 190ms ease, box-shadow 220ms ease, transform 190ms ease;
}

.cd-audit-admin-report .audit-report-progress-summary-metric::before {
    position: absolute;
    top: 0;
    left: 14px;
    width: 58px;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, #8062d4, #3f9bc2, transparent);
    content: "";
}

.cd-audit-admin-report .audit-report-progress-summary-metric:hover {
    border-color: rgba(108, 189, 215, 0.24);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.072), rgba(255, 255, 255, 0.03));
    box-shadow: 0 12px 26px rgba(0, 7, 19, 0.13), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    transform: translateY(-1px);
}

.cd-audit-admin-report .audit-report-progress-summary-metric span,
.cd-audit-admin-report .audit-report-progress-summary-metric small,
.cd-audit-admin-report .audit-report-progress-summary-metric em {
    display: block;
}

.cd-audit-admin-report .audit-report-progress-summary-metric span {
    min-height: 34px;
    color: #86a6b9;
    font-size: 11px;
    font-weight: 720;
    line-height: 1.45;
    text-transform: uppercase;
    letter-spacing: 0.045em;
}

.cd-audit-admin-report .audit-report-progress-summary-metric strong {
    display: block;
    margin-top: 7px;
    color: #f4fbff;
    font-family: "Sora", sans-serif;
    font-size: 24px;
    line-height: 1.15;
}

.cd-audit-admin-report .audit-report-progress-summary-metric small {
    margin-top: 6px;
    color: #7293a7;
    font-size: 11px;
}

.cd-audit-admin-report .audit-report-progress-summary-metric em {
    width: max-content;
    max-width: 100%;
    margin-top: 9px;
    padding: 4px 8px;
    border: 1px solid rgba(108, 174, 205, 0.14);
    border-radius: 999px;
    color: #a7c6d6;
    background: rgba(69, 135, 169, 0.08);
    font-size: 11px;
    font-style: normal;
    font-weight: 800;
}

.cd-audit-admin-report .audit-report-progress-summary-metric em.text-success,
.cd-audit-admin-report .audit-report-progress-summary-metric strong.text-success {
    color: #66d7b3 !important;
}

.cd-audit-admin-report .audit-report-progress-summary-metric em.text-danger,
.cd-audit-admin-report .audit-report-progress-summary-metric strong.text-danger {
    color: #ff8da3 !important;
}

.cd-audit-admin-report .audit-report-progress-summary-metric.is-resolved::before {
    background: linear-gradient(90deg, #4dc99f, #56c9c7, transparent);
}

.cd-audit-admin-report .audit-report-progress-summary-metric.is-new::before {
    background: linear-gradient(90deg, #ed718d, #bc6dc9, transparent);
}

.cd-audit-admin-report .audit-report-progress-summary-description {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    margin: 15px 0 0;
    padding: 11px 13px;
    border: 1px solid rgba(102, 177, 208, 0.12);
    border-radius: 12px;
    color: #8fabbc;
    background: rgba(58, 124, 158, 0.055);
    font-size: 12px;
    line-height: 1.55;
}

.cd-audit-admin-report .audit-report-progress-summary-description i {
    margin-top: 3px;
    color: #65bfce;
}

.cd-audit-admin-report .audit-report-progress-orbit {
    position: absolute;
    z-index: 1;
    border: 1px solid rgba(116, 94, 209, 0.12);
    border-radius: 50%;
    pointer-events: none;
}

.cd-audit-admin-report .audit-report-progress-orbit-one {
    top: -108px;
    right: -70px;
    width: 228px;
    height: 228px;
    box-shadow: 0 0 0 28px rgba(48, 141, 181, 0.018), 0 0 0 56px rgba(40, 161, 168, 0.012);
}

.cd-audit-admin-report .audit-report-progress-orbit-two {
    right: 20%;
    bottom: -112px;
    width: 178px;
    height: 178px;
    border-color: rgba(53, 172, 181, 0.08);
}

html[data-theme="light"] .cd-audit-admin-report .audit-report-progress-summary-card {
    color: #46677c;
    background:
        radial-gradient(circle at 96% 0%, rgba(128, 91, 209, 0.12), transparent 19rem) padding-box,
        radial-gradient(circle at 0% 100%, rgba(43, 157, 170, 0.08), transparent 17rem) padding-box,
        linear-gradient(145deg, rgba(255, 255, 255, 0.99), rgba(238, 247, 251, 0.97)) padding-box,
        linear-gradient(126deg, rgba(125, 94, 203, 0.25), rgba(55, 138, 187, 0.24), rgba(45, 166, 171, 0.11)) border-box;
    box-shadow: 0 22px 48px rgba(42, 75, 100, 0.11), inset 0 1px 0 #ffffff;
}

html[data-theme="light"] .cd-audit-admin-report .audit-report-progress-summary-header h4,
html[data-theme="light"] .cd-audit-admin-report .audit-report-progress-summary-metric strong {
    color: #213f55;
}

html[data-theme="light"] .cd-audit-admin-report .audit-report-progress-summary-period,
html[data-theme="light"] .cd-audit-admin-report .audit-report-progress-summary-metric span,
html[data-theme="light"] .cd-audit-admin-report .audit-report-progress-summary-description {
    color: #627f92;
}

html[data-theme="light"] .cd-audit-admin-report .audit-report-progress-summary-status {
    color: #496d82;
    border-color: rgba(84, 145, 178, 0.16);
    background: linear-gradient(115deg, rgba(114, 86, 198, 0.08), rgba(49, 143, 174, 0.08));
    box-shadow: inset 0 1px 0 #ffffff;
}

html[data-theme="light"] .cd-audit-admin-report .audit-report-progress-summary-metric {
    border-color: rgba(76, 132, 163, 0.13);
    background: rgba(255, 255, 255, 0.72);
    box-shadow: inset 0 1px 0 #ffffff;
}

html[data-theme="light"] .cd-audit-admin-report .audit-report-progress-summary-metric:hover {
    border-color: rgba(83, 147, 179, 0.2);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 11px 24px rgba(47, 91, 124, 0.09), inset 0 1px 0 #ffffff;
}

html[data-theme="light"] .cd-audit-admin-report .audit-report-progress-summary-metric small {
    color: #8199a8;
}

html[data-theme="light"] .cd-audit-admin-report .audit-report-progress-summary-metric em {
    color: #58758a;
    border-color: rgba(75, 132, 164, 0.12);
    background: rgba(79, 139, 171, 0.07);
}

@media (max-width: 960px) {
    .cd-menu-toggle-glyph-desktop {
        display: none;
    }

    .cd-menu-toggle-glyph-mobile {
        display: block;
    }

    .cd-menu-toggle-glyph-mobile > span {
        position: absolute;
        left: 12px;
        width: 18px;
        height: 2px;
        border-radius: 999px;
        background: currentColor;
        transform-origin: center;
        transition: top 240ms ease, transform 280ms cubic-bezier(0.16, 1, 0.3, 1), opacity 160ms ease;
    }

    .cd-menu-toggle-glyph-mobile > span:nth-child(1) { top: 14px; }
    .cd-menu-toggle-glyph-mobile > span:nth-child(2) { top: 20px; }
    .cd-menu-toggle-glyph-mobile > span:nth-child(3) { top: 26px; }

    .cd-menu-toggle.is-open .cd-menu-toggle-glyph-mobile > span:nth-child(1) {
        top: 20px;
        transform: rotate(45deg);
    }

    .cd-menu-toggle.is-open .cd-menu-toggle-glyph-mobile > span:nth-child(2) {
        opacity: 0;
        transform: scaleX(0.35);
    }

    .cd-menu-toggle.is-open .cd-menu-toggle-glyph-mobile > span:nth-child(3) {
        top: 20px;
        transform: rotate(-45deg);
    }

    .cd-audit-admin-report .audit-report-progress-summary-header {
        flex-direction: column;
    }

    .cd-audit-admin-report .audit-report-progress-summary-status {
        max-width: none;
    }
}

@media (max-width: 620px) {

    .cd-auth-galaxy-star-two,
    .cd-auth-galaxy-orbit-two {
        display: none;
    }

    .cd-audit-admin-report .audit-report-progress-summary-metrics {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    .cd-icon-button.cd-menu-toggle,
    .cd-menu-toggle-glyph-desktop,
    .cd-menu-toggle-glyph-mobile > span,
    .cd-task-report-stat,
    .cd-task-report-stat::before,
    .cd-seo-report-tab,
    .cd-seo-report-tab::before,
    .cd-audit-admin-report .audit-report-progress-summary-metric {
        transition: none !important;
    }
}
.cd-page-background-emblem {
    z-index: 0;
}

.cd-app-shell {
    position: relative;
    z-index: 1;
}

.cd-report-navigation {
    position: relative;
    z-index: 2;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    border-radius: 16px;
    border-bottom: 1px solid rgba(126, 178, 207, 0.13);
    background: linear-gradient(110deg, rgba(18, 41, 58, 0.68), rgba(10, 28, 42, 0.4));
}

.cd-report-tabs-scroll {
    min-width: 0;
    flex: 1 1 auto;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 2px 3px 5px 0;
    scrollbar-width: thin;
    scrollbar-color: rgba(91, 174, 207, 0.48) transparent;
}

.cd-report-tabs-scroll::-webkit-scrollbar {
    height: 5px;
}

.cd-report-tabs-scroll::-webkit-scrollbar-track {
    background: transparent;
}

.cd-report-tabs-scroll::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(112, 82, 199, 0.68), rgba(55, 148, 188, 0.7), rgba(44, 163, 169, 0.68));
}

.cd-report-navigation .cd-report-tabs {
    width: max-content;
    min-width: max-content;
    flex-wrap: nowrap;
}

.cd-report-navigation .cd-report-month-form {
    position: relative;
    flex: 0 0 auto;
    margin-left: auto;
    padding-left: 4px;
}

html[data-theme="light"] .cd-report-navigation {
    border-bottom-color: rgba(64, 105, 134, 0.11);
    background: linear-gradient(110deg, rgba(228, 241, 248, 0.74), rgba(244, 250, 252, 0.56));
}

html[data-theme="light"] .cd-report-tabs-scroll {
    scrollbar-color: rgba(62, 135, 170, 0.48) transparent;
}

.cd-seo-distribution-value {
    min-width: 0;
    display: inline-flex;
    align-items: baseline;
    justify-content: flex-end;
    gap: 8px;
    margin-left: auto;
}

.cd-seo-distribution-side .cd-seo-distribution-value strong,
.cd-seo-distribution-side .cd-seo-distribution-value em {
    position: static;
    float: none;
    margin: 0;
    white-space: nowrap;
}

.cd-seo-distribution-side .cd-seo-distribution-value em {
    color: #9bb3c1;
    font-size: 11px;
    font-style: normal;
    font-weight: 800;
}

.cd-seo-opportunity-grid {
    align-items: stretch;
}

.cd-seo-signal-card {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.cd-seo-signal-card::before {
    top: 0;
    right: 0;
    width: 118px;
    height: 82px;
    border: 0;
    border-radius: 0 15px 0 58px;
    background:
        linear-gradient(135deg, transparent 31%, rgba(132, 102, 220, 0.34) 31.5%, rgba(132, 102, 220, 0.34) 32.5%, transparent 33%),
        linear-gradient(135deg, transparent 51%, rgba(75, 151, 201, 0.24) 51.5%, rgba(75, 151, 201, 0.24) 52.5%, transparent 53%),
        linear-gradient(145deg, rgba(106, 82, 199, 0.18), rgba(52, 136, 184, 0.06));
    filter: none;
    opacity: 1;
}

.cd-seo-signal-card.is-risk::before {
    background:
        linear-gradient(135deg, transparent 31%, rgba(222, 81, 107, 0.34) 31.5%, rgba(222, 81, 107, 0.34) 32.5%, transparent 33%),
        linear-gradient(135deg, transparent 51%, rgba(222, 143, 94, 0.24) 51.5%, rgba(222, 143, 94, 0.24) 52.5%, transparent 53%),
        linear-gradient(145deg, rgba(210, 73, 100, 0.18), rgba(220, 139, 88, 0.06));
}

.cd-seo-signal-card.is-win::before {
    background:
        linear-gradient(135deg, transparent 31%, rgba(56, 188, 128, 0.34) 31.5%, rgba(56, 188, 128, 0.34) 32.5%, transparent 33%),
        linear-gradient(135deg, transparent 51%, rgba(57, 178, 181, 0.24) 51.5%, rgba(57, 178, 181, 0.24) 52.5%, transparent 53%),
        linear-gradient(145deg, rgba(49, 174, 119, 0.18), rgba(49, 162, 169, 0.06));
}

.cd-seo-signal-card-icon {
    position: relative;
    z-index: 2;
    overflow: visible;
}

.cd-seo-signal-card-icon i {
    display: block;
    color: inherit;
    font-size: 14px;
    line-height: 1;
    opacity: 1;
    visibility: visible;
}

.cd-seo-signal-list {
    flex: 1 1 auto;
    align-content: start;
}

html[data-theme="light"] .cd-seo-distribution-side .cd-seo-distribution-value em {
    color: #6f8999;
}

@media (max-width: 760px) {
    .cd-report-navigation {
        align-items: stretch;
        flex-direction: column;
        gap: 10px;
        padding: 12px;
    }

    .cd-report-tabs-scroll {
        width: 100%;
    }

    .cd-report-navigation .cd-report-month-form,
    .cd-report-navigation .cd-report-month-select-wrap {
        width: 100%;
        margin-left: 0;
        padding-left: 0;
    }
}
.cd-icon-button,
.cd-icon-button.cd-menu-toggle,
.cd-document-action-button,
.cd-topbar-actions .cd-icon-button {
    border-left-color: rgba(120, 190, 234, 0.07);
    box-shadow: 0 16px 34px rgba(0, 7, 22, 0.28), inset 1px 0 0 rgba(77, 169, 255, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.09);
}

html[data-theme="light"] .cd-icon-button,
html[data-theme="light"] .cd-icon-button.cd-menu-toggle,
html[data-theme="light"] .cd-topbar-actions .cd-icon-button,
html[data-theme="light"] .cd-document-action-button,
html[data-theme="light"] .cd-document-action-button.cd-report-download-button {
    border-left-color: rgba(81, 143, 183, 0.045);
    box-shadow: 0 16px 34px rgba(47, 91, 124, 0.15), inset 1px 0 0 rgba(45, 135, 200, 0.32), inset 0 1px 0 #ffffff;
}

html[data-theme="light"] .cd-nav::before {
    border-left-color: rgba(81, 143, 183, 0.045);
    box-shadow: 0 16px 34px rgba(47, 91, 124, 0.15), inset 1px 0 0 rgba(45, 135, 200, 0.32), inset 0 1px 0 #ffffff;
}

.audit-report-screenshot-preview {
    margin-bottom: 0;
}

html[data-theme="light"] .cd-task-report-stat:hover,
html[data-theme="light"] .cd-task-report-stat-primary:hover {
    color: #ffffff;
    border-color: rgba(126, 102, 211, 0.34);
    background:
        radial-gradient(circle at 100% 0%, rgba(192, 149, 247, 0.34), transparent 12rem),
        radial-gradient(circle at 0 100%, rgba(70, 197, 221, 0.2), transparent 11rem),
        linear-gradient(145deg, #684fb6, #3788bd 64%, #2b9eab);
    box-shadow: 0 20px 42px rgba(56, 70, 145, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

html[data-theme="light"] .cd-task-report-stat:hover span,
html[data-theme="light"] .cd-task-report-stat:hover strong,
html[data-theme="light"] .cd-task-report-stat-primary:hover span,
html[data-theme="light"] .cd-task-report-stat-primary:hover strong {
    color: #ffffff !important;
}

.cd-main {
    scrollbar-width: thin;
}

.cd-auth-galaxy-planet {
    top: 19%;
    right: auto;
    left: 18%;
    width: 92px;
    height: 92px;
}

.cd-auth-galaxy-planet::after {
    top: 38px;
    left: -27px;
    width: 145px;
    height: 24px;
}

.cd-report-tabs-scroll > .cd-report-tabs {
    width: 100%;
    min-width: max-content;
}

[data-cd-seo-report][data-cd-seo-sidebar-transition] .cd-seo-report-panels {
    position: relative;
    min-height: var(--cd-seo-sidebar-transition-height, 420px);
    contain: layout paint;
}

[data-cd-seo-report][data-cd-seo-sidebar-transition] .cd-seo-report-panel.is-active {
    display: none !important;
}

[data-cd-seo-report][data-cd-seo-sidebar-transition] .cd-seo-report-panels::after {
    position: absolute;
    inset: 0;
    min-height: var(--cd-seo-sidebar-transition-height, 420px);
    border: 1px solid rgba(108, 174, 211, 0.14);
    border-radius: 22px;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.035)) 24px 24px / min(42%, 420px) 24px no-repeat,
        linear-gradient(90deg, rgba(255, 255, 255, 0.028), rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.028)) 24px 64px / calc(100% - 48px) 108px no-repeat,
        linear-gradient(90deg, rgba(108, 83, 202, 0.1), rgba(53, 142, 187, 0.08), rgba(45, 163, 169, 0.06)),
        linear-gradient(145deg, rgba(10, 31, 47, 0.98), rgba(6, 22, 35, 0.98));
    box-shadow: 0 18px 42px rgba(0, 8, 20, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.045);
    content: "";
    pointer-events: none;
}

html[data-theme="light"] [data-cd-seo-report][data-cd-seo-sidebar-transition] .cd-seo-report-panels::after {
    border-color: rgba(65, 111, 141, 0.12);
    background:
        linear-gradient(90deg, rgba(68, 121, 153, 0.055), rgba(68, 121, 153, 0.1), rgba(68, 121, 153, 0.055)) 24px 24px / min(42%, 420px) 24px no-repeat,
        linear-gradient(90deg, rgba(68, 121, 153, 0.04), rgba(68, 121, 153, 0.075), rgba(68, 121, 153, 0.04)) 24px 64px / calc(100% - 48px) 108px no-repeat,
        linear-gradient(90deg, rgba(108, 83, 202, 0.07), rgba(53, 142, 187, 0.06), rgba(45, 163, 169, 0.05)),
        linear-gradient(145deg, #ffffff, #edf6fa);
    box-shadow: 0 18px 38px rgba(44, 78, 103, 0.1), inset 0 1px 0 #ffffff;
}

@media (max-width: 620px) {
    .cd-auth-galaxy-planet {
        top: 11%;
        right: auto;
        left: 8%;
        transform: scale(0.8);
    }
}
html[data-theme="dark"] .cd-audit-admin-report .audit-report-estimated-time em {
    padding: 2px 7px;
    border: 1px solid rgba(112, 190, 217, 0.2);
    border-radius: 999px;
    color: #dff5fc;
    background: rgba(43, 118, 151, 0.16);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.055);
}

.cd-audit-admin-report .audit-report-category-score-table tbody td {
    transition: color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

html[data-theme="dark"] .cd-audit-admin-report .audit-report-category-score-table tbody tr:hover {
    background: transparent;
}

html[data-theme="dark"] .cd-audit-admin-report .audit-report-category-score-table tbody tr:hover > td {
    color: #edf9fd;
    background: linear-gradient(100deg, rgba(107, 77, 194, 0.12), rgba(43, 132, 174, 0.12) 58%, rgba(45, 189, 187, 0.07));
    box-shadow: inset 0 1px 0 rgba(126, 201, 224, 0.08), inset 0 -1px 0 rgba(77, 145, 177, 0.08);
}

@media (max-width: 960px) {
    .cd-app-shell {
        z-index: auto;
    }

    .cd-overlay {
        z-index: 60;
    }

    .cd-sidebar,
    .cd-menu-open .cd-sidebar {
        z-index: 70;
    }
}

/* Main content scrollbar visibility refinement 1.8.11 */
.cd-main,
.cd-main.cd-report-page {
    scrollbar-color: rgba(112, 91, 199, 0.9) rgba(67, 126, 157, 0.12);
}

.cd-main::-webkit-scrollbar,
.cd-main.cd-report-page::-webkit-scrollbar {
    width: 7px;
}

.cd-main::-webkit-scrollbar-track,
.cd-main.cd-report-page::-webkit-scrollbar-track {
    border-radius: 999px;
    background: rgba(67, 126, 157, 0.1);
}

.cd-main::-webkit-scrollbar-thumb,
.cd-main.cd-report-page::-webkit-scrollbar-thumb {
    min-height: 54px;
    border: 1px solid rgba(8, 24, 39, 0.2);
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(124, 98, 204, 0.94), rgba(57, 143, 188, 0.92) 58%, rgba(45, 158, 168, 0.9));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.24), 0 0 0 1px rgba(93, 177, 206, 0.06);
}

.cd-main::-webkit-scrollbar-thumb:hover,
.cd-main.cd-report-page::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, rgba(137, 111, 216, 0.98), rgba(68, 155, 201, 0.96) 58%, rgba(56, 174, 181, 0.94));
}

html[data-theme="light"] .cd-main,
html[data-theme="light"] .cd-main.cd-report-page {
    scrollbar-color: rgba(84, 111, 148, 0.72) rgba(87, 145, 177, 0.12);
}

html[data-theme="light"] .cd-main::-webkit-scrollbar-track,
html[data-theme="light"] .cd-main.cd-report-page::-webkit-scrollbar-track {
    background: rgba(87, 145, 177, 0.11);
}

html[data-theme="light"] .cd-main::-webkit-scrollbar-thumb,
html[data-theme="light"] .cd-main.cd-report-page::-webkit-scrollbar-thumb {
    border-color: rgba(51, 95, 124, 0.18);
    background: linear-gradient(180deg, rgba(103, 121, 166, 0.82), rgba(57, 137, 178, 0.82) 58%, rgba(45, 148, 159, 0.8));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.52), 0 1px 3px rgba(44, 88, 116, 0.12);
}

html[data-theme="light"] .cd-main::-webkit-scrollbar-thumb:hover,
html[data-theme="light"] .cd-main.cd-report-page::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, rgba(91, 109, 158, 0.9), rgba(47, 127, 170, 0.9) 58%, rgba(36, 139, 151, 0.88));
}
body.cd-body,
body.cd-body *,
body.cd-auth-body,
body.cd-auth-body * {
    scrollbar-width: thin !important;
    scrollbar-color: rgba(112, 91, 199, 0.9) rgba(67, 126, 157, 0.12) !important;
}

body.cd-body::-webkit-scrollbar,
body.cd-body *::-webkit-scrollbar,
body.cd-auth-body::-webkit-scrollbar,
body.cd-auth-body *::-webkit-scrollbar {
    width: 7px !important;
    height: 7px !important;
}

body.cd-body::-webkit-scrollbar-track,
body.cd-body *::-webkit-scrollbar-track,
body.cd-auth-body::-webkit-scrollbar-track,
body.cd-auth-body *::-webkit-scrollbar-track {
    border-radius: 999px !important;
    background: rgba(67, 126, 157, 0.1) !important;
}

body.cd-body::-webkit-scrollbar-thumb,
body.cd-body *::-webkit-scrollbar-thumb,
body.cd-auth-body::-webkit-scrollbar-thumb,
body.cd-auth-body *::-webkit-scrollbar-thumb {
    min-width: 54px;
    min-height: 54px;
    border: 1px solid rgba(8, 24, 39, 0.2) !important;
    border-radius: 999px !important;
    background: linear-gradient(180deg, rgba(124, 98, 204, 0.94), rgba(57, 143, 188, 0.92) 58%, rgba(45, 158, 168, 0.9)) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.24), 0 0 0 1px rgba(93, 177, 206, 0.06) !important;
}

body.cd-body::-webkit-scrollbar-thumb:hover,
body.cd-body *::-webkit-scrollbar-thumb:hover,
body.cd-auth-body::-webkit-scrollbar-thumb:hover,
body.cd-auth-body *::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, rgba(137, 111, 216, 0.98), rgba(68, 155, 201, 0.96) 58%, rgba(56, 174, 181, 0.94)) !important;
}

body.cd-body::-webkit-scrollbar-corner,
body.cd-body *::-webkit-scrollbar-corner,
body.cd-auth-body::-webkit-scrollbar-corner,
body.cd-auth-body *::-webkit-scrollbar-corner {
    background: rgba(67, 126, 157, 0.1) !important;
}

html[data-theme="light"] body.cd-body,
html[data-theme="light"] body.cd-body *,
html[data-theme="light"] body.cd-auth-body,
html[data-theme="light"] body.cd-auth-body * {
    scrollbar-color: rgba(84, 111, 148, 0.72) rgba(87, 145, 177, 0.12) !important;
}

html[data-theme="light"] body.cd-body::-webkit-scrollbar-track,
html[data-theme="light"] body.cd-body *::-webkit-scrollbar-track,
html[data-theme="light"] body.cd-auth-body::-webkit-scrollbar-track,
html[data-theme="light"] body.cd-auth-body *::-webkit-scrollbar-track {
    background: rgba(87, 145, 177, 0.11) !important;
}

html[data-theme="light"] body.cd-body::-webkit-scrollbar-thumb,
html[data-theme="light"] body.cd-body *::-webkit-scrollbar-thumb,
html[data-theme="light"] body.cd-auth-body::-webkit-scrollbar-thumb,
html[data-theme="light"] body.cd-auth-body *::-webkit-scrollbar-thumb {
    border-color: rgba(51, 95, 124, 0.18) !important;
    background: linear-gradient(180deg, rgba(103, 121, 166, 0.82), rgba(57, 137, 178, 0.82) 58%, rgba(45, 148, 159, 0.8)) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.52), 0 1px 3px rgba(44, 88, 116, 0.12) !important;
}

html[data-theme="light"] body.cd-body::-webkit-scrollbar-thumb:hover,
html[data-theme="light"] body.cd-body *::-webkit-scrollbar-thumb:hover,
html[data-theme="light"] body.cd-auth-body::-webkit-scrollbar-thumb:hover,
html[data-theme="light"] body.cd-auth-body *::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, rgba(91, 109, 158, 0.9), rgba(47, 127, 170, 0.9) 58%, rgba(36, 139, 151, 0.88)) !important;
}

html[data-theme="light"] body.cd-body::-webkit-scrollbar-corner,
html[data-theme="light"] body.cd-body *::-webkit-scrollbar-corner,
html[data-theme="light"] body.cd-auth-body::-webkit-scrollbar-corner,
html[data-theme="light"] body.cd-auth-body *::-webkit-scrollbar-corner {
    background: rgba(87, 145, 177, 0.11) !important;
}

/* Authentication planet and galaxy refinement 1.8.17 */
.cd-auth-galaxy-planet {
    border-color: rgba(180, 145, 239, 0.3);
    background: radial-gradient(circle at 34% 28%, #d8c4ff, #7658bd 58%, #263c67 100%);
    box-shadow: 0 12px 32px rgba(73, 52, 147, 0.28);
    opacity: 0.46;
}

.cd-auth-galaxy-planet::after {
    border-color: rgba(140, 215, 235, 0.38);
}

/* ==========================================================================
   Dashboard analytics, charts and responsive report layouts
   ========================================================================== */
.cd-dashboard-main {
    padding-bottom: 72px;
}

.cd-dashboard-heading {
    margin-bottom: 24px;
}

.cd-dashboard-hero-inner {
    max-width: 1480px;
    padding-right: clamp(38px, 6vw, 88px);
    padding-left: clamp(38px, 6vw, 88px);
}

.cd-dashboard-heading p {
    line-height: 1.55;
}

.cd-dashboard-hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.cd-dashboard-hero-stat {
    min-width: 145px;
    display: grid;
    grid-template-columns: 48px auto;
    grid-template-rows: auto auto;
    column-gap: 10px;
    align-items: center;
    padding: 10px 14px;
    border: 1px solid rgba(255, 255, 255, 0.17);
    border-radius: 14px;
    background: rgba(5, 20, 45, 0.34);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.055);
    backdrop-filter: blur(12px);
}

.cd-dashboard-hero-stat-icon {
    grid-row: 1 / 3;
    width: 48px;
    min-width: 48px;
    height: 48px;
    min-height: 48px;
    display: grid;
    place-items: center;
    border-radius: 11px;
    color: #b8efff;
    background: rgba(90, 190, 255, 0.14);
    font-size: 18px;
}

.cd-dashboard-hero-stat-value {
    color: #ffffff;
    font-family: "Sora", "Manrope", ui-sans-serif, system-ui, sans-serif;
    font-size: 20px;
    font-weight: 700;
    line-height: 1;
}

.cd-dashboard-hero-stat-label {
    margin-top: 3px;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 650;
    line-height: 1.2;
}

.cd-dashboard-hero-report {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) auto;
    gap: 13px;
    align-items: center;
    padding: 12px 13px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    background: rgba(4, 18, 40, 0.46);
    box-shadow: 0 18px 42px rgba(0, 8, 30, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(16px);
}

.cd-dashboard-hero-report-icon {
    width: 48px;
    min-width: 48px;
    height: 48px;
    min-height: 48px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    color: #e7fbff;
    background: linear-gradient(145deg, rgba(77, 169, 255, 0.48), rgba(45, 188, 187, 0.36));
    box-shadow: 0 10px 24px rgba(31, 142, 205, 0.2);
    font-size: 18px;
}

.cd-dashboard-hero-report-copy {
    min-width: 0;
    display: flex;
    flex-direction: column;
    line-height: 1.25;
}

.cd-dashboard-hero-report-copy small,
.cd-dashboard-hero-report-copy span {
    color: rgba(255, 255, 255, 0.67);
}

.cd-dashboard-hero-report-copy strong {
    margin: 2px 0;
    overflow: hidden;
    color: #ffffff;
    font-size: 15px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cd-dashboard-hero-report-link {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 9px 14px;
    border-radius: 12px;
    color: #11283a;
    background: rgba(255, 255, 255, 0.94);
    font-size: 12px;
    font-weight: 750;
    transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.cd-dashboard-hero-report-link:hover {
    color: #0b2234;
    background: #ffffff;
    box-shadow: 0 10px 24px rgba(0, 10, 30, 0.2);
    transform: translateY(-2px);
}

.cd-dashboard-content {
    display: grid;
    margin-top: 26px;
}

.cd-dashboard-overview {
    display: flex;
    align-items: stretch;
    padding: clamp(26px, 3vw, 40px);
    border-radius: 30px;
}

.cd-dashboard-overview-heading {
    align-self: flex-start;
}

.cd-dashboard-overview-heading h2,
.cd-dashboard-module-header h2,
.cd-dashboard-panel-heading h3 {
    margin: 0;
    color: var(--cd-text);
    font-family: "Sora", "Manrope", ui-sans-serif, system-ui, sans-serif;
    letter-spacing: -0.035em;
}

.cd-dashboard-section-kicker {
    display: inline-block;
    margin-bottom: 7px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.cd-dashboard-overview .cd-dashboard-visual {
    z-index: 0;
}

.cd-dashboard-overview .cd-dashboard-map {
    border: 0;
    border-radius: 0;
    background: none;
    filter: saturate(0.95) contrast(1.05);
    opacity: 0.72;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 16%, #000 92%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0%, #000 16%, #000 92%, transparent 100%);
}

.cd-dashboard-overview .cd-dashboard-emblem {
    opacity: 0.94;
}

.cd-dashboard-overview .cd-dashboard-core {
    left: 50%;
    width: clamp(90px, 8vw, 126px);
    height: clamp(90px, 8vw, 126px);
}

.cd-dashboard-overview .cd-dashboard-core img {
    width: 46%;
    height: 46%;
}

.cd-dashboard-overview .cd-dashboard-beam {
    left: 36%;
}

.cd-dashboard-overview-metrics {
    position: relative;
    z-index: 6;
    display: grid;
    align-self: center;
    margin-left: auto;
}

.cd-dashboard-overview-metric {
    display: grid;
    grid-template-rows: auto auto auto;
    align-content: center;
    border: 1px solid rgba(150, 213, 244, 0.17);
    border-radius: 18px;
    background: linear-gradient(145deg, rgba(7, 27, 45, 0.83), rgba(9, 31, 48, 0.68));
    box-shadow: 0 18px 42px rgba(0, 8, 24, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.035);
    backdrop-filter: blur(16px);
    transition: transform 190ms ease, border-color 190ms ease, background 190ms ease, box-shadow 190ms ease;
}

.cd-dashboard-overview-metric-icon {
    grid-row: 1 / 4;
    align-self: center;
}

.cd-dashboard-overview-metric-value {
    overflow: hidden;
    color: #ffffff;
    font-family: "Sora", "Manrope", ui-sans-serif, system-ui, sans-serif;
    font-weight: 700;
    line-height: 1.05;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cd-dashboard-overview-metric-label {
    margin-top: 4px;
    color: rgba(235, 247, 255, 0.88);
    font-weight: 700;
}

.cd-dashboard-overview-metric-meta {
    margin-top: 3px;
    color: var(--cd-muted);
}

.cd-dashboard-module {
    position: relative;
}

.cd-dashboard-module::before {
    position: absolute;
    top: 0;
    height: 2px;
}

.cd-dashboard-module-header,
.cd-dashboard-panel-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.cd-dashboard-module-header h2 {
    line-height: 1.12;
}

.cd-dashboard-module-action {
    flex: 0 0 auto;
}

.cd-dashboard-grid-layout {
    display: grid;
    gap: 15px;
}

.cd-dashboard-panel {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(137, 193, 224, 0.12);
    border-radius: 20px;
}

.cd-dashboard-score-panel,
.cd-dashboard-task-total,
.cd-dashboard-audit-score-card,
.cd-dashboard-report-status-card {
    min-height: 160px;
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 20px;
}

.cd-dashboard-score-ring {
    --cd-dashboard-score: 0;
    position: relative;
    width: 104px;
    height: 104px;
    flex: 0 0 104px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: conic-gradient(#55d2e8 calc(var(--cd-dashboard-score) * 1%), rgba(114, 167, 196, 0.12) 0);
    box-shadow: 0 12px 28px rgba(42, 167, 205, 0.15);
}

.cd-dashboard-score-ring::before {
    position: absolute;
    inset: 9px;
    border-radius: inherit;
    background: #0c2437;
    box-shadow: inset 0 0 0 1px rgba(144, 203, 233, 0.09);
    content: "";
}

.cd-dashboard-score-ring span {
    position: relative;
    z-index: 1;
    color: #ffffff;
    font-family: "Sora", "Manrope", ui-sans-serif, system-ui, sans-serif;
    font-size: 24px;
    font-weight: 750;
}

.cd-dashboard-score-copy,
.cd-dashboard-task-total > div,
.cd-dashboard-audit-score-card > div,
.cd-dashboard-report-status-card > div {
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.cd-dashboard-score-copy > span,
.cd-dashboard-task-total small,
.cd-dashboard-audit-score-card small,
.cd-dashboard-report-status-card small,
.cd-dashboard-panel-icon + div > span,
.cd-dashboard-document-panel-header > div > span {
    color: var(--cd-muted);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.cd-dashboard-score-copy strong {
    margin-top: 5px;
    color: #ffffff;
}

.cd-dashboard-score-copy small {
    margin-top: 3px;
    color: var(--cd-muted);
}

.cd-dashboard-keyword-panel {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
    padding: 1px;
    background: rgba(125, 184, 216, 0.11);
}

.cd-dashboard-mini-stat {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
    background: rgba(9, 29, 45, 0.95);
}

.cd-dashboard-mini-stat > span:last-child,
.cd-dashboard-task-stat > div,
.cd-dashboard-audit-stat-card > div {
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.cd-dashboard-mini-stat strong,
.cd-dashboard-task-stat strong,
.cd-dashboard-audit-stat-card strong {
    color: #ffffff;
    font-family: "Sora", "Manrope", ui-sans-serif, system-ui, sans-serif;
    font-size: 21px;
    line-height: 1.1;
}

.cd-dashboard-mini-stat small,
.cd-dashboard-task-stat small,
.cd-dashboard-audit-stat-card small {
    margin-top: 4px;
    overflow: hidden;
    color: var(--cd-muted);
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cd-dashboard-competitor-panel {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 14px;
    align-content: center;
    padding: 19px;
}

.cd-dashboard-competitor-panel > div:nth-child(2) {
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.cd-dashboard-competitor-panel > div:nth-child(2) strong {
    color: #ffffff;
    font-size: 29px;
    line-height: 1.1;
}

.cd-dashboard-competitor-panel > div:nth-child(2) small {
    color: var(--cd-muted);
}

.cd-dashboard-competitor-comparison {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.cd-dashboard-competitor-comparison span {
    display: flex;
    flex-direction: column;
    padding: 9px 10px;
    border-radius: 11px;
    background: rgba(126, 190, 220, 0.07);
}

.cd-dashboard-competitor-comparison small {
    color: var(--cd-muted);
}

.cd-dashboard-competitor-comparison strong {
    margin-top: 3px;
    color: #ffffff;
    font-size: 14px;
}

.cd-dashboard-chart-panel,
.cd-dashboard-table-panel,
.cd-dashboard-comparison-panel,
.cd-dashboard-task-projects,
.cd-dashboard-report-list {
    margin-top: 15px;
    padding: 20px;
}

.cd-dashboard-panel-heading {
    margin-bottom: 16px;
}

.cd-dashboard-panel-heading h3 {
    font-size: 19px;
}

.cd-dashboard-line-chart svg {
    width: 100%;
    height: 205px;
    display: block;
    overflow: visible;
}

.cd-dashboard-chart-grid-line {
    stroke: rgba(142, 190, 218, 0.12);
    stroke-width: 0.45;
    vector-effect: non-scaling-stroke;
}

.cd-dashboard-chart-area {
    fill: rgba(58, 184, 221, 0.12);
}

.cd-dashboard-chart-line {
    fill: none;
    stroke: #56d1e8;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2.2;
    vector-effect: non-scaling-stroke;
    filter: drop-shadow(0 0 5px rgba(75, 202, 230, 0.3));
}

.cd-dashboard-chart-point {
    fill: #d9faff;
    stroke: #31b8dc;
    stroke-width: 1.2;
    vector-effect: non-scaling-stroke;
}

.cd-dashboard-chart-labels {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 6px;
    margin-top: 4px;
}

.cd-dashboard-chart-labels span {
    min-width: 0;
    display: flex;
    flex-direction: column;
    text-align: center;
}

.cd-dashboard-chart-labels strong {
    overflow: hidden;
    color: #ffffff;
    font-size: 12px;
    text-overflow: ellipsis;
}

.cd-dashboard-chart-labels small {
    margin-top: 2px;
    overflow: hidden;
    color: var(--cd-muted);
    font-size: 9px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cd-dashboard-table-wrap {
    overflow-x: auto;
}

.cd-dashboard-table {
    width: 100%;
    border-collapse: collapse;
}

.cd-dashboard-table th,
.cd-dashboard-table td {
    padding: 13px 14px;
    border-bottom: 1px solid rgba(139, 190, 218, 0.1);
    text-align: left;
    white-space: nowrap;
}

.cd-dashboard-table th {
    color: var(--cd-muted);
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.cd-dashboard-table td {
    color: rgba(237, 247, 253, 0.83);
}

.cd-dashboard-table td:first-child {
    min-width: 220px;
    white-space: normal;
}

.cd-dashboard-table-score {
    display: inline-flex;
    padding: 5px 9px;
    border-radius: 999px;
    color: #176b94;
    background: rgba(67, 187, 219, 0.1);
    font-weight: 750;
}

html[data-theme="dark"] .cd-dashboard-table-score {
    color: #55d2e8;
}

.cd-dashboard-audit-score-card strong,
.cd-dashboard-task-total strong,
.cd-dashboard-report-status-card strong {
    margin: 4px 0;
    color: #ffffff;
    font-family: "Sora", "Manrope", ui-sans-serif, system-ui, sans-serif;
    font-size: clamp(27px, 2.6vw, 38px);
    line-height: 1.05;
}

.cd-dashboard-audit-score-card strong span {
    color: var(--cd-muted);
    font-size: 12px;
}

.cd-dashboard-delta {
    align-self: flex-start;
    padding: 3px 8px;
    border-radius: 999px;
    color: var(--cd-muted);
    background: rgba(133, 184, 214, 0.08);
    font-weight: 750;
}

.is-positive {
    color: var(--cd-success) !important;
}

.is-negative {
    color: var(--cd-danger) !important;
}

.cd-dashboard-audit-stat-card,
.cd-dashboard-task-stat {
    min-height: 140px;
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 17px;
}

.cd-dashboard-comparison-summary {
    display: flex;
    gap: 10px;
}

.cd-dashboard-comparison-summary span {
    min-width: 92px;
    display: flex;
    flex-direction: column;
    padding: 8px 11px;
    border-radius: 12px;
    background: rgba(120, 182, 215, 0.07);
}

.cd-dashboard-comparison-summary small {
    color: var(--cd-muted);
}

.cd-dashboard-comparison-summary strong {
    color: #ffffff;
    font-size: 17px;
}

.cd-dashboard-empty-inline {
    color: var(--cd-muted);
}

.cd-dashboard-audit-rows,
.cd-dashboard-task-rows {
    display: grid;
    gap: 13px;
}

.cd-dashboard-audit-row {
    display: grid;
    grid-template-columns: minmax(190px, 0.8fr) minmax(200px, 1.5fr) 72px;
    gap: 16px;
    align-items: center;
}

.cd-dashboard-audit-row-label {
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.cd-dashboard-audit-row-label strong {
    overflow: hidden;
    color: rgba(244, 250, 254, 0.92);
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cd-dashboard-audit-row-label span,
.cd-dashboard-task-row small {
    margin-top: 3px;
    color: var(--cd-muted);
}

.cd-dashboard-audit-row-bar,
.cd-dashboard-task-row-track {
    height: 7px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(130, 183, 211, 0.1);
}

.cd-dashboard-audit-row-bar span,
.cd-dashboard-task-row-track span {
    height: 100%;
    display: block;
    border-radius: inherit;
    background: linear-gradient(90deg, #2d93da, #45d0d0);
    box-shadow: 0 0 14px rgba(54, 187, 217, 0.2);
}

.cd-dashboard-audit-row-value {
    display: flex;
    align-items: baseline;
    justify-content: flex-end;
    gap: 7px;
}

.cd-dashboard-audit-row-value strong {
    color: #ffffff;
    font-size: 17px;
}

.cd-dashboard-audit-row-value small {
    color: var(--cd-muted);
}

.cd-dashboard-task-total > div > span,
.cd-dashboard-report-status-card > div > span {
    color: var(--cd-muted);
    font-size: 10px;
}

.cd-dashboard-task-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 2fr auto;
    gap: 14px;
    align-items: center;
}

.cd-dashboard-task-row-heading {
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.cd-dashboard-task-row-heading strong {
    overflow: hidden;
    color: rgba(244, 250, 254, 0.92);
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cd-dashboard-task-row-heading span {
    flex: 0 0 auto;
    font-weight: 750;
}

.cd-dashboard-report-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.cd-dashboard-report-row {
    min-width: 0;
    display: grid;
    align-items: center;
    border: 1px solid rgba(139, 194, 224, 0.09);
    border-radius: 14px;
    background: rgba(121, 180, 210, 0.045);
}

.cd-dashboard-report-row-copy {
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.cd-dashboard-report-row-copy strong {
    overflow: hidden;
    color: rgba(244, 250, 254, 0.92);
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cd-dashboard-report-row-copy small {
    margin-top: 3px;
    color: var(--cd-muted);
}

.cd-dashboard-status-pill {
    display: inline-flex;
    padding: 5px 8px;
    border-radius: 999px;
    color: #9cecff;
    background: rgba(65, 183, 219, 0.1);
    font-weight: 800;
    text-transform: uppercase;
}

.cd-dashboard-status-pill.is-sent {
    color: var(--cd-success);
    background: rgba(112, 229, 174, 0.09);
}

.cd-dashboard-document-columns {
    display: grid;
    gap: 15px;
}

.cd-dashboard-document-panel {
    padding: 19px;
}

.cd-dashboard-document-panel-header {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) 38px;
    gap: 13px;
    align-items: center;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(139, 190, 218, 0.1);
}

.cd-dashboard-document-panel-header > div {
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.cd-dashboard-document-panel-header > div strong {
    color: #ffffff;
    font-family: "Sora", "Manrope", ui-sans-serif, system-ui, sans-serif;
    font-size: 30px;
    line-height: 1.1;
}

.cd-dashboard-document-panel-header > div small {
    color: var(--cd-muted);
}

.cd-dashboard-document-panel-header > a {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    color: #9cecff;
    background: rgba(68, 174, 220, 0.1);
    transition: transform 180ms ease, background 180ms ease;
}

.cd-dashboard-document-panel-header > a:hover {
    color: #ffffff;
    background: rgba(68, 174, 220, 0.2);
    transform: translateX(2px);
}

.cd-dashboard-document-list {
    display: grid;
    gap: 3px;
    margin-top: 11px;
}

.cd-dashboard-document-row {
    min-width: 0;
    justify-content: space-between;
    gap: 18px;
    padding: 11px 10px;
    border-radius: 11px;
    transition: background 170ms ease, transform 170ms ease;
}

.cd-dashboard-document-row:hover {
    background: rgba(120, 187, 220, 0.07);
    transform: translateX(2px);
}

.cd-dashboard-document-row > span {
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.cd-dashboard-document-row strong {
    overflow: hidden;
    color: rgba(244, 250, 254, 0.91);
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cd-dashboard-document-row small,
.cd-dashboard-document-row time {
    color: var(--cd-muted);
}

.cd-dashboard-document-row time {
    flex: 0 0 auto;
}

html[data-theme="light"] .cd-dashboard-overview-heading h2,
html[data-theme="light"] .cd-dashboard-module-header h2,
html[data-theme="light"] .cd-dashboard-panel-heading h3 {
    color: #173044;
}

html[data-theme="light"] .cd-dashboard-overview {
    background:
        radial-gradient(circle at 78% 40%, rgba(45, 188, 187, 0.12), transparent 26rem) padding-box,
        radial-gradient(circle at 28% 70%, rgba(77, 169, 255, 0.14), transparent 27rem) padding-box,
        linear-gradient(142deg, rgba(250, 253, 255, 0.97), rgba(235, 246, 252, 0.95)) padding-box,
        linear-gradient(130deg, rgba(74, 155, 210, 0.3), rgba(45, 188, 187, 0.16), rgba(151, 198, 228, 0.08)) border-box;
    box-shadow: 0 30px 75px rgba(55, 89, 122, 0.16), inset 0 1px 0 #ffffff;
}

html[data-theme="light"] .cd-dashboard-overview .cd-dashboard-map {
    filter: brightness(0.7) saturate(0.9) contrast(1.05);
    opacity: 0.53;
}

html[data-theme="light"] .cd-dashboard-overview-metric,
html[data-theme="light"] .cd-dashboard-panel {
    border-color: rgba(77, 130, 164, 0.13);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(237, 247, 252, 0.83));
    box-shadow: 0 16px 38px rgba(62, 91, 120, 0.11), inset 0 1px 0 #ffffff;
}

html[data-theme="light"] .cd-dashboard-overview-metric-value,
html[data-theme="light"] .cd-dashboard-score-copy strong,
html[data-theme="light"] .cd-dashboard-mini-stat strong,
html[data-theme="light"] .cd-dashboard-competitor-panel > div:nth-child(2) strong,
html[data-theme="light"] .cd-dashboard-competitor-comparison strong,
html[data-theme="light"] .cd-dashboard-chart-labels strong,
html[data-theme="light"] .cd-dashboard-audit-score-card strong,
html[data-theme="light"] .cd-dashboard-task-total strong,
html[data-theme="light"] .cd-dashboard-report-status-card strong,
html[data-theme="light"] .cd-dashboard-task-stat strong,
html[data-theme="light"] .cd-dashboard-audit-stat-card strong,
html[data-theme="light"] .cd-dashboard-comparison-summary strong,
html[data-theme="light"] .cd-dashboard-audit-row-value strong,
html[data-theme="light"] .cd-dashboard-document-panel-header > div strong {
    color: #173044;
}

html[data-theme="light"] .cd-dashboard-overview-metric-label,
html[data-theme="light"] .cd-dashboard-table td,
html[data-theme="light"] .cd-dashboard-audit-row-label strong,
html[data-theme="light"] .cd-dashboard-task-row-heading strong,
html[data-theme="light"] .cd-dashboard-report-row-copy strong,
html[data-theme="light"] .cd-dashboard-document-row strong {
    color: #29485e;
}

html[data-theme="light"] .cd-dashboard-score-ring::before {
    background: #f7fcff;
}

html[data-theme="light"] .cd-dashboard-score-ring span {
    color: #173044;
}

html[data-theme="light"] .cd-dashboard-keyword-panel {
    background: rgba(87, 140, 171, 0.12);
}

html[data-theme="light"] .cd-dashboard-mini-stat {
    background: rgba(249, 253, 255, 0.96);
}

html[data-theme="light"] .cd-dashboard-table th,
html[data-theme="light"] .cd-dashboard-table td,
html[data-theme="light"] .cd-dashboard-document-panel-header {
    border-color: rgba(77, 126, 156, 0.11);
}

@media (max-width: 1240px) {
    .cd-dashboard-grid-layout-seo {
        grid-template-columns: minmax(220px, 0.85fr) minmax(360px, 1.45fr);
    }

    .cd-dashboard-competitor-panel {
        min-height: 112px;
    }

    .cd-dashboard-grid-layout-audit,
    .cd-dashboard-grid-layout-task {
        grid-template-columns: repeat(3, minmax(145px, 1fr));
    }

    .cd-dashboard-audit-score-card,
    .cd-dashboard-task-total {
        grid-column: span 3;
        min-height: 125px;
    }
}

@media (max-width: 1050px) {
    .cd-dashboard-overview {
        min-height: 610px;
    }

    .cd-dashboard-overview .cd-dashboard-emblem {
        top: 25%;
        left: 19%;
        width: 250px;
        height: 250px;
        transform: translate(-50%, -50%) scale(0.94);
    }

    .cd-dashboard-overview-metrics {
        align-self: flex-end;
    }

    .cd-dashboard-grid-layout-reports {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .cd-dashboard-report-status-card {
        grid-column: 1 / -1;
    }
}

@media (max-width: 820px) {

    .cd-dashboard-hero-inner {
        padding-right: 30px;
        padding-left: 30px;
    }

    .cd-dashboard-hero-report {
        grid-template-columns: 44px minmax(0, 1fr);
    }

    .cd-dashboard-hero-stat {
        grid-template-columns: 44px auto;
    }

    .cd-dashboard-hero-report-icon,
    .cd-dashboard-hero-stat-icon {
        width: 44px;
        min-width: 44px;
        height: 44px;
        min-height: 44px;
    }

    .cd-dashboard-hero-report-link {
        grid-column: 1 / -1;
    }

    .cd-dashboard-overview {
        padding-top: 28px;
    }

    .cd-dashboard-overview-heading {
        max-width: 100%;
    }

    .cd-dashboard-overview-heading h2 {
        max-width: 100%;
    }

    .cd-dashboard-overview .cd-dashboard-visual {
        height: 300px;
    }

    .cd-dashboard-overview .cd-dashboard-map {
        width: 100%;
    }

    .cd-dashboard-overview .cd-dashboard-emblem {
        top: 53%;
        left: 24%;
        width: 220px;
        height: 220px;
        transform: translate(-50%, -50%) scale(0.82);
    }

    .cd-dashboard-overview-metrics {
        margin-top: 260px;
    }

    .cd-dashboard-grid-layout-seo,
    .cd-dashboard-grid-layout-audit,
    .cd-dashboard-grid-layout-task {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .cd-dashboard-competitor-panel,
    .cd-dashboard-audit-score-card,
    .cd-dashboard-task-total {
        grid-column: 1 / -1;
    }

    .cd-dashboard-audit-row {
        grid-template-columns: minmax(150px, 0.8fr) minmax(150px, 1.2fr) 64px;
    }

    .cd-dashboard-task-row {
        grid-template-columns: minmax(150px, 1fr) 1.4fr;
    }

    .cd-dashboard-task-row > small {
        grid-column: 1 / -1;
    }
}

@media (max-width: 620px) {
    .cd-dashboard-main {
        padding-bottom: 46px;
    }

    .cd-dashboard-hero-inner {
        padding-right: 22px;
        padding-left: 22px;
    }

    .cd-dashboard-heading p {
        margin-bottom: 16px;
    }

    .cd-dashboard-hero-stats {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 7px;
    }

    .cd-dashboard-hero-stat-value {
        font-size: 17px;
    }

    .cd-dashboard-hero-stat-label {
        font-size: 8px;
    }

    .cd-dashboard-overview,
    .cd-dashboard-module {
        border-radius: 22px;
    }

    .cd-dashboard-overview {
        padding: 22px 16px 18px;
    }

    .cd-dashboard-overview .cd-dashboard-visual {
        height: 245px;
    }

    .cd-dashboard-overview .cd-dashboard-emblem {
        left: 30%;
        width: 190px;
        height: 190px;
        transform: translate(-50%, -50%) scale(0.7);
    }

    .cd-dashboard-overview-metrics {
        margin-top: 215px;
    }

    .cd-dashboard-overview-metric {
        min-height: 104px;
        padding: 15px;
    }

    .cd-dashboard-module {
        padding: 21px 15px;
    }

    .cd-dashboard-grid-layout-seo,
    .cd-dashboard-grid-layout-audit,
    .cd-dashboard-grid-layout-task,
    .cd-dashboard-grid-layout-reports {
        grid-template-columns: 1fr;
    }

    .cd-dashboard-competitor-panel,
    .cd-dashboard-audit-score-card,
    .cd-dashboard-task-total,
    .cd-dashboard-report-status-card {
        grid-column: auto;
    }

    .cd-dashboard-competitor-panel {
        grid-template-columns: 48px minmax(0, 1fr);
    }

    .cd-dashboard-competitor-comparison {
        grid-column: 1 / -1;
    }

    .cd-dashboard-chart-panel,
    .cd-dashboard-table-panel,
    .cd-dashboard-comparison-panel,
    .cd-dashboard-task-projects,
    .cd-dashboard-report-list {
        padding: 15px;
    }

    .cd-dashboard-chart-labels {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        row-gap: 9px;
    }

    .cd-dashboard-audit-row {
        grid-template-columns: 1fr 58px;
        gap: 9px;
    }

    .cd-dashboard-audit-row-bar {
        grid-column: 1 / -1;
        grid-row: 2;
    }

    .cd-dashboard-audit-row-value {
        grid-column: 2;
        grid-row: 1;
    }

    .cd-dashboard-task-row {
        grid-template-columns: 1fr;
        gap: 7px;
    }

    .cd-dashboard-task-row > small {
        grid-column: auto;
    }

    .cd-dashboard-report-list {
        grid-template-columns: 1fr;
    }

    .cd-dashboard-status-pill {
        grid-column: 2;
        justify-self: start;
    }

    .cd-dashboard-document-row {
        align-items: flex-start;
        flex-direction: column;
        gap: 3px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .cd-dashboard-hero-report-link,
    .cd-dashboard-overview-metric,
    .cd-dashboard-document-panel-header > a,
    .cd-dashboard-document-row {
        transition: none !important;
    }
}

.cd-dashboard-banner-copy {
    max-width: 1280px;
}

.cd-dashboard-hero-data-row {
    display: flex;
    align-items: stretch;
    flex-direction: column;
    gap: 12px;
}

.cd-dashboard-hero-stats {
    margin-bottom: 0;
}

.cd-dashboard-hero-report {
    width: 100%;
    max-width: 610px;
}

.cd-dashboard-scroll-tab {
    border: 1px solid transparent;
    color: rgba(239, 249, 255, 0.92);
    background:
        linear-gradient(145deg, rgba(8, 29, 48, 0.84), rgba(5, 20, 36, 0.72)) padding-box,
        linear-gradient(130deg, rgba(118, 99, 219, 0.48), rgba(62, 177, 216, 0.28), rgba(45, 188, 187, 0.18)) border-box;
    box-shadow: 0 16px 34px rgba(0, 7, 22, 0.28), inset 1px 0 0 rgba(112, 91, 199, 0.72), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(14px);
}

.cd-dashboard-scroll-tab:hover {
    color: #ffffff;
    background:
        linear-gradient(145deg, rgba(20, 50, 76, 0.92), rgba(8, 34, 51, 0.88)) padding-box,
        linear-gradient(130deg, rgba(146, 114, 238, 0.7), rgba(66, 190, 224, 0.5), rgba(45, 188, 187, 0.36)) border-box;
    box-shadow: 0 20px 40px rgba(0, 7, 22, 0.34), inset 1px 0 0 rgba(139, 111, 232, 0.86), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.cd-dashboard-overview-heading {
    z-index: 8;
    max-width: none;
    gap: 13px;
}

.cd-dashboard-overview-heading-icon {
    width: 45px;
    height: 45px;
    flex: 0 0 45px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(143, 122, 231, 0.34);
    border-radius: 15px;
    color: #d9d0ff;
    background: linear-gradient(145deg, rgba(119, 84, 202, 0.3), rgba(49, 154, 190, 0.2));
    box-shadow: 0 10px 24px rgba(55, 48, 134, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.cd-dashboard-overview-heading-copy {
    min-width: 0;
}

.cd-dashboard-overview-heading .cd-dashboard-section-kicker {
    margin-bottom: 3px;
}

.cd-dashboard-content {
    position: relative;
    isolation: isolate;
}

.cd-dashboard-content::before {
    position: absolute;
    z-index: -1;
    inset: -60px -4vw;
    pointer-events: none;
    background:
        radial-gradient(circle at 8% 19%, rgba(110, 81, 205, 0.1), transparent 25rem),
        radial-gradient(circle at 94% 38%, rgba(42, 167, 205, 0.09), transparent 27rem),
        radial-gradient(circle at 28% 79%, rgba(45, 188, 187, 0.07), transparent 24rem);
    content: "";
    filter: blur(2px);
}

.cd-dashboard-module-seo {
    --cd-dashboard-module-accent: 112, 84, 210;
    --cd-dashboard-module-secondary: 55, 162, 211;
}

.cd-dashboard-module-audit {
    --cd-dashboard-module-accent: 57, 130, 201;
    --cd-dashboard-module-secondary: 47, 190, 191;
}

.cd-dashboard-module-task {
    --cd-dashboard-module-accent: 126, 88, 211;
    --cd-dashboard-module-secondary: 44, 177, 196;
}

.cd-dashboard-module-reports {
    --cd-dashboard-module-accent: 196, 91, 160;
    --cd-dashboard-module-secondary: 92, 111, 216;
}

.cd-dashboard-module-documents {
    --cd-dashboard-module-accent: 53, 150, 210;
    --cd-dashboard-module-secondary: 45, 188, 187;
}

.cd-dashboard-module {
    isolation: isolate;
    border-color: rgba(var(--cd-dashboard-module-accent), 0.2);
}

.cd-dashboard-module::before {
    z-index: 1;
    width: 155px;
    background: linear-gradient(90deg, rgba(var(--cd-dashboard-module-accent), 0.98), rgba(var(--cd-dashboard-module-secondary), 0.34), transparent);
    box-shadow: 0 0 22px rgba(var(--cd-dashboard-module-accent), 0.22);
}

.cd-dashboard-module-galaxy {
    position: absolute;
    z-index: 0;
    pointer-events: none;
}

.cd-dashboard-module-orbit {
    position: absolute;
    border: 1px solid rgba(var(--cd-dashboard-module-accent), 0.2);
    border-radius: 50%;
    box-shadow: 0 0 0 20px rgba(var(--cd-dashboard-module-accent), 0.018), 0 0 0 40px rgba(var(--cd-dashboard-module-secondary), 0.012);
    animation: cd-dashboard-module-orbit-drift 9s ease-in-out infinite alternate;
}

.cd-dashboard-module-orbit::after {
    position: absolute;
    left: -4px;
    border-radius: 50%;
    content: "";
}

.cd-dashboard-module-planet {
    position: absolute;
    top: 34px;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255, 255, 255, 0.19);
    border-radius: 50%;
    background:
        radial-gradient(circle at 34% 29%, rgba(255, 255, 255, 0.72) 0 4%, transparent 8%),
        linear-gradient(145deg, rgba(var(--cd-dashboard-module-accent), 0.94), rgba(var(--cd-dashboard-module-secondary), 0.88));
    box-shadow: 0 0 30px rgba(var(--cd-dashboard-module-accent), 0.35), inset -9px -8px 15px rgba(3, 12, 31, 0.28);
    animation: cd-dashboard-module-planet-float 5.8s ease-in-out infinite;
}

.cd-dashboard-module-planet::after {
    position: absolute;
    top: 17px;
    left: -12px;
    width: 66px;
    height: 10px;
    border: 1px solid rgba(var(--cd-dashboard-module-secondary), 0.33);
    border-radius: 50%;
    content: "";
    transform: rotate(-12deg);
}

.cd-dashboard-module-star {
    position: absolute;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #dff8ff;
    box-shadow: 0 0 10px rgba(218, 247, 255, 0.8);
}

.cd-dashboard-module-star::before,
.cd-dashboard-module-star::after {
    position: absolute;
    top: 50%;
    left: 50%;
    background: rgba(220, 249, 255, 0.48);
    content: "";
    transform: translate(-50%, -50%);
}

.cd-dashboard-module-star::before {
    width: 14px;
    height: 1px;
}

.cd-dashboard-module-star::after {
    width: 1px;
    height: 14px;
}

.cd-dashboard-module-star-two {
    top: 104px;
    transform: scale(0.7);
}

@keyframes cd-dashboard-module-orbit-drift {
    from { transform: rotate(-17deg) translate3d(0, 0, 0); }
    to { transform: rotate(-12deg) translate3d(-8px, 4px, 0); }
}

@keyframes cd-dashboard-module-planet-float {
    0%, 100% { transform: translate3d(0, 0, 0); }
    50% { transform: translate3d(-4px, 7px, 0); }
}

.cd-dashboard-module-header,
.cd-dashboard-grid-layout,
.cd-dashboard-chart-panel,
.cd-dashboard-table-panel,
.cd-dashboard-comparison-panel,
.cd-dashboard-task-chart-grid,
.cd-dashboard-task-projects,
.cd-dashboard-report-visual-grid,
.cd-dashboard-document-chart-panel,
.cd-dashboard-document-columns {
    position: relative;
    z-index: 2;
}

.cd-dashboard-panel {
    border-color: rgba(var(--cd-dashboard-module-accent), 0.16);
    background:
        radial-gradient(circle at 100% 0%, rgba(var(--cd-dashboard-module-accent), 0.12), transparent 13rem),
        linear-gradient(145deg, rgba(15, 39, 58, 0.89), rgba(8, 27, 43, 0.79));
    box-shadow: 0 17px 42px rgba(0, 8, 22, 0.19), inset 0 1px 0 rgba(255, 255, 255, 0.035);
    transition: transform 200ms ease, border-color 200ms ease, box-shadow 200ms ease, background 200ms ease;
}

.cd-dashboard-panel:hover {
    border-color: rgba(var(--cd-dashboard-module-accent), 0.3);
    background:
        radial-gradient(circle at 100% 0%, rgba(var(--cd-dashboard-module-accent), 0.18), transparent 14rem),
        linear-gradient(145deg, rgba(18, 47, 69, 0.94), rgba(8, 30, 47, 0.88));
    box-shadow: 0 22px 48px rgba(0, 8, 22, 0.24), 0 0 28px rgba(var(--cd-dashboard-module-accent), 0.055), inset 0 1px 0 rgba(255, 255, 255, 0.055);
    transform: translateY(-2px);
}

.cd-dashboard-module-action {
    min-height: 44px;
    border-radius: 13px;
}

.cd-dashboard-chart-canvas {
    position: relative;
    min-width: 0;
}

.cd-dashboard-chart-canvas canvas,
.cd-dashboard-chart-doughnut canvas {
    width: 100% !important;
    height: 100% !important;
}

.cd-dashboard-chart-doughnut {
    position: relative;
}

.cd-dashboard-chart-center {
    position: absolute;
    inset: 0;
    display: grid;
    place-content: center;
    pointer-events: none;
    text-align: center;
}

.cd-dashboard-chart-center strong,
.cd-dashboard-chart-center small {
    display: block;
}

.cd-dashboard-chart-center strong {
    color: #ffffff;
    font-family: "Sora", "Manrope", ui-sans-serif, system-ui, sans-serif;
    line-height: 1;
}

.cd-dashboard-chart-center small {
    margin-top: 4px;
    color: var(--cd-muted);
    font-weight: 800;
    text-transform: uppercase;
}

.cd-dashboard-audit-score-chart {
    flex-basis: 116px;
}

.cd-dashboard-task-chart-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: 15px;
    margin-top: 15px;
}

.cd-dashboard-report-visual-grid {
    display: grid;
    grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
    gap: 15px;
    margin-top: 15px;
}

.cd-dashboard-report-visual-grid.is-chart-only {
    grid-template-columns: minmax(280px, 520px);
}

.cd-dashboard-report-list {
    margin-top: 0;
    align-content: start;
}

.cd-dashboard-document-chart-panel {
    margin: 0 0 15px;
}

html[data-theme="light"] .cd-dashboard-scroll-tab {
    color: #27465d;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.93), rgba(231, 243, 250, 0.88)) padding-box,
        linear-gradient(130deg, rgba(106, 82, 198, 0.36), rgba(47, 147, 193, 0.24), rgba(42, 157, 156, 0.18)) border-box;
    box-shadow: 0 16px 34px rgba(47, 91, 124, 0.15), inset 1px 0 0 rgba(93, 75, 181, 0.55), inset 0 1px 0 #ffffff;
}

html[data-theme="light"] .cd-dashboard-overview-heading {
    border-color: rgba(65, 118, 151, 0.14);
}

html[data-theme="light"] .cd-dashboard-overview-heading-icon {
    color: #5d48ad;
    background: linear-gradient(145deg, rgba(119, 84, 202, 0.14), rgba(49, 154, 190, 0.12));
}

html[data-theme="light"] .cd-dashboard-module {
    border-color: rgba(var(--cd-dashboard-module-accent), 0.15);
}

html[data-theme="light"] .cd-dashboard-panel {
    border-color: rgba(var(--cd-dashboard-module-accent), 0.12);
    background:
        radial-gradient(circle at 100% 0%, rgba(var(--cd-dashboard-module-accent), 0.075), transparent 13rem),
        linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(238, 248, 252, 0.91));
    box-shadow: 0 17px 38px rgba(52, 84, 109, 0.1), inset 0 1px 0 #ffffff;
}

html[data-theme="light"] .cd-dashboard-panel:hover {
    border-color: rgba(var(--cd-dashboard-module-accent), 0.22);
    background:
        radial-gradient(circle at 100% 0%, rgba(var(--cd-dashboard-module-accent), 0.12), transparent 14rem),
        linear-gradient(145deg, #ffffff, #edf8fc);
    box-shadow: 0 22px 44px rgba(52, 84, 109, 0.14), 0 0 24px rgba(var(--cd-dashboard-module-accent), 0.04), inset 0 1px 0 #ffffff;
}

html[data-theme="light"] .cd-dashboard-chart-center strong {
    color: #173044;
}

@media (min-width: 1280px) {
    .cd-dashboard-hero-data-row {
        grid-template-columns: minmax(520px, 1fr) minmax(390px, 0.78fr);
        display: grid;
        align-items: stretch;
        gap: 14px;
    }

    .cd-dashboard-hero-stats {
        display: grid;
        grid-template-columns: repeat(3, minmax(150px, 1fr));
    }

    .cd-dashboard-hero-stat,
    .cd-dashboard-hero-report {
        min-height: 72px;
    }

    .cd-dashboard-hero-report {
        max-width: none;
    }
}

@media (max-width: 1050px) {
    .cd-dashboard-task-chart-grid,
    .cd-dashboard-report-visual-grid {
        grid-template-columns: 1fr;
    }

    .cd-dashboard-report-visual-grid.is-chart-only {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 820px) {

    .cd-dashboard-overview-heading h2 {
        font-size: clamp(21px, 4.5vw, 28px);
    }

    .cd-dashboard-module-galaxy {
        opacity: 0.48;
    }
}

@media (max-width: 620px) {

    .cd-dashboard-overview-heading {
        border-radius: 15px;
    }

    .cd-dashboard-overview-heading-icon {
        width: 40px;
        height: 40px;
        flex-basis: 40px;
    }

    .cd-dashboard-task-chart-grid,
    .cd-dashboard-report-visual-grid {
        gap: 12px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .cd-dashboard-module-orbit,
    .cd-dashboard-module-planet {
        animation: none !important;
    }
}

.cd-dashboard-audit-score-card > .cd-dashboard-audit-score-chart {
    display: block;
}

.cd-dashboard-chart-center strong,
.cd-dashboard-chart-center small {
    margin: 0;
}

.cd-dashboard-chart-canvas canvas,
.cd-dashboard-chart-doughnut canvas {
    display: block;
}
.cd-dashboard-heading {
    min-height: clamp(255px, 22vw, 320px);
    padding: clamp(32px, 4vw, 48px) 0 clamp(30px, 3.6vw, 44px);
}

.cd-dashboard-heading h1 {
    max-width: 760px;
    margin-bottom: 9px;
    font-size: clamp(30px, 3vw, 42px);
    line-height: 1.06;
}

.cd-dashboard-heading p {
    max-width: 720px;
    margin-bottom: 15px;
    font-size: 14px;
}

.cd-dashboard-scroll-tab {
    top: 50%;
    bottom: auto;
    min-width: 182px;
    padding: 12px 34px;
    border-radius: 0 0 22px 22px;
    font-size: 12px;
    transform: translateY(-50%) rotate(-90deg);
}

.cd-dashboard-scroll-tab:hover {
    transform: translateY(-50%) rotate(-90deg);
}

.cd-dashboard-overview-heading {
    border: 0;
    border-radius: 0;
    background: none;
    box-shadow: none;
    backdrop-filter: none;
}

.cd-dashboard-overview-heading-copy {
    position: relative;
    z-index: 2;
    display: block;
}

.cd-dashboard-overview-satellite {
    position: absolute;
    z-index: 1;
    top: -7px;
    right: 4px;
    width: 124px;
    height: 104px;
    display: grid;
    place-items: center;
    color: rgba(218, 209, 255, 0.9);
    filter: drop-shadow(0 12px 20px rgba(73, 54, 151, 0.28));
    pointer-events: none;
    transform: rotate(-12deg);
    animation: cd-dashboard-satellite-float 6s ease-in-out infinite;
}

.cd-dashboard-overview-satellite > i {
    position: relative;
    z-index: 2;
    font-size: 58px;
    text-shadow: 0 0 20px rgba(137, 112, 226, 0.42), 0 0 34px rgba(67, 184, 211, 0.22);
}

.cd-dashboard-overview-satellite-orbit {
    position: absolute;
    inset: 20px 3px 16px;
    border: 1px solid rgba(136, 119, 224, 0.3);
    border-radius: 50%;
    transform: rotate(18deg);
}

.cd-dashboard-overview-satellite-orbit::after {
    position: absolute;
    top: 5px;
    right: 15px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #8ee8e5;
    box-shadow: 0 0 14px rgba(90, 222, 220, 0.82);
    content: "";
}

.cd-dashboard-overview-satellite-signal,
.cd-dashboard-overview-satellite-signal::before,
.cd-dashboard-overview-satellite-signal::after {
    position: absolute;
    border: 1px solid rgba(91, 216, 222, 0.24);
    border-bottom: 0;
    border-left: 0;
    border-radius: 0 100% 0 0;
    content: "";
}

.cd-dashboard-overview-satellite-signal {
    top: 15px;
    right: 4px;
    width: 30px;
    height: 30px;
}

.cd-dashboard-overview-satellite-signal::before {
    top: 7px;
    right: 7px;
    width: 18px;
    height: 18px;
}

.cd-dashboard-overview-satellite-signal::after {
    top: 13px;
    right: 13px;
    width: 7px;
    height: 7px;
}

@keyframes cd-dashboard-satellite-float {
    0%, 100% { transform: translate3d(0, 0, 0) rotate(-12deg); }
    50% { transform: translate3d(-7px, 8px, 0) rotate(-8deg); }
}

.cd-dashboard-module {
    padding: 0;
    border: 0;
    border-radius: 0;
    background: none;
    box-shadow: none;
}

.cd-dashboard-module::before {
    left: 0;
}

.cd-dashboard-task-comparison-chart,
.cd-dashboard-task-distribution-chart,
.cd-dashboard-report-chart-panel,
.cd-dashboard-document-chart-panel {
    padding: 17px 18px;
}

.cd-dashboard-score-panel,
.cd-dashboard-audit-score-card {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
}

.cd-dashboard-score-copy,
.cd-dashboard-audit-score-card > div:not(.cd-dashboard-audit-score-chart) {
    width: 100%;
    align-items: center;
    text-align: center;
}

.cd-dashboard-score-copy strong,
.cd-dashboard-audit-score-card strong {
    margin: 3px 0 0;
    font-size: 21px;
}

.cd-dashboard-audit-score-card .cd-dashboard-delta {
    align-self: center;
    margin-top: 6px;
}

.cd-dashboard-audit-stat-card {
    min-height: 145px;
    gap: 15px;
    padding: 19px;
    border-color: rgba(var(--cd-dashboard-module-accent), 0.18);
}

.cd-dashboard-audit-stat-card strong {
    font-size: 29px;
}

.cd-dashboard-audit-stat-card small {
    margin-top: 6px;
    font-size: 12px;
    line-height: 1.35;
}

.cd-dashboard-report-status-card {
    grid-template-columns: 82px minmax(0, 1fr);
    gap: 18px;
    align-items: center;
}

.cd-dashboard-report-status-visual {
    position: relative;
    width: 82px;
    height: 82px;
    display: grid;
    place-items: center;
}

.cd-dashboard-report-status-orbit {
    position: absolute;
    inset: 2px;
    border: 1px solid rgba(151, 121, 230, 0.28);
    border-radius: 50%;
    box-shadow: 0 0 0 9px rgba(137, 103, 219, 0.035);
    animation: cd-dashboard-report-orbit 8s linear infinite;
}

.cd-dashboard-report-status-orbit::after {
    position: absolute;
    top: 8px;
    right: 11px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #75ddd9;
    box-shadow: 0 0 15px rgba(117, 221, 217, 0.8);
    content: "";
}

.cd-dashboard-report-status-icon {
    position: relative;
    z-index: 2;
}

.cd-dashboard-report-status-copy {
    min-width: 0;
}

.cd-dashboard-report-status-value {
    display: inline-flex;
    overflow: hidden;
    border: 1px solid rgba(117, 221, 217, 0.17);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 750;
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@keyframes cd-dashboard-report-orbit {
    to { transform: rotate(360deg); }
}

.cd-dashboard-main small,
.cd-dashboard-section-kicker,
.cd-dashboard-hero-stat-label,
.cd-dashboard-hero-report-copy small,
.cd-dashboard-hero-report-copy span,
.cd-dashboard-overview-metric-label,
.cd-dashboard-overview-metric-meta,
.cd-dashboard-score-copy > span,
.cd-dashboard-score-copy small,
.cd-dashboard-mini-stat small,
.cd-dashboard-competitor-panel > div:nth-child(2) > span,
.cd-dashboard-competitor-panel > div:nth-child(2) small,
.cd-dashboard-competitor-comparison small,
.cd-dashboard-table th,
.cd-dashboard-audit-score-card small,
.cd-dashboard-delta,
.cd-dashboard-comparison-summary small,
.cd-dashboard-empty-inline,
.cd-dashboard-audit-row-label span,
.cd-dashboard-audit-row-value small,
.cd-dashboard-task-total small,
.cd-dashboard-task-total > div > span,
.cd-dashboard-task-stat small,
.cd-dashboard-task-row small,
.cd-dashboard-task-row-heading span,
.cd-dashboard-report-status-card small,
.cd-dashboard-report-row-copy strong,
.cd-dashboard-report-row-copy small,
.cd-dashboard-status-pill,
.cd-dashboard-document-panel-header > div > span,
.cd-dashboard-document-panel-header > div small,
.cd-dashboard-document-row strong,
.cd-dashboard-document-row small,
.cd-dashboard-document-row time,
.cd-dashboard-chart-center small {
    font-size: 12px;
}

.cd-dashboard-overview-metric-label,
.cd-dashboard-table td,
.cd-dashboard-audit-row-label strong,
.cd-dashboard-task-row-heading strong,
.cd-dashboard-report-row-copy strong,
.cd-dashboard-document-row strong {
    font-size: 14px;
}

.cd-dashboard-chart-center small {
    line-height: 1.15;
}

html[data-theme="light"] .cd-dashboard-overview-heading {
    border: 0;
    background: none;
    box-shadow: none;
}

html[data-theme="light"] .cd-dashboard-overview-satellite {
    color: rgba(91, 72, 173, 0.9);
    filter: drop-shadow(0 12px 18px rgba(76, 59, 152, 0.18));
}

html[data-theme="light"] .cd-dashboard-module {
    border: 0;
    background: none;
    box-shadow: none;
}

@media (max-width: 1050px) {

    .cd-dashboard-overview-satellite {
        width: 105px;
    }

    .cd-dashboard-module-galaxy {
        right: 110px;
    }
}

@media (max-width: 820px) {
    .cd-dashboard-heading {
        min-height: 315px;
        padding: 36px 0 50px;
    }

    .cd-dashboard-heading h1 {
        font-size: clamp(29px, 6vw, 38px);
    }

    .cd-dashboard-overview-satellite {
        top: -12px;
        right: 0;
        width: 100px;
        height: 94px;
    }

    .cd-dashboard-overview-satellite > i {
        font-size: 49px;
    }

    .cd-dashboard-module-galaxy {
        right: 80px;
    }
}

@media (max-width: 620px) {
    .cd-dashboard-heading {
        min-height: 350px;
        padding: 32px 0 56px;
    }

    .cd-dashboard-heading h1 {
        font-size: clamp(27px, 8vw, 35px);
    }

    .cd-dashboard-scroll-tab {
        top: 50%;
        bottom: auto;
        min-width: 158px;
        padding: 10px 26px;
        transform: translateY(-50%) rotate(-90deg);
    }

    .cd-dashboard-scroll-tab:hover {
        transform: translateY(-50%) rotate(-90deg);
    }

    .cd-dashboard-overview-heading {
        padding: 0 84px 0 0;
    }

    .cd-dashboard-overview-heading h2 {
        font-size: 22px;
    }

    .cd-dashboard-overview-satellite {
        top: -14px;
        width: 78px;
        height: 78px;
    }

    .cd-dashboard-overview-satellite > i {
        font-size: 38px;
    }

    .cd-dashboard-report-status-card {
        grid-template-columns: 70px minmax(0, 1fr);
        gap: 14px;
        padding: 17px;
    }

    .cd-dashboard-report-status-visual {
        width: 70px;
        height: 70px;
    }

    .cd-dashboard-module-galaxy {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .cd-dashboard-overview-satellite,
    .cd-dashboard-report-status-orbit {
        animation: none !important;
    }
}
.cd-icon-button.cd-document-view-button.cd-dashboard-hero-report-link {
    width: auto;
    height: 42px;
    min-width: 42px;
    min-height: 42px;
    margin-left: auto;
    padding: 0 14px;
    border-radius: 12px;
    font-size: 12px;
    white-space: nowrap;
}

.cd-icon-button.cd-document-view-button.cd-dashboard-hero-report-link:hover,
.cd-icon-button.cd-document-view-button.cd-dashboard-hero-report-link:focus-visible {
    transform: translateY(-2px);
}

.cd-dashboard-scroll-tab {
    left: -70px;
    border-left: 0;
}

.cd-dashboard-overview {
    min-height: clamp(590px, 50vw, 690px);
}

.cd-dashboard-overview-heading {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: min(43%, 660px);
    min-height: 100%;
    display: flex;
    align-items: stretch;
    flex-direction: column;
    padding: clamp(34px, 4vw, 50px) clamp(22px, 3vw, 44px) clamp(22px, 3vw, 38px);
    pointer-events: none;
}

.cd-dashboard-overview-heading-copy {
    width: 100%;
    flex: 0 0 auto;
}

.cd-dashboard-overview-heading h2 {
    width: 100%;
    max-width: none;
    font-size: clamp(24px, 2.25vw, 34px);
    line-height: 1.14;
}

.cd-dashboard-module-title {
    min-width: 0;
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 8px 13px;
}

.cd-dashboard-module-period {
    display: inline-flex;
    align-items: center;
    min-height: 27px;
    padding: 5px 10px;
    border: 1px solid rgba(171, 142, 244, 0.18);
    border-radius: 999px;
    color: #d9d0ff;
    background: rgba(126, 88, 211, 0.1);
    font-size: 12px;
    font-weight: 750;
    line-height: 1.1;
}

.cd-dashboard-section-kicker {
    color: #d9d0ff;
}

.cd-dashboard-module {
    overflow: visible;
}

.cd-dashboard-module-header,
.cd-dashboard-panel-heading,
.cd-dashboard-module > *:not(.cd-dashboard-module-galaxy) {
    position: relative;
    z-index: 2;
}

.cd-dashboard-module-galaxy {
    --cd-dashboard-galaxy-offset: 70px;
}

.cd-dashboard-module-planet {
    right: auto;
}

.cd-dashboard-module-planet-two {
    animation-delay: -1.8s;
}

.cd-dashboard-module-planet-three {
    animation-delay: -3.2s;
}

.cd-dashboard-module-planet-two::after,
.cd-dashboard-module-planet-three::after {
    display: none;
}

.cd-dashboard-module-planet.is-hidden {
    display: none;
}

.cd-dashboard-chart-canvas,
.cd-dashboard-line-chart,
.cd-dashboard-audit-comparison-chart,
.cd-dashboard-task-comparison-chart .cd-dashboard-chart-canvas,
.cd-dashboard-task-distribution-chart .cd-dashboard-chart-canvas,
.cd-dashboard-report-chart-panel .cd-dashboard-chart-canvas,
.cd-dashboard-document-chart-panel .cd-dashboard-chart-canvas {
    min-height: 350px;
    height: 350px;
}

.cd-dashboard-audit-comparison-chart {
    margin-bottom: 22px;
}

.cd-dashboard-chart-doughnut,
.cd-dashboard-score-chart,
.cd-dashboard-audit-score-chart {
    width: 250px;
    height: 250px;
    flex: 0 0 250px;
    overflow: visible;
}

.cd-dashboard-score-panel,
.cd-dashboard-audit-score-card {
    min-height: 390px;
    overflow: visible;
    gap: 16px;
    padding: 22px;
}

.cd-dashboard-grid-layout-seo,
.cd-dashboard-grid-layout-audit {
    align-items: start;
}

.cd-dashboard-grid-layout-seo {
    grid-template-columns: minmax(300px, 0.95fr) minmax(360px, 1.45fr) minmax(230px, 0.85fr);
}

.cd-dashboard-grid-layout-audit {
    grid-template-columns: minmax(300px, 1.25fr) repeat(3, minmax(150px, 0.72fr));
}

.cd-dashboard-chart-center strong {
    font-size: 31px;
}

.cd-dashboard-chart-center small {
    max-width: 110px;
    font-size: 13px;
}

.cd-dashboard-score-copy {
    width: 100%;
    gap: 3px;
}

.cd-dashboard-score-copy strong {
    font-size: 24px;
}

.cd-dashboard-audit-score-details {
    width: 100%;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 6px 14px;
    align-items: center;
    text-align: left;
}

.cd-dashboard-audit-score-label {
    color: var(--cd-text);
    font-size: 14px;
    font-weight: 800;
}

.cd-dashboard-audit-score-period {
    color: #d9d0ff;
    font-size: 12px;
    font-weight: 750;
    text-align: right;
}

.cd-dashboard-audit-score-trend {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 5px;
    padding: 10px 12px;
    border: 1px solid rgba(158, 126, 232, 0.14);
    border-radius: 12px;
    background: rgba(126, 88, 211, 0.075);
}

.cd-dashboard-audit-score-trend small {
    color: var(--cd-muted);
    font-size: 12px;
    font-weight: 700;
}

.cd-dashboard-audit-score-card .cd-dashboard-delta {
    margin: 0;
}

.cd-dashboard-grid-layout-reports {
    grid-template-columns: 1fr;
}

.cd-dashboard-report-status-card {
    display: block;
}

.cd-dashboard-report-status-header {
    display: grid;
    gap: 15px;
    align-items: center;
}

.cd-dashboard-report-status-copy {
    display: flex;
    align-items: center;
    flex-direction: column;
}

.cd-dashboard-report-status-copy strong {
    margin: 4px 0 0;
    font-size: clamp(24px, 2.2vw, 33px);
}

.cd-dashboard-report-status-value {
    max-width: 260px;
    padding: 8px 13px;
    border-color: rgba(180, 145, 250, 0.22);
    color: #e3d9ff;
    background: rgba(132, 91, 218, 0.12);
}

.cd-dashboard-report-status-metrics {
    display: grid;
    gap: 12px;
    margin-top: 20px;
}

.cd-dashboard-report-status-metrics > span {
    display: grid;
    grid-template-columns: 38px auto minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    padding: 13px 14px;
    border: 1px solid rgba(154, 126, 224, 0.13);
    border-radius: 14px;
    background: linear-gradient(145deg, rgba(126, 88, 211, 0.09), rgba(45, 188, 187, 0.055));
}

.cd-dashboard-report-status-metrics i {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    color: #d9d0ff;
    background: rgba(126, 88, 211, 0.12);
}

.cd-dashboard-report-status-metrics strong {
    color: var(--cd-text);
    font-size: 23px;
}

.cd-dashboard-report-status-metrics small {
    color: var(--cd-muted);
    font-size: 12px;
    font-weight: 700;
}

.cd-dashboard-task-row-heading span {
    color: #d9d0ff;
}


html[data-theme="light"] .cd-dashboard-module-period,
html[data-theme="light"] .cd-dashboard-audit-score-period,
html[data-theme="light"] .cd-dashboard-task-row-heading span {
    color: #5d48ad;
    border-color: rgba(93, 72, 173, 0.16);
    background: rgba(93, 72, 173, 0.07);
}

html[data-theme="light"] .cd-dashboard-audit-score-trend,
html[data-theme="light"] .cd-dashboard-report-status-metrics > span {
    border-color: rgba(93, 72, 173, 0.13);
    background: linear-gradient(145deg, rgba(112, 83, 193, 0.07), rgba(45, 160, 166, 0.045));
}

html[data-theme="light"] .cd-dashboard-report-status-value {
    color: #5a419f;
    border-color: rgba(90, 65, 159, 0.16);
    background: rgba(105, 75, 190, 0.075);
}

html[data-theme="light"] .cd-dashboard-report-status-metrics i {
    color: #5d48ad;
    background: rgba(93, 72, 173, 0.09);
}

@media (max-width: 1180px) {
    .cd-dashboard-grid-layout-seo,
    .cd-dashboard-grid-layout-audit {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .cd-dashboard-score-panel,
    .cd-dashboard-audit-score-card {
        grid-column: span 1;
    }
}

@media (max-width: 1050px) {
    .cd-dashboard-overview-heading {
        width: 45%;
        padding-right: 24px;
    }

    .cd-dashboard-overview-metrics {
        width: 55%;
    }

    .cd-dashboard-module-galaxy {
        left: calc(50% + var(--cd-dashboard-galaxy-offset));
    }
}

@media (max-width: 820px) {
    .cd-dashboard-overview {
        min-height: auto;
        display: block;
    }

    .cd-dashboard-overview-heading {
        position: relative;
        top: auto;
        bottom: auto;
        left: auto;
        width: 100%;
        min-height: 430px;
        margin-bottom: 18px;
        padding: 4px 0 10px;
    }

    .cd-dashboard-overview-metrics {
        width: 100%;
        margin-left: 0;
    }

    .cd-dashboard-chart-canvas,
    .cd-dashboard-line-chart,
    .cd-dashboard-audit-comparison-chart,
    .cd-dashboard-task-comparison-chart .cd-dashboard-chart-canvas,
    .cd-dashboard-task-distribution-chart .cd-dashboard-chart-canvas,
    .cd-dashboard-report-chart-panel .cd-dashboard-chart-canvas,
    .cd-dashboard-document-chart-panel .cd-dashboard-chart-canvas {
        min-height: 310px;
        height: 310px;
    }
}

@media (max-width: 620px) {
    .cd-dashboard-scroll-tab {
        left: -70px;
        border-left: 0;
    }

    .cd-dashboard-overview-heading {
        min-height: 350px;
    }

    .cd-dashboard-grid-layout-seo,
    .cd-dashboard-grid-layout-audit {
        grid-template-columns: 1fr;
    }

    .cd-dashboard-chart-canvas,
    .cd-dashboard-line-chart,
    .cd-dashboard-audit-comparison-chart,
    .cd-dashboard-task-comparison-chart .cd-dashboard-chart-canvas,
    .cd-dashboard-task-distribution-chart .cd-dashboard-chart-canvas,
    .cd-dashboard-report-chart-panel .cd-dashboard-chart-canvas,
    .cd-dashboard-document-chart-panel .cd-dashboard-chart-canvas {
        min-height: 270px;
        height: 270px;
    }

    .cd-dashboard-chart-doughnut,
    .cd-dashboard-score-chart,
    .cd-dashboard-audit-score-chart {
        width: 220px;
        height: 220px;
        flex-basis: 220px;
    }

    .cd-dashboard-score-panel,
    .cd-dashboard-audit-score-card {
        min-height: 350px;
    }

    .cd-dashboard-report-status-header {
        grid-template-columns: 48px minmax(0, 1fr);
    }

    .cd-dashboard-report-status-value {
        grid-column: 1 / -1;
        justify-self: start;
    }
}
.cd-dashboard-module::before {
    display: none;
    content: none;
}

.cd-dashboard-module-header {
    min-height: 94px;
    overflow: hidden;
    margin-bottom: 18px;
    padding: 20px 24px;
    border: 1px solid rgba(142, 117, 222, 0.16);
    border-radius: 22px;
    background:
        radial-gradient(circle at 84% 28%, rgba(126, 87, 211, 0.2), transparent 15rem),
        radial-gradient(circle at 98% 120%, rgba(45, 188, 187, 0.14), transparent 17rem),
        linear-gradient(118deg, rgba(19, 35, 57, 0.94), rgba(17, 31, 53, 0.9) 56%, rgba(27, 28, 62, 0.92));
    box-shadow: 0 18px 44px rgba(0, 8, 24, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.045);
    isolation: isolate;
}

.cd-dashboard-module-header::before {
    position: absolute;
    z-index: -1;
    top: -76px;
    right: 4%;
    width: 310px;
    height: 210px;
    border: 1px solid rgba(171, 144, 239, 0.14);
    border-radius: 50%;
    background: linear-gradient(145deg, rgba(128, 88, 213, 0.11), rgba(45, 188, 187, 0.04));
    box-shadow:
        0 0 0 34px rgba(109, 77, 191, 0.035),
        0 0 0 70px rgba(45, 188, 187, 0.018);
    content: "";
    transform: rotate(-13deg);
}

.cd-dashboard-module-header::after {
    position: absolute;
    z-index: -1;
    right: 18%;
    bottom: 0;
    width: 190px;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(157, 122, 238, 0.62), rgba(75, 201, 211, 0.46), transparent);
    content: "";
}

.cd-dashboard-module-galaxy {
    top: 0;
    right: 0;
    left: auto;
    width: min(44%, 470px);
    height: 94px;
    overflow: hidden;
    border-radius: 0 22px 22px 0;
    opacity: 0.82;
    transform: translateX(calc(var(--cd-dashboard-galaxy-offset) * 0.18));
}

.cd-dashboard-module-galaxy::before {
    position: absolute;
    top: -44px;
    right: 36px;
    width: 180px;
    height: 180px;
    border-radius: 46% 54% 58% 42%;
    background: linear-gradient(145deg, rgba(139, 96, 222, 0.22), rgba(49, 183, 194, 0.05));
    filter: blur(0.2px);
    content: "";
    transform: rotate(24deg);
}

.cd-dashboard-module-orbit {
    top: -34px;
    right: 28px;
    left: auto;
    width: 245px;
    height: 138px;
    border-color: rgba(171, 145, 241, 0.2);
    transform: rotate(-12deg);
}

.cd-dashboard-module-orbit::after {
    top: 26px;
    right: 22px;
    width: 8px;
    height: 8px;
    background: #73dedb;
    box-shadow: 0 0 16px rgba(85, 219, 218, 0.82);
}

.cd-dashboard-module-planet-one {
    top: 22px;
    right: 116px;
    left: auto;
    width: 42px;
    height: 42px;
}

.cd-dashboard-module-planet-two {
    top: 59px;
    right: 65px;
    left: auto;
    width: 23px;
    height: 23px;
}

.cd-dashboard-module-planet-three {
    top: 13px;
    right: 28px;
    left: auto;
    width: 17px;
    height: 17px;
}

.cd-dashboard-module-star-one {
    top: 18px;
    right: 205px;
}

.cd-dashboard-module-star-two {
    right: 16px;
    bottom: 14px;
    left: auto;
}

.cd-dashboard-module-title,
.cd-dashboard-module-action {
    position: relative;
    z-index: 2;
}

.cd-dashboard-overview-metrics {
    width: min(55%, 760px);
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px 18px;
}

.cd-dashboard-overview-metric {
    min-height: 112px;
    grid-template-columns: 48px minmax(0, 1fr);
    column-gap: 11px;
    padding: 15px;
}

.cd-dashboard-overview-metric:hover,
.cd-dashboard-overview-metric-audit:hover {
    color: var(--cd-text);
    border-color: rgba(169, 126, 248, 0.52);
    background:
        radial-gradient(circle at 100% 0%, rgba(157, 105, 244, 0.32), transparent 12rem),
        linear-gradient(145deg, rgba(60, 40, 103, 0.97), rgba(24, 34, 55, 0.94));
    box-shadow: 0 22px 46px rgba(16, 7, 45, 0.3), 0 0 28px rgba(142, 98, 226, 0.16);
    transform: translateY(-3px);
}

.cd-dashboard-hero-report-link.cd-document-action-button {
    width: auto;
    min-width: 142px;
    height: 42px;
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 0 15px;
    border-radius: 13px;
    white-space: nowrap;
}

.cd-dashboard-seo-primary-row,
.cd-dashboard-seo-secondary-row,
.cd-dashboard-audit-layout,
.cd-dashboard-report-layout {
    display: grid;
    gap: 15px;
    align-items: stretch;
}

.cd-dashboard-seo-primary-row {
    grid-template-columns: minmax(300px, 0.9fr) minmax(0, 2.1fr);
}

.cd-dashboard-seo-primary-row.is-score-only {
    grid-template-columns: minmax(300px, 0.9fr);
}

.cd-dashboard-seo-secondary-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 15px;
}

.cd-dashboard-seo-secondary-row.is-single {
    grid-template-columns: 1fr;
}

.cd-dashboard-seo-primary-row .cd-dashboard-score-panel,
.cd-dashboard-seo-primary-row .cd-dashboard-traffic-panel,
.cd-dashboard-seo-secondary-row .cd-dashboard-keyword-panel,
.cd-dashboard-seo-secondary-row .cd-dashboard-competitor-panel {
    margin-top: 0;
}

.cd-dashboard-traffic-panel {
    min-width: 0;
    min-height: 390px;
    padding: 20px;
}

.cd-dashboard-traffic-panel .cd-dashboard-line-chart {
    min-height: 320px;
    height: 320px;
}

.cd-dashboard-keyword-panel,
.cd-dashboard-competitor-panel {
    min-height: 190px;
}

.cd-dashboard-competitor-copy {
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.cd-dashboard-competitor-copy .cd-dashboard-competitor-comparison {
    width: 100%;
    margin-top: 14px;
}

.cd-dashboard-audit-layout {
    grid-template-columns: minmax(300px, 0.9fr) minmax(155px, 0.45fr) minmax(0, 1.9fr);
}

.cd-dashboard-audit-layout .cd-dashboard-audit-score-card,
.cd-dashboard-audit-layout .cd-dashboard-audit-table-panel {
    margin-top: 0;
}

.cd-dashboard-audit-stat-stack {
    min-width: 0;
    display: grid;
    grid-template-rows: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.cd-dashboard-audit-stat-stack .cd-dashboard-audit-stat-card {
    min-width: 0;
    min-height: 0;
    display: flex;
    gap: 11px;
    padding: 13px;
}

.cd-dashboard-audit-stat-stack .cd-dashboard-audit-stat-card strong {
    font-size: 23px;
}

.cd-dashboard-audit-stat-stack .cd-dashboard-audit-stat-card small {
    margin-top: 3px;
    font-size: 10px;
    white-space: normal;
}

.cd-dashboard-audit-stat-card:hover,
.cd-dashboard-audit-stat-card-danger:hover,
.cd-dashboard-audit-stat-card-warning:hover,
.cd-dashboard-audit-stat-card-issues:hover {
    border-color: rgba(169, 126, 248, 0.52);
    background:
        radial-gradient(circle at 100% 0%, rgba(157, 105, 244, 0.32), transparent 11rem),
        linear-gradient(145deg, rgba(60, 40, 103, 0.97), rgba(24, 34, 55, 0.94));
    box-shadow: 0 20px 42px rgba(16, 7, 45, 0.28), 0 0 25px rgba(142, 98, 226, 0.14);
    transform: translateY(-3px);
}

.cd-dashboard-audit-table-panel {
    min-width: 0;
    padding: 20px;
}

.cd-dashboard-audit-score-period {
    display: inline-flex;
    align-items: center;
    min-height: 27px;
    padding: 5px 10px;
    border: 1px solid rgba(171, 142, 244, 0.18);
    border-radius: 999px;
    background: rgba(126, 88, 211, 0.1);
}

.cd-dashboard-grid-layout-task {
    grid-template-columns: minmax(230px, 1.25fr) repeat(3, minmax(145px, 0.75fr));
}

.cd-dashboard-grid-layout-task .cd-dashboard-task-total,
.cd-dashboard-grid-layout-task .cd-dashboard-task-stat {
    min-height: 118px;
    padding: 16px 18px;
}

.cd-dashboard-report-layout {
    grid-template-columns: minmax(300px, 0.9fr) minmax(0, 2.1fr);
}

.cd-dashboard-report-layout.is-status-only {
    grid-template-columns: minmax(300px, 0.9fr);
}

.cd-dashboard-report-layout .cd-dashboard-report-status-card,
.cd-dashboard-report-layout .cd-dashboard-report-list {
    margin-top: 0;
}

.cd-dashboard-report-status-card {
    min-height: 220px;
    padding: 20px;
}

.cd-dashboard-report-status-header {
    grid-template-columns: 48px minmax(0, 1fr);
}

.cd-dashboard-report-status-value {
    grid-column: 1 / -1;
    justify-self: start;
}

.cd-dashboard-report-status-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.cd-dashboard-report-list {
    min-width: 0;
    padding: 20px;
}

.cd-dashboard-report-rows {
    display: grid;
    gap: 9px;
}

.cd-dashboard-report-row {
    width: 100%;
    grid-template-columns: 48px minmax(0, 1fr) auto auto;
    gap: 12px;
    padding: 12px;
}

.cd-dashboard-report-download-button {
    width: 39px;
    height: 39px;
    flex-basis: 39px;
}

.cd-dashboard-document-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.cd-dashboard-document-panel-header > a.cd-document-action-button,
.cd-document-actions-cell .cd-document-action-button {
    width: 39px;
    height: 39px;
    flex: 0 0 39px;
    display: inline-grid;
    place-items: center;
    padding: 0;
    border-radius: 13px;
}

.cd-seo-location-tab.cd-document-tab {
    min-height: 56px;
    padding: 8px 13px;
}

.cd-seo-location-tab.cd-document-tab strong {
    font-size: 13px;
    line-height: 1.25;
}

html[data-theme="light"] .cd-dashboard-module-header {
    border-color: rgba(103, 77, 181, 0.13);
    background:
        radial-gradient(circle at 84% 28%, rgba(126, 87, 211, 0.15), transparent 15rem),
        radial-gradient(circle at 98% 120%, rgba(45, 168, 170, 0.11), transparent 17rem),
        linear-gradient(118deg, rgba(255, 255, 255, 0.98), rgba(243, 247, 252, 0.97) 56%, rgba(239, 237, 250, 0.97));
    box-shadow: 0 18px 40px rgba(61, 57, 123, 0.1), inset 0 1px 0 #ffffff;
}

html[data-theme="light"] .cd-dashboard-overview-metric:hover,
html[data-theme="light"] .cd-dashboard-overview-metric-audit:hover,
html[data-theme="light"] .cd-dashboard-audit-stat-card:hover,
html[data-theme="light"] .cd-dashboard-audit-stat-card-danger:hover,
html[data-theme="light"] .cd-dashboard-audit-stat-card-warning:hover,
html[data-theme="light"] .cd-dashboard-audit-stat-card-issues:hover,
html[data-theme="light"] .cd-dashboard-grid-layout-task .cd-dashboard-task-stat:hover,
html[data-theme="light"] .cd-dashboard-grid-layout-task .cd-dashboard-task-total:hover {
    color: #26364b;
    border-color: rgba(105, 75, 194, 0.28);
    background:
        radial-gradient(circle at 100% 0%, rgba(126, 84, 214, 0.18), transparent 12rem),
        linear-gradient(145deg, #f7f2ff, #eef7fb);
    box-shadow: 0 22px 42px rgba(73, 55, 135, 0.14), 0 0 24px rgba(105, 78, 194, 0.08);
}

@media (max-width: 1280px) {
    .cd-dashboard-overview-metrics {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .cd-dashboard-audit-layout {
        grid-template-columns: minmax(290px, 0.9fr) minmax(150px, 0.48fr) minmax(360px, 1.65fr);
    }
}

@media (max-width: 1080px) {
    .cd-dashboard-seo-primary-row,
    .cd-dashboard-report-layout {
        grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.6fr);
    }

    .cd-dashboard-audit-layout {
        grid-template-columns: minmax(280px, 1fr) minmax(150px, 0.52fr);
    }

    .cd-dashboard-audit-table-panel {
        grid-column: 1 / -1;
    }

    .cd-dashboard-grid-layout-task {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 820px) {
    .cd-dashboard-module-header {
        min-height: 82px;
        padding: 17px 18px;
    }

    .cd-dashboard-module-galaxy {
        width: 58%;
        height: 82px;
    }

    .cd-dashboard-overview-metrics {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .cd-dashboard-seo-primary-row,
    .cd-dashboard-seo-secondary-row,
    .cd-dashboard-audit-layout,
    .cd-dashboard-report-layout,
    .cd-dashboard-document-columns {
        grid-template-columns: 1fr;
    }

    .cd-dashboard-audit-table-panel {
        grid-column: auto;
    }

    .cd-dashboard-audit-stat-stack {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        grid-template-rows: auto;
    }
}

@media (max-width: 620px) {
    .cd-dashboard-overview-metrics,
    .cd-dashboard-audit-stat-stack,
    .cd-dashboard-grid-layout-task {
        grid-template-columns: 1fr;
    }

    .cd-dashboard-module-header {
        flex-direction: column;
    }

    .cd-dashboard-report-status-metrics {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .cd-dashboard-report-row {
        grid-template-columns: 42px minmax(0, 1fr) 39px;
    }

    .cd-dashboard-report-row .cd-dashboard-status-pill {
        grid-column: 2 / -1;
        grid-row: 2;
        justify-self: start;
    }

    .cd-dashboard-report-download-button {
        grid-column: 3;
        grid-row: 1;
    }
}

/* Dashboard action and report layout corrections 1.9.6 */
.cd-dashboard-hero-report-link.cd-document-action-button,
.cd-dashboard-document-panel-header > a.cd-document-action-button {
    border: 1px solid rgba(120, 190, 234, 0.24);
    border-bottom-color: rgba(2, 10, 24, 0.58);
    border-left-color: rgba(2, 10, 24, 0.58);
    color: #d7e8f4;
    background: linear-gradient(105deg, rgba(17, 47, 73, 0.9), rgba(15, 56, 82, 0.86) 58%, rgba(13, 63, 71, 0.78)) padding-box;
    box-shadow: 0 14px 30px rgba(0, 7, 22, 0.22), inset 3px 0 0 #2d87c8, inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.cd-dashboard-hero-report-link.cd-document-action-button:hover,
.cd-dashboard-hero-report-link.cd-document-action-button:focus-visible,
.cd-dashboard-document-panel-header > a.cd-document-action-button:hover,
.cd-dashboard-document-panel-header > a.cd-document-action-button:focus-visible {
    border-color: rgba(148, 211, 249, 0.38);
    border-bottom-color: rgba(8, 21, 40, 0.72);
    border-left-color: rgba(8, 21, 40, 0.72);
    color: #ffffff;
    background: linear-gradient(105deg, rgba(22, 61, 92, 0.96), rgba(19, 71, 101, 0.92) 58%, rgba(16, 77, 84, 0.84)) padding-box;
    box-shadow: 0 17px 36px rgba(0, 7, 22, 0.28), inset 3px 0 0 #4da9ff, inset 0 1px 0 rgba(255, 255, 255, 0.12);
    transform: translateY(-2px);
}

.cd-dashboard-report-list {
    display: block;
}

.cd-dashboard-report-list .cd-dashboard-panel-heading,
.cd-dashboard-report-rows {
    width: 100%;
}

.cd-dashboard-report-status-card > .cd-dashboard-report-status-metrics {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    flex-direction: initial;
}

.cd-dashboard-report-layout .cd-dashboard-report-status-card,
.cd-dashboard-report-layout .cd-dashboard-report-list {
    width: 100%;
    min-width: 0;
    justify-self: stretch;
}


html[data-theme="light"] .cd-dashboard-hero-report-link.cd-document-action-button,
html[data-theme="light"] .cd-dashboard-document-panel-header > a.cd-document-action-button {
    border-color: rgba(255, 255, 255, 0.98);
    border-bottom-color: rgba(81, 143, 183, 0.18);
    border-left-color: rgba(81, 143, 183, 0.18);
    color: #29475d;
    background: linear-gradient(105deg, rgba(209, 229, 246, 0.78), rgba(223, 241, 250, 0.86) 58%, rgba(218, 244, 240, 0.72)) padding-box;
    box-shadow: 0 16px 34px rgba(47, 91, 124, 0.12), inset 3px 0 0 #2d87c8, inset 0 1px 0 #ffffff;
}

html[data-theme="light"] .cd-dashboard-hero-report-link.cd-document-action-button:hover,
html[data-theme="light"] .cd-dashboard-hero-report-link.cd-document-action-button:focus-visible,
html[data-theme="light"] .cd-dashboard-document-panel-header > a.cd-document-action-button:hover,
html[data-theme="light"] .cd-dashboard-document-panel-header > a.cd-document-action-button:focus-visible {
    border-color: #ffffff;
    border-bottom-color: rgba(69, 127, 166, 0.24);
    border-left-color: rgba(69, 127, 166, 0.24);
    color: #17384e;
    background: linear-gradient(105deg, rgba(220, 237, 250, 0.94), rgba(232, 247, 253, 0.96) 58%, rgba(226, 249, 245, 0.9)) padding-box;
}

@media (max-width: 620px) {
    .cd-dashboard-report-status-card > .cd-dashboard-report-status-metrics {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Dashboard intrinsic width guard 1.9.6 */
.cd-dashboard-content {
    min-width: 0;
    grid-template-columns: minmax(0, 1fr);
}

.cd-dashboard-content > .cd-dashboard-module,
.cd-dashboard-module > *:not(.cd-dashboard-module-galaxy),
.cd-dashboard-seo-primary-row,
.cd-dashboard-seo-secondary-row,
.cd-dashboard-audit-layout,
.cd-dashboard-report-layout,
.cd-dashboard-document-columns {
    min-width: 0;
}

@media (max-width: 820px) {
    .cd-dashboard-content > .cd-dashboard-module {
        width: 100%;
    }
}
.cd-main table,
.cd-main table th,
.cd-main table td,
.cd-main table p,
.cd-main table span,
.cd-main table strong,
.cd-main table a,
.cd-main table small,
.cd-main table div,
.cd-main table li {
    font-size: 16px !important;
}

.cd-task-report-stat.cd-seo-keyword-stat {
    grid-template-columns: 44px minmax(0, 1fr);
    justify-items: start;
    min-height: 102px;
    padding: 17px 18px;
    text-align: left;
}

.cd-task-report-stat.cd-seo-keyword-stat > div {
    width: 100%;
    align-items: flex-start;
    text-align: left;
}

.cd-task-report-stat.cd-seo-keyword-stat strong,
.cd-task-report-stat.cd-seo-keyword-stat span {
    text-align: left;
}

.cd-seo-keyword-page-tab {
    flex: 0 0 auto;
    min-width: max-content;
    white-space: nowrap;
}

html[data-theme="light"] .cd-seo-report-tab.is-active,
html[data-theme="light"] .cd-seo-report-tab.is-active:hover,
html[data-theme="light"] .cd-seo-report-tab.is-active:focus-visible {
    border-color: rgba(117, 82, 204, 0.56);
    color: #ffffff;
    background:
        radial-gradient(circle at 86% 8%, rgba(255, 255, 255, 0.2), transparent 8rem),
        linear-gradient(115deg, #7652c9, #586ed8 55%, #328cc5);
    box-shadow: 0 16px 32px rgba(83, 73, 176, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.24);
}

html[data-theme="light"] .cd-seo-report-tab.is-active::before,
html[data-theme="light"] .cd-seo-report-tab.is-active:hover::before {
    opacity: 1;
}

.cd-seo-keyword-cluster-scroll {
    max-height: 484px;
    overflow: auto;
    overscroll-behavior: contain;
}

.cd-seo-keyword-cluster-scroll .clusterize-extra-row td {
    padding: 0 !important;
    border: 0 !important;
}

.cd-seo-keyword-cluster-scroll .clusterize-no-data td {
    padding: 36px 18px !important;
    color: var(--cd-muted);
    text-align: center !important;
}

.cd-seo-keyword-actions {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 7px;
}

.cd-seo-result-link {
    width: 34px;
    height: 34px;
    display: inline-grid;
    place-items: center;
    padding: 0;
    border: 1px solid rgba(101, 155, 190, 0.2);
    border-radius: 10px;
    color: #a8c2d5;
    background: rgba(19, 49, 70, 0.64);
    cursor: pointer;
}

.cd-seo-result-link:hover,
.cd-seo-result-link:focus-visible {
    border-color: rgba(130, 103, 218, 0.54);
    color: #ffffff;
    background: linear-gradient(135deg, rgba(116, 77, 204, 0.88), rgba(46, 130, 187, 0.84));
}

.cd-seo-result-link.is-loading i {
    animation: cd-rotate 700ms linear infinite;
}

.cd-seo-keyword-competitors {
    position: relative;
    width: max-content;
    max-width: 100%;
}

.cd-seo-keyword-competitors > summary {
    min-height: 34px;
    cursor: pointer;
    list-style: none;
}

.cd-seo-keyword-competitors > summary::-webkit-details-marker {
    display: none;
}

.cd-seo-keyword-competitors > summary > i {
    font-size: 10px !important;
    transition: transform 160ms ease;
}

.cd-seo-keyword-competitors[open] > summary > i {
    transform: rotate(180deg);
}

.cd-seo-competitor-counts .is-secondary {
    color: #d4c9f8;
    background: rgba(116, 82, 193, 0.2);
}

.cd-seo-competitor-counts .is-muted {
    color: #9cb1bf;
    background: rgba(111, 137, 154, 0.16);
}

.cd-seo-keyword-competitor-menu {
    position: absolute;
    z-index: 80;
    top: calc(100% + 8px);
    right: 0;
    width: min(360px, calc(100vw - 48px));
    overflow: hidden;
    border: 1px solid rgba(123, 165, 193, 0.2);
    border-radius: 15px;
    background: rgba(7, 25, 41, 0.98);
    box-shadow: 0 24px 58px rgba(0, 7, 21, 0.46);
}

.cd-seo-keyword-competitor-menu article {
    display: grid;
    gap: 7px;
    padding: 12px 14px;
    border-bottom: 1px solid rgba(125, 164, 190, 0.12);
}

.cd-seo-keyword-competitor-menu article:last-child {
    border-bottom: 0;
}

.cd-seo-keyword-competitor-menu article > div {
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.cd-seo-keyword-competitor-menu strong {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cd-seo-keyword-competitor-menu article > div > span {
    flex: 0 0 auto;
    padding: 4px 8px;
    border-radius: 999px;
    color: #dbe9f2;
    background: rgba(91, 124, 146, 0.18);
}

.cd-seo-keyword-competitor-menu .badge-danger {
    color: #ffdbe2;
    background: rgba(222, 82, 110, 0.2);
}

.cd-seo-keyword-competitor-menu .badge-success {
    color: #c9f3df;
    background: rgba(60, 184, 132, 0.2);
}

.cd-seo-keyword-competitor-menu .badge-warning {
    color: #ffe4ad;
    background: rgba(213, 157, 61, 0.2);
}

.cd-seo-keyword-competitor-menu .badge-secondary {
    color: #ddd3ff;
    background: rgba(121, 88, 202, 0.2);
}

.cd-seo-keyword-competitor-menu small {
    color: #91a9b9;
}

html[data-theme="light"] .cd-seo-result-link {
    border-color: rgba(64, 111, 143, 0.16);
    color: #315b75;
    background: rgba(228, 240, 247, 0.9);
}

html[data-theme="light"] .cd-seo-keyword-competitor-menu {
    border-color: rgba(62, 108, 138, 0.16);
    background: rgba(255, 255, 255, 0.99);
    box-shadow: 0 22px 52px rgba(48, 82, 106, 0.2);
}

.cd-seo-visibility-card {
    display: grid;
    gap: 16px;
}

.cd-seo-visibility-heading,
.cd-seo-visibility-values {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.cd-seo-visibility-heading > div {
    min-width: 0;
}

.cd-seo-visibility-heading span {
    display: block;
    margin-bottom: 4px;
    color: #8fa9ba;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.cd-seo-visibility-heading h3 {
    margin: 0;
    color: #f3f8fb;
    font-size: 19px;
}

.cd-seo-visibility-heading > strong {
    font-size: 25px;
}

.cd-seo-visibility-card.is-positive .cd-seo-visibility-heading > strong,
.cd-seo-visibility-card.is-positive h3 {
    color: #65d7ad;
}

.cd-seo-visibility-card.is-negative .cd-seo-visibility-heading > strong,
.cd-seo-visibility-card.is-negative h3 {
    color: #f17d93;
}

.cd-seo-visibility-values {
    color: #9fb5c4;
}

.cd-seo-visibility-values strong {
    color: #ffffff;
}

.cd-seo-visibility-bar {
    height: 18px;
    display: flex;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(95, 132, 158, 0.15);
    box-shadow: inset 0 1px 3px rgba(0, 5, 16, 0.28);
}

.cd-seo-visibility-bar span {
    min-width: 0;
    transition: width 260ms ease;
}

.cd-seo-visibility-bar .is-us {
    background: linear-gradient(90deg, #4ccf9e, #3aa6be);
}

.cd-seo-visibility-bar .is-competitor {
    background: linear-gradient(90deg, #d19a4b, #e86f88);
}

.cd-seo-winning-pages-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 14px;
}

.cd-seo-winning-pages-list {
    display: grid;
    gap: 9px;
}

.cd-seo-winning-pages-list article {
    min-width: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 4px 12px;
    padding: 12px;
    border: 1px solid rgba(115, 156, 183, 0.13);
    border-radius: 12px;
    background: rgba(10, 34, 52, 0.42);
}

.cd-seo-winning-pages-list a {
    min-width: 0;
    overflow: hidden;
    color: #c5def0;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cd-seo-winning-pages-list span {
    color: #8ea8b9;
    white-space: nowrap;
}

.cd-seo-winning-pages-list small {
    grid-column: 1 / -1;
    color: #8199a9;
}

html[data-theme="light"] .cd-seo-visibility-heading h3,
html[data-theme="light"] .cd-seo-visibility-values strong {
    color: #17384e;
}

html[data-theme="light"] .cd-seo-winning-pages-list article {
    border-color: rgba(61, 108, 139, 0.12);
    background: rgba(239, 247, 251, 0.86);
}

html[data-theme="light"] .cd-seo-winning-pages-list a {
    color: #275d7b;
}

.cd-seo-results-modal[hidden] {
    display: none !important;
}

.cd-modal-open {
    overflow: hidden;
}

.cd-seo-results-modal {
    position: fixed;
    z-index: 10000;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 22px;
}

.cd-seo-results-modal-backdrop {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    background: rgba(1, 8, 18, 0.74);
    backdrop-filter: blur(8px);
}

.cd-seo-results-modal-dialog {
    position: relative;
    z-index: 1;
    width: min(720px, 100%);
    max-height: min(760px, calc(100vh - 44px));
    overflow: auto;
    border: 1px solid rgba(127, 169, 197, 0.2);
    border-radius: 24px;
    color: #eaf3f8;
    background: linear-gradient(145deg, rgba(10, 31, 49, 0.99), rgba(5, 20, 35, 0.99));
    box-shadow: 0 36px 100px rgba(0, 4, 16, 0.58);
}

.cd-seo-results-modal-dialog > header {
    position: sticky;
    z-index: 2;
    top: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 20px 22px;
    border-bottom: 1px solid rgba(122, 163, 190, 0.14);
    background: rgba(8, 27, 44, 0.96);
}

.cd-seo-results-modal-dialog header span {
    color: #819fb2;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.cd-seo-results-modal-dialog h2 {
    margin: 3px 0 0;
    font-size: 21px;
}

.cd-seo-results-modal-dialog header button {
    width: 38px;
    height: 38px;
    border: 1px solid rgba(124, 164, 190, 0.18);
    border-radius: 12px;
    color: #b9cfdd;
    background: rgba(23, 51, 70, 0.72);
    cursor: pointer;
}

.cd-seo-results-modal-body {
    display: grid;
    gap: 12px;
    padding: 22px;
}

.cd-seo-results-modal-body article {
    display: grid;
    gap: 6px;
    padding: 14px 16px;
    border: 1px solid rgba(118, 159, 186, 0.14);
    border-radius: 14px;
    background: rgba(20, 47, 66, 0.44);
}

.cd-seo-results-modal-body article > span {
    color: #819fb2;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.cd-seo-results-modal-body strong,
.cd-seo-results-modal-body a {
    overflow-wrap: anywhere;
    color: #ecf5fa;
}

.cd-seo-results-modal-body img {
    max-width: 100%;
    border-radius: 12px;
}

html[data-theme="light"] .cd-seo-results-modal-dialog {
    color: #17384e;
    border-color: rgba(61, 105, 134, 0.16);
    background: #ffffff;
    box-shadow: 0 34px 90px rgba(43, 74, 97, 0.26);
}

html[data-theme="light"] .cd-seo-results-modal-dialog > header {
    border-color: rgba(61, 105, 134, 0.12);
    background: rgba(248, 252, 254, 0.98);
}

html[data-theme="light"] .cd-seo-results-modal-body article {
    border-color: rgba(61, 105, 134, 0.12);
    background: #f2f8fb;
}

html[data-theme="light"] .cd-seo-results-modal-body strong,
html[data-theme="light"] .cd-seo-results-modal-body a {
    color: #17384e;
}

.audit-report-priority-card-header-actions,
.audit-report-block-title-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.audit-report-priority-card-header-actions .cd-document-action-button,
.audit-report-block-title-actions .cd-document-action-button {
    width: 36px;
    min-width: 36px;
    height: 36px;
    flex-basis: 36px;
}

.cd-audit-admin-report .audit-report-score-circle {
    width: clamp(144px, 15vw, 168px);
    box-shadow: 0 22px 48px rgba(0, 5, 18, 0.34), inset 0 0 0 1px rgba(255, 255, 255, 0.07), 0 0 30px rgba(111, 81, 190, 0.24);
}

html[data-theme="dark"] .audit-report-ai-scope-note {
    border-color: rgba(101, 157, 194, 0.24);
    color: #cfe2ee;
    background: linear-gradient(115deg, rgba(22, 55, 79, 0.82), rgba(26, 43, 72, 0.76));
    box-shadow: inset 3px 0 0 #4da9d8, inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

html[data-theme="dark"] .audit-report-ai-scope-note i {
    color: #69c8ec;
}

@media (max-width: 991px) {
    .cd-seo-competitor-layout,
    .cd-seo-opportunity-grid,
    .cd-seo-winning-pages-grid,
    .cd-seo-distribution-grid,
    .cd-audit-admin-report .audit-report-grid,
    .cd-audit-admin-report .audit-report-priority-grid,
    .audit-report-grid {
        grid-template-columns: minmax(0, 1fr) !important;
    }

    .cd-seo-report-card-header {
        align-items: flex-start;
        flex-wrap: wrap;
    }

    .cd-seo-report-card-header > p {
        width: 100%;
        max-width: none;
        margin-left: 0;
        text-align: left;
    }

    .cd-seo-metric-grid-compact {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .cd-page-heading.cd-page-banner.cd-page-heading-has-actions {
        margin-bottom: 18px !important;
    }

    .cd-page-heading.cd-page-banner.cd-page-heading-has-actions.has-visible-actions {
        --cd-page-banner-actions-space: 0px;
        min-height: 164px;
        height: 164px;
    }

    .cd-page-heading.cd-page-banner.cd-page-heading-has-actions.has-visible-actions .cd-page-banner-surface {
        clip-path: none;
    }

    .cd-page-heading.cd-page-banner.cd-page-heading-has-actions.has-visible-actions .cd-page-banner-content {
        padding-right: 22px;
        padding-bottom: 70px;
    }

    .cd-page-heading.cd-page-banner.cd-page-heading-has-actions.has-visible-actions .cd-page-banner-actions {
        top: auto;
        right: 20px;
        bottom: 16px;
        left: 20px;
        width: auto;
        height: 42px;
        justify-content: flex-end;
        padding: 0;
        transform: none;
    }

    .cd-page-heading-task-report.has-visible-actions .cd-report-page-actions {
        justify-content: flex-start;
    }
}

@media (max-width: 767px) {

    .cd-task-report-stat:not(.cd-seo-keyword-stat) > div {
        align-items: flex-start;
        text-align: left;
    }

    .cd-seo-keyword-location-heading {
        padding: 16px;
    }

    .cd-seo-keyword-location-heading h2 {
        font-size: 20px;
        overflow-wrap: anywhere;
    }

    .cd-seo-keyword-cluster-scroll {
        max-height: 484px;
    }

    .cd-document-list-card .cd-document-table td {
        display: block;
        padding: 8px 0;
    }

    .cd-document-list-card .cd-document-table td::before {
        display: block;
        margin-bottom: 4px;
        white-space: nowrap;
    }

    .cd-pdf-statusbar {
        height: 84px;
        min-height: 84px;
        flex-basis: 84px;
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        grid-template-rows: 32px 36px;
        gap: 5px;
        padding: 6px 10px;
    }

    .cd-pdf-statusbar .document-editor-statusbar-left {
        width: 100%;
        display: grid;
        grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
        gap: 8px;
        padding-right: 0;
    }

    .cd-pdf-statusbar .document-editor-statusbar-left > span {
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .cd-pdf-statusbar .document-editor-statusbar-left > span + span {
        padding-left: 8px;
        text-align: right;
    }

    .cd-pdf-statusbar .document-editor-statusbar-left > span + span::before {
        display: none;
    }

    .cd-pdf-statusbar .document-editor-statusbar-mobile-zoom-percent,
    .cd-pdf-statusbar .document-editor-statusbar-mobile-fit {
        display: none !important;
    }

    .cd-pdf-statusbar .document-editor-statusbar-right {
        position: static;
        width: 100%;
        display: grid;
        grid-template-columns: 38px 38px 52px 52px;
        justify-content: center;
        gap: 12px;
    }

    .cd-pdf-statusbar .document-editor-statusbar-right .document-editor-statusbar-zoom-slider {
        display: none;
    }

    .cd-pdf-statusbar .document-editor-statusbar-right .document-editor-statusbar-zoom-percent,
    .cd-pdf-statusbar .document-editor-statusbar-right .document-editor-statusbar-fit {
        display: inline-grid;
    }

    .cd-pdf-statusbar .document-editor-statusbar-zoom-button,
    .cd-pdf-statusbar .document-editor-statusbar-fit {
        width: 100%;
        min-width: 0;
    }

    .cd-seo-visibility-heading,
    .cd-seo-visibility-values {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }

    .cd-seo-winning-pages-list article {
        grid-template-columns: minmax(0, 1fr);
    }

    .cd-seo-winning-pages-list small {
        grid-column: auto;
    }
}

@media (max-width: 460px) {
    .cd-task-report-stats,
    .cd-seo-keyword-stats {
        grid-template-columns: minmax(0, 1fr) !important;
    }

    .cd-task-report-stat,
    .cd-task-report-stat.cd-seo-keyword-stat {
        min-height: 88px;
    }

    .cd-seo-results-modal {
        padding: 10px;
    }

    .cd-seo-results-modal-dialog {
        max-height: calc(100vh - 20px);
        border-radius: 18px;
    }
}
.cd-dashboard-module-header h2 {
    font-size: clamp(24px, 2.1vw, 27px);
}

.cd-dashboard-document-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto 39px;
    align-items: center;
}

.cd-dashboard-document-row:hover {
    color: var(--cd-text);
}

.cd-dashboard-document-view-button {
    width: 39px;
    height: 39px;
    margin-left: 0;
}

.audit-report-top-card .cd-dashboard-audit-score-chart {
    flex: 0 0 116px;
}

.cd-seo-competitor-layout {
    width: 100%;
    grid-template-columns: minmax(0, 1fr) !important;
}

.cd-seo-competitor-layout > * {
    width: 100%;
    min-width: 0;
}

.cd-report-keywords-table {
    table-layout: auto;
}

.cd-report-keywords-table th,
.cd-report-keywords-table td {
    width: auto !important;
}

.cd-report-keywords-table th {
    min-width: 86px;
    overflow: visible;
    line-height: 1.3;
    text-overflow: clip;
    white-space: normal;
    overflow-wrap: normal;
}

.cd-report-keywords-table th:first-child,
.cd-report-keywords-table td:first-child {
    width: 54px !important;
    min-width: 54px;
    text-align: center;
}

.cd-report-keywords-table th:nth-child(2),
.cd-report-keywords-table td:nth-child(2) {
    width: 32% !important;
    min-width: 300px;
    text-align: left;
}

.cd-report-keywords-table th:nth-child(3),
.cd-report-keywords-table td:nth-child(3) {
    min-width: 94px;
}

.cd-report-keywords-table th:nth-child(4),
.cd-report-keywords-table td:nth-child(4),
.cd-report-keywords-table th:nth-child(5),
.cd-report-keywords-table td:nth-child(5),
.cd-report-keywords-table th:nth-child(6),
.cd-report-keywords-table td:nth-child(6) {
    min-width: 110px;
}

.cd-report-keywords-table th:nth-child(8),
.cd-report-keywords-table td:nth-child(8) {
    min-width: 76px;
}

.cd-report-keywords-table th:nth-child(n + 3),
.cd-report-keywords-table td:nth-child(n + 3) {
    text-align: center;
}

.cd-seo-results-info-heading,
.cd-seo-results-info-cell {
    padding-right: 8px !important;
    padding-left: 8px !important;
}

.cd-seo-results-info-cell .cd-seo-result-link {
    margin: 0 auto;
}

.cd-task-report-stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: stretch;
}

.cd-task-report-stat {
    min-height: 104px;
    display: grid;
    grid-template-columns: 50px minmax(0, 1fr);
    align-items: center;
    justify-items: stretch;
    gap: 14px;
    padding: 17px;
    text-align: left;
}

.cd-task-report-stat > div {
    width: 100%;
    min-width: 0;
    align-items: flex-start;
    justify-items: start;
    text-align: left;
}

.cd-task-report-stat > div > span {
    width: 100%;
    overflow: visible;
    font-size: 13px;
    line-height: 1.3;
    text-overflow: clip;
    white-space: normal;
    overflow-wrap: break-word;
}

.cd-task-report-stat > div > strong {
    max-width: 100%;
    font-size: clamp(21px, 1.8vw, 29px);
    line-height: 1.08;
    overflow-wrap: anywhere;
}

@media (max-width: 1600px) {
    .cd-audit-admin-report > [class*="col-xl"] {
        flex: 0 0 100%;
        width: 100%;
        max-width: 100%;
    }

    .cd-audit-admin-report > [class*="col-xl"]:not(:last-child) {
        margin-bottom: 16px;
    }

    .cd-audit-admin-report .audit-report-top-card,
    .cd-audit-admin-report .audit-report-summary,
    .cd-audit-admin-report .audit-report-screenshot-preview {
        width: 100%;
        max-width: none;
    }

    .cd-audit-admin-report .audit-report-summary {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 1439px) {
    .cd-dashboard-hero-data-row {
        width: 100%;
        display: flex;
        align-items: stretch;
        flex-direction: column;
    }

    .cd-dashboard-hero-stats {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .cd-dashboard-hero-report {
        width: 100%;
        max-width: 100%;
    }

    .cd-dashboard-overview {
        min-height: auto;
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        align-items: stretch;
        gap: 16px;
        padding: 28px;
    }

    .cd-dashboard-overview-heading {
        position: relative;
        top: auto;
        left: auto;
        width: 100%;
        max-width: none;
        min-height: 104px;
    }

    .cd-dashboard-overview .cd-dashboard-visual {
        inset: auto;
    }

    .cd-dashboard-overview .cd-dashboard-map {
        top: 0;
        right: 0;
        width: 100%;
        height: 100%;
    }

    .cd-dashboard-overview-metrics {
        width: 100%;
        max-width: none;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        align-self: stretch;
        margin: 0;
    }

    .cd-dashboard-overview-metric {
        min-height: 104px;
        padding: 15px;
    }

    .cd-task-report-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 991px) {
    .cd-dashboard-overview {
        padding: 22px;
    }

    .cd-dashboard-overview .cd-dashboard-visual {
        height: 230px;
    }

    .cd-dashboard-overview-metrics {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 10px;
    }

    .cd-dashboard-overview-metric {
        min-height: 92px;
        grid-template-columns: 48px minmax(0, 1fr);
        column-gap: 10px;
        padding: 12px;
    }

    .cd-dashboard-overview-metric-value {
        font-size: 22px;
    }

    .cd-dashboard-overview-metric-label,
    .cd-dashboard-overview-metric-meta {
        line-height: 1.25;
    }

    .cd-seo-keyword-location-heading {
        display: grid;
        grid-template-columns: 48px minmax(0, 1fr);
        align-items: start;
        gap: 12px;
        padding: 16px;
    }

    .cd-seo-keyword-location-heading > div:not(.cd-seo-keyword-heading-actions) {
        min-width: 0;
        display: block;
    }

    .cd-seo-keyword-location-heading h2 {
        margin-top: 3px;
        font-size: clamp(18px, 3vw, 22px);
        line-height: 1.25;
        overflow-wrap: anywhere;
    }

    .cd-seo-keyword-location-heading p {
        margin-top: 7px;
        line-height: 1.45;
    }

    .cd-seo-keyword-heading-actions {
        grid-column: 1 / -1;
        display: grid;
        grid-template-columns: auto minmax(0, 1fr);
        gap: 10px;
        margin-top: 2px;
        padding-top: 12px;
        border-top: 1px solid rgba(108, 166, 197, 0.13);
    }

    .cd-seo-keyword-location-total {
        min-width: 46px;
        height: 42px;
        display: inline-grid;
        place-items: center;
        border-radius: 13px;
    }

    .cd-seo-keyword-search {
        width: 100%;
    }

    .cd-seo-keyword-page-tab,
    .cd-seo-keyword-page-tab span {
        white-space: nowrap;
    }

    .audit-report-summary {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .cd-representative-icon {
        width: 42px;
        min-width: 42px;
        height: 42px;
        min-height: 42px;
        flex-basis: 42px;
        border-radius: 13px;
        font-size: 15px;
    }

    .cd-seo-keyword-location-heading,
    .cd-dashboard-competitor-panel,
    .cd-dashboard-report-status-header {
        grid-template-columns: 42px minmax(0, 1fr);
    }

    .cd-dashboard-document-panel-header {
        grid-template-columns: 42px minmax(0, 1fr) 38px;
    }

    .cd-dashboard-overview-heading {
        min-height: 88px;
        padding: 0 116px 0 0;
    }

    .cd-dashboard-overview .cd-dashboard-visual {
        height: 175px;
    }

    .cd-dashboard-overview-metrics {
        grid-template-columns: minmax(0, 1fr);
    }

    .cd-dashboard-overview-metric {
        min-height: 78px;
        grid-template-columns: 42px minmax(0, 1fr);
        padding: 11px 13px;
    }

    .cd-dashboard-overview-metric-value {
        font-size: 21px;
    }

    .cd-dashboard-hero-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .cd-task-report-stats,
    .cd-seo-keyword-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    .cd-task-report-stat,
    .cd-task-report-stat:not(.cd-seo-keyword-stat) {
        grid-template-columns: 42px minmax(0, 1fr);
        gap: 11px;
        padding: 14px;
        justify-items: stretch;
        text-align: left;
    }

    .cd-task-report-stat > div > span {
        font-size: 12px;
    }

    .cd-task-report-stat > div > strong {
        font-size: 21px;
    }

    .cd-seo-keyword-heading-actions {
        grid-template-columns: minmax(0, 1fr);
    }

    .cd-seo-keyword-location-total {
        justify-self: start;
    }

    .cd-document-list-card .cd-document-table tr {
        padding: 17px;
    }

    .cd-document-list-card .cd-document-table .cd-document-actions-cell {
        position: static !important;
        top: auto;
        right: auto;
        width: 100%;
        display: block !important;
        margin-top: 8px;
        padding: 12px 0 0 !important;
        border-top: 1px solid rgba(115, 160, 190, 0.14);
        transform: none !important;
    }

    .cd-document-list-card .cd-document-table .cd-document-actions-cell::before {
        display: block;
        margin: 0 0 8px;
        content: attr(data-label);
        white-space: nowrap;
    }

    .cd-document-list-card .cd-document-actions-cell .cd-document-action-button {
        margin: 0;
    }

    .cd-dashboard-document-row {
        grid-template-columns: minmax(0, 1fr) 39px;
        gap: 8px 12px;
    }

    .cd-dashboard-document-row > time {
        grid-column: 1;
        grid-row: 2;
    }

    .cd-dashboard-document-view-button {
        grid-column: 2;
        grid-row: 1 / 3;
        align-self: center;
    }
}

@media (max-width: 520px) {
    .cd-task-report-stats,
    .cd-seo-keyword-stats {
        grid-template-columns: minmax(0, 1fr) !important;
    }

    .cd-dashboard-hero-stats {
        grid-template-columns: minmax(0, 1fr);
    }

    .cd-dashboard-overview {
        padding: 18px 14px;
    }

    .cd-dashboard-overview-heading {
        min-height: 78px;
        padding-right: 90px;
    }

    .cd-dashboard-overview .cd-dashboard-visual {
        height: 140px;
    }

    .cd-audit-admin-report .audit-report-summary {
        grid-template-columns: minmax(0, 1fr);
    }
}
html[data-theme="light"] .cd-seo-keyword-competitor-menu .badge-success {
    color: #176647;
    border-color: rgba(27, 132, 91, 0.22);
    background: rgba(45, 163, 112, 0.16);
}

.cd-seo-competitor-subcard.cd-seo-visibility-card.is-positive {
    margin-bottom: 18px;
}

.cd-task-report-stat {
    align-content: center;
    padding-top: 14px;
    padding-bottom: 14px;
}

.cd-task-report-stat > div {
    align-content: center;
    gap: 4px;
}

.cd-task-report-stat > div > span,
.cd-task-report-stat > div > strong {
    margin-top: 0;
    margin-bottom: 0;
}

.audit-report-top-content {
    min-width: 0;
    padding-left: clamp(18px, 2vw, 30px);
}

@media (max-width: 1600px) {
    .cd-dashboard-report-status-metrics {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    .cd-dashboard-report-status-metrics > span {
        min-width: 0;
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        grid-template-rows: auto auto auto;
        justify-items: center;
        gap: 5px;
        padding: 12px 8px;
        text-align: center;
    }

    .cd-dashboard-report-status-metrics i {
        grid-row: 1;
    }

    .cd-dashboard-report-status-metrics strong {
        grid-row: 2;
        max-width: 100%;
        line-height: 1.05;
    }

    .cd-dashboard-report-status-metrics small {
        grid-row: 3;
        width: 100%;
        min-width: 0;
        line-height: 1.25;
        white-space: normal;
        overflow-wrap: anywhere;
    }
}

@media (max-width: 1439px) {
    .cd-dashboard-overview-heading {
        padding-right: 0;
    }
}

@media (max-width: 1300px) {
    .cd-dashboard-overview .cd-dashboard-emblem {
        top: 50%;
        left: 50%;
        width: clamp(230px, 34vw, 330px);
        height: clamp(230px, 34vw, 330px);
        opacity: 1;
        filter: drop-shadow(0 20px 34px rgba(54, 38, 128, 0.28));
        transform: translate(-50%, -50%) scale(1.08);
    }

    .cd-dashboard-overview .cd-dashboard-core {
        width: clamp(96px, 12vw, 124px);
        height: clamp(96px, 12vw, 124px);
    }
}

@media (max-width: 991px) {
    .cd-task-report-stat,
    .cd-task-report-stat:not(.cd-seo-keyword-stat) {
        min-height: 88px;
    }
}

@media (max-width: 767px) {
    .audit-report-top-content {
        padding-left: 0;
    }

    .cd-task-report-stat,
    .cd-task-report-stat:not(.cd-seo-keyword-stat) {
        min-height: 84px;
        padding-top: 11px;
        padding-bottom: 11px;
    }
}

.cd-seo-keyword-competitors > summary > i {
    width: 12px !important;
    height: 12px !important;
    min-width: 12px;
    min-height: 12px;
    display: inline-flex;
    flex: 0 0 12px;
    align-items: center;
    justify-content: center;
    margin-left: 3px;
    line-height: 1 !important;
    transform-origin: 50% 50%;
}

.cd-report-keywords-table {
    min-width: 910px;
}

.cd-report-keywords-table th:nth-child(7),
.cd-report-keywords-table td:nth-child(7) {
    width: 76px !important;
    min-width: 76px;
}

.cd-dashboard-overview .cd-dashboard-visual {
    top: 50%;
    right: auto;
    bottom: auto;
    left: 31%;
    width: clamp(320px, 32vw, 500px);
    height: auto !important;
    aspect-ratio: 1 / 1;
    transform: translate(-50%, -50%);
}

.cd-dashboard-overview .cd-dashboard-map {
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

.cd-dashboard-overview .cd-dashboard-emblem {
    top: 57%;
    left: 50%;
    width: 76%;
    height: 76%;
    transform: translate(-50%, -50%);
}

.cd-audit-admin-report > .audit-report-main-col,
.cd-audit-admin-report > .audit-report-main-col + .col-12 {
    flex: 0 0 100%;
    width: 100%;
    max-width: 100%;
}

.cd-audit-admin-report > .audit-report-main-col {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
}

.cd-audit-admin-report > .audit-report-main-col > .audit-report-top-card,
.cd-audit-admin-report > .audit-report-main-col > .audit-report-summary {
    width: 100%;
    min-width: 0;
    max-width: none;
}

@media (max-width: 1439px) {
    .cd-dashboard-overview .cd-dashboard-visual {
        position: relative;
        top: auto;
        right: auto;
        bottom: auto;
        left: auto;
        width: clamp(250px, 42vw, 360px);
        height: auto !important;
        margin: 0 auto;
        transform: none;
    }
}

@media (max-width: 991px) {
    .cd-task-report-stat-decoration {
        display: none !important;
    }

    .cd-task-report-stat,
    .cd-task-report-stat:not(.cd-seo-keyword-stat) {
        align-content: center;
        padding-top: 12px;
        padding-bottom: 12px;
    }
}

@media (max-width: 520px) {
    .cd-dashboard-overview .cd-dashboard-visual {
        width: min(78vw, 270px);
    }
}

.cd-task-report-stat > .cd-task-report-stat-decoration {
    position: absolute !important;
    z-index: 0;
    margin: 0;
    pointer-events: none;
}

.cd-dashboard-overview .cd-dashboard-visual {
    overflow: visible;
}

.cd-dashboard-overview-metric-value {
    font-size: clamp(19px, 1.7vw, 22px);
}

@media (max-width: 1439px) {
    .cd-dashboard-overview .cd-dashboard-emblem {
        left: 30%;
    }
}
.cd-task-report-stat > .cd-task-report-stat-decoration {
    display: none !important;
}

.cd-seo-report-tab,
.cd-seo-report-tab span {
    white-space: nowrap;
}

.cd-seo-report-tabs {
    grid-template-columns: repeat(4, minmax(160px, 1fr)) !important;
    overscroll-behavior-inline: contain;
}

.cd-seo-keyword-location-total {
    min-width: 0;
    height: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 9px 12px;
    white-space: nowrap;
}

.cd-seo-keyword-location-total span {
    color: inherit;
    font-size: 11px;
    font-weight: 750;
    letter-spacing: 0.02em;
}

.cd-seo-keyword-location-total b {
    font-size: 15px;
    font-weight: 850;
}

@media (max-width: 1700px) {

    .cd-seo-distribution-grid-compact .cd-seo-distribution-counts {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 1240px) {
    .cd-dashboard-seo-secondary-row,
    .cd-dashboard-audit-layout {
        grid-template-columns: minmax(0, 1fr) !important;
    }

    .cd-dashboard-keyword-panel,
    .cd-dashboard-competitor-panel,
    .cd-dashboard-audit-score-card,
    .cd-dashboard-audit-stat-stack,
    .cd-dashboard-comparison-panel,
    .cd-dashboard-audit-table-panel {
        width: 100%;
        min-width: 0;
        grid-column: 1 / -1 !important;
    }

    .cd-dashboard-competitor-panel {
        grid-template-columns: 42px minmax(0, 1fr) !important;
    }

    .cd-dashboard-competitor-comparison {
        grid-column: 1 / -1;
    }

    .cd-dashboard-audit-stat-stack {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        grid-template-rows: auto;
    }

    .cd-dashboard-grid-layout-task {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }

    .cd-dashboard-grid-layout-task .cd-dashboard-task-total {
        grid-column: 1 / -1 !important;
    }

    .cd-dashboard-grid-layout-task .cd-dashboard-task-stat {
        width: 100%;
        min-width: 0;
    }

    .cd-seo-competitor-layout,
    .cd-seo-opportunity-grid,
    .cd-seo-winning-pages-grid,
    .cd-audit-admin-report .audit-report-grid,
    .audit-report-grid {
        grid-template-columns: minmax(0, 1fr) !important;
    }
}

@media (max-width: 991px) {

    .cd-client-report-table,
    .cd-client-report-table tbody,
    .cd-client-report-table tr,
    .cd-client-report-table td {
        display: block;
        width: 100%;
        min-width: 0;
    }

    .cd-client-report-table thead {
        display: none;
    }

    .cd-client-report-table tbody {
        display: grid;
        gap: 12px;
    }

    .cd-client-report-table tr {
        padding: 14px;
        border: 1px solid rgba(113, 164, 191, 0.12);
        border-radius: 16px;
    }

    .cd-client-report-name,
    .cd-client-report-file-group,
    .cd-client-report-download-button,
    .cd-client-report-file-empty {
        max-width: 100%;
    }

    .cd-client-report-file-menu {
        right: auto;
        left: 0;
        width: min(360px, calc(100vw - 72px));
    }

    .cd-audit-admin-report.row {
        margin: 0;
    }

    .cd-audit-admin-report > [class*="col-"] {
        width: 100%;
        min-width: 0;
        padding: 0;
    }

    .cd-audit-admin-report > [class*="col-"]:last-child {
        margin-bottom: 0 !important;
    }
}

@media (max-width: 767px) {
    .cd-dashboard-grid-layout-task {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }

    .cd-page-heading-offer.has-visible-actions,
    .cd-page-heading-contract.has-visible-actions {
        min-height: 164px;
        height: 164px;
        margin-bottom: 18px !important;
    }

    .cd-page-heading-offer.has-visible-actions .cd-page-banner-surface,
    .cd-page-heading-contract.has-visible-actions .cd-page-banner-surface {
        clip-path: none;
    }

    .cd-page-heading-offer.has-visible-actions .cd-page-banner-content,
    .cd-page-heading-contract.has-visible-actions .cd-page-banner-content {
        padding-right: 22px;
        padding-bottom: 70px;
    }

    .cd-page-heading-offer.has-visible-actions .cd-document-view-actions,
    .cd-page-heading-contract.has-visible-actions .cd-document-view-actions {
        position: absolute;
        top: auto;
        right: 20px;
        bottom: 16px;
        left: 20px;
        width: auto;
        height: 42px;
        display: flex !important;
        justify-content: flex-start;
        gap: 7px;
        padding: 0;
        transform: none;
    }

    .cd-document-table-wrap {
        overflow: visible;
        border: 0;
        background: transparent;
    }

    .cd-document-table,
    .cd-document-table tbody,
    .cd-document-table tr,
    .cd-document-table td {
        display: block;
        width: 100%;
    }

    .cd-document-table thead {
        display: none;
    }

    .cd-document-table tbody {
        display: grid;
        gap: 12px;
    }

    .cd-document-table tr {
        position: relative;
        padding: 17px;
        border: 1px solid rgba(120, 157, 187, 0.16);
        border-radius: 18px;
        background: rgba(5, 22, 39, 0.52);
    }

    .cd-document-table td {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        gap: 5px;
        padding: 7px 0;
        border: 0;
        text-align: left !important;
    }

    .cd-document-table td::before {
        display: block;
        color: #809bb1;
        content: attr(data-label);
        font-size: 12px;
        font-weight: 800;
        letter-spacing: 0.06em;
        line-height: 1.25;
        text-transform: uppercase;
        white-space: nowrap;
    }

    .cd-document-table .cd-document-actions-cell {
        position: static !important;
        top: auto;
        right: auto;
        width: 100%;
        display: block !important;
        margin-top: 8px;
        padding: 12px 0 0 !important;
        border-top: 1px solid rgba(115, 160, 190, 0.14);
        transform: none !important;
    }

    .cd-document-table .cd-document-actions-cell::before {
        display: block;
        margin: 0 0 8px;
    }

    html[data-theme="light"] .cd-document-table tr {
        border-color: rgba(69, 105, 132, 0.14);
        background: rgba(255, 255, 255, 0.8);
    }
}

@media (max-width: 620px) {
    .cd-dashboard-grid-layout-task,
    .cd-dashboard-audit-stat-stack {
        grid-template-columns: minmax(0, 1fr) !important;
    }
}

@media (max-width: 520px) {
    .cd-client-report-table td {
        grid-template-columns: minmax(0, 1fr);
    }
}
html[data-theme="dark"] .audit-report-section-kicker-warning {
    color: #ffe1a1 !important;
    text-shadow: 0 0 16px rgba(255, 188, 66, 0.38);
}

html[data-theme="dark"] .audit-report-section-kicker-success {
    color: #a8f2cf !important;
    text-shadow: 0 0 16px rgba(69, 219, 148, 0.34);
}

html[data-theme="dark"] .audit-report-section-kicker-warning i,
html[data-theme="dark"] .audit-report-section-kicker-success i {
    color: inherit !important;
}

.cd-auth-heading h1 {
    margin: 0 0 12px;
    font-size: clamp(27px, 5vw, 32px);
    line-height: 1.06;
}

.cd-notification {
    color: #ff9aaa;
    border-color: rgba(255, 87, 116, 0.42);
    background: linear-gradient(145deg, rgba(166, 34, 61, 0.25), rgba(91, 19, 40, 0.18));
    box-shadow: inset 0 1px 0 rgba(255, 210, 218, 0.08), 0 8px 24px rgba(92, 13, 34, 0.18);
}

.cd-notification > i,
.cd-notification .cd-notification-text {
    color: #ff9aaa;
    font-weight: 750;
    text-shadow: 0 0 13px rgba(255, 70, 104, 0.24);
}

.cd-notification-dot {
    background: #ff3f65;
    box-shadow: 0 0 0 3px rgba(255, 63, 101, 0.14), 0 0 12px rgba(255, 63, 101, 0.5);
}

.cd-notification:hover {
    color: #ffd5dc;
    border-color: rgba(255, 102, 130, 0.66);
    background: linear-gradient(145deg, rgba(190, 40, 72, 0.34), rgba(112, 24, 48, 0.26));
    box-shadow: 0 12px 30px rgba(91, 12, 34, 0.24), inset 0 1px 0 rgba(255, 220, 226, 0.12);
}

.cd-notification:hover > i,
.cd-notification:hover .cd-notification-text {
    color: #ffd5dc;
}

html[data-theme="light"] .cd-notification {
    color: #b91c3c;
    border-color: rgba(190, 24, 58, 0.3);
    background: linear-gradient(145deg, rgba(255, 245, 247, 0.98), rgba(255, 225, 231, 0.9));
    box-shadow: 0 10px 26px rgba(159, 30, 61, 0.13), inset 0 1px 0 #ffffff;
}

html[data-theme="light"] .cd-notification > i,
html[data-theme="light"] .cd-notification .cd-notification-text {
    color: #b91c3c;
    text-shadow: none;
}

html[data-theme="light"] .cd-notification-dot {
    background: #dc2149;
    box-shadow: 0 0 0 3px rgba(220, 33, 73, 0.12), 0 0 10px rgba(220, 33, 73, 0.26);
}

html[data-theme="light"] .cd-notification:hover {
    color: #8f1230;
    border-color: rgba(185, 28, 60, 0.48);
    background: linear-gradient(145deg, #ffffff, #ffdce4);
    box-shadow: 0 13px 30px rgba(159, 30, 61, 0.18), inset 0 1px 0 #ffffff;
}

html[data-theme="light"] .cd-notification:hover > i,
html[data-theme="light"] .cd-notification:hover .cd-notification-text {
    color: #8f1230;
}

@media (max-width: 1700px) {
    .cd-seo-distribution-grid-compact {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .cd-seo-distribution-grid-compact .cd-seo-distribution-card,
    .cd-seo-distribution-grid-compact .cd-seo-distribution-counts,
    .cd-seo-distribution-grid-compact .cd-seo-distribution-counts > span,
    .cd-seo-distribution-grid-compact .cd-seo-distribution-counts small,
    .cd-seo-distribution-grid-compact .cd-seo-distribution-counts strong {
        min-width: 0;
        max-width: 100%;
    }
}

@media (max-width: 1240px) {
    .cd-dashboard-seo-secondary-row,
    .cd-dashboard-audit-layout,
    .cd-dashboard-grid-layout-task {
        width: 100%;
    }

    .cd-dashboard-keyword-panel,
    .cd-dashboard-competitor-panel,
    .cd-dashboard-audit-score-card,
    .cd-dashboard-audit-stat-stack,
    .cd-dashboard-comparison-panel,
    .cd-dashboard-audit-table-panel {
        max-width: 100%;
    }

    .cd-dashboard-grid-layout-task {
        grid-auto-flow: row;
    }

    .cd-dashboard-grid-layout-task .cd-dashboard-task-total,
    .cd-dashboard-grid-layout-task .cd-dashboard-task-stat {
        max-width: none;
    }

    .cd-seo-opportunity-grid > *,
    .cd-seo-winning-pages-grid > *,
    .audit-report-grid > * {
        width: 100%;
        min-width: 0;
        max-width: none;
    }
}

@media (max-width: 991px) {
    .cd-seo-distribution-grid-compact {
        grid-template-columns: minmax(0, 1fr);
    }

    .cd-audit-admin-report > [class*="col-"] {
        margin-top: 0 !important;
        margin-bottom: 16px !important;
    }

    .cd-audit-admin-report > .audit-report-main-col {
        gap: 16px;
        padding-top: 0 !important;
    }

    .cd-audit-admin-report > .audit-report-main-col > .audit-report-top-card,
    .cd-audit-admin-report > .audit-report-main-col > .audit-report-summary {
        margin-top: 0;
        margin-bottom: 0;
    }
    .cd-client-report-table td > *,
    .cd-client-report-name,
    .cd-client-report-name > div {
        min-width: 0;
    }

    .cd-client-report-name strong,
    .cd-client-report-name small {
        overflow-wrap: anywhere;
    }
}
html[data-theme="dark"] .audit-report-section-kicker-danger {
    color: #ffc0cb !important;
    text-shadow: 0 0 16px rgba(255, 91, 119, 0.38);
}

html[data-theme="dark"] .audit-report-section-kicker-danger i {
    color: inherit !important;
}

.cd-dashboard-content {
    gap: 18px;
}

.cd-seo-report-tabs {
    width: 100%;
    display: flex;
    align-items: stretch;
    justify-content: flex-start;
    overflow-x: auto;
    overflow-y: hidden;
}

.cd-seo-report-tab {
    width: max-content;
    min-width: max-content;
    flex: 0 0 auto;
}

.cd-seo-keyword-heading-actions {
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
}

.cd-seo-keyword-location-total {
    width: auto;
    align-self: flex-start;
}

.cd-seo-keyword-heading-actions .cd-seo-keyword-search {
    width: min(340px, 100%);
    flex: 0 1 auto;
}

.cd-list-table-wrap {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow-x: auto;
    overflow-y: visible;
    overscroll-behavior-inline: contain;
}

.cd-list-table {
    width: 100%;
    min-width: 0;
    table-layout: auto;
}

.cd-list-table th,
.cd-list-table td {
    min-width: 0;
}

.cd-list-table th {
    height: auto;
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
}

@media (max-width: 991px) {
    .cd-seo-keyword-heading-actions {
        width: 100%;
        flex: 1 1 100%;
        align-items: stretch;
        margin-left: 0;
    }

    .cd-seo-keyword-location-total {
        align-self: flex-start;
    }

    .cd-seo-keyword-heading-actions .cd-seo-keyword-search {
        width: 100%;
        max-width: none;
    }

    .cd-list-table-wrap,
    .cd-document-table-wrap,
    .cd-client-report-table-wrap {
        max-width: 100%;
        overflow: visible;
        border: 0;
        background: transparent;
    }

    .cd-list-table,
    .cd-list-table tbody,
    .cd-list-table tr,
    .cd-list-table td {
        display: block;
        width: 100%;
        min-width: 0;
    }

    .cd-list-table thead {
        display: none;
    }

    .cd-list-table tbody {
        display: grid;
        gap: 12px;
    }

    .cd-list-table tr {
        position: relative;
        padding: 16px;
        border: 1px solid rgba(120, 157, 187, 0.16);
        border-radius: 18px;
        background: rgba(5, 22, 39, 0.52);
    }

    .cd-list-table td,
    .cd-client-report-table td,
    .cd-document-table td {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        gap: 6px;
        padding: 8px 0;
        border: 0;
        text-align: left !important;
    }

    .cd-list-table td::before,
    .cd-client-report-table td::before,
    .cd-document-table td::before {
        display: block;
        align-self: auto;
        color: #809bb1;
        content: attr(data-label);
        font-size: 12px;
        font-weight: 800;
        letter-spacing: 0.06em;
        line-height: 1.25;
        text-transform: uppercase;
        white-space: normal;
        overflow-wrap: anywhere;
    }

    .cd-list-table td > * {
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }

    .cd-list-table .cd-document-actions-cell {
        position: static !important;
        top: auto;
        right: auto;
        width: 100%;
        display: block !important;
        margin-top: 8px;
        padding: 12px 0 0 !important;
        border-top: 1px solid rgba(115, 160, 190, 0.14);
        transform: none !important;
    }

    .cd-list-table .cd-document-actions-cell::before {
        display: block;
        margin: 0 0 8px;
    }

    html[data-theme="light"] .cd-list-table tr {
        border-color: rgba(69, 105, 132, 0.14);
        background: rgba(255, 255, 255, 0.8);
    }
    .cd-list-table .cd-document-actions-cell > .cd-document-action-button {
        width: 39px;
        min-width: 39px;
        max-width: 39px;
    }
}

/* ==========================================================================
   Listings, offer and contract states
   ========================================================================== */
.cd-listing-card {
    width: 100%;
    min-width: 0;
    padding: clamp(16px, 2.2vw, 26px);
    overflow: visible;
}

.cd-listing-table-wrap {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-inline: contain;
    border: 1px solid rgba(110, 164, 198, 0.15);
    border-radius: 19px;
    background: linear-gradient(145deg, rgba(10, 30, 45, 0.98), rgba(6, 21, 34, 0.97));
    box-shadow: 0 20px 46px rgba(0, 8, 19, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.045);
}

[data-cd-client-report-history] .cd-listing-table-wrap {
    overflow: visible;
}

.cd-listing-table {
    width: 100%;
    min-width: 0;
    border-collapse: separate;
    border-spacing: 0;
    table-layout: auto;
}

.cd-listing-table th,
.cd-listing-table td {
    min-width: 0;
    padding: 16px 18px;
    border-bottom: 1px solid rgba(113, 164, 191, 0.12);
    text-align: left;
    vertical-align: middle;
}

.cd-listing-table th {
    height: auto;
    color: #8faaba;
    background:
        linear-gradient(90deg, rgba(101, 78, 194, 0.15), rgba(43, 132, 187, 0.1)),
        rgba(9, 29, 44, 0.94);
    font-size: clamp(12px, 0.82vw, 14px) !important;
    font-weight: 800;
    letter-spacing: 0.04em;
    line-height: 1.3;
    text-transform: uppercase;
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
}

.cd-listing-table th:first-child {
    border-radius: 18px 0 0;
}

.cd-listing-table th:last-child {
    border-radius: 0 18px 0 0;
}

.cd-listing-table tbody tr {
    transition: background 150ms ease, transform 150ms ease, box-shadow 150ms ease;
}

.cd-listing-table tbody tr:hover {
    background: rgba(77, 141, 193, 0.07);
}

.cd-listing-table tbody tr:last-child td {
    border-bottom: 0;
}

.cd-listing-table td {
    position: relative;
}

.cd-listing-table-documents th:first-child {
    width: 38%;
}

.cd-listing-table-documents th:nth-child(2) {
    width: 29%;
}

.cd-listing-table-documents th:nth-child(3) {
    width: 21%;
}

.cd-listing-table-client-reports th:first-child {
    width: 34%;
}

.cd-listing-actions-heading,
.cd-listing-actions-cell {
    width: 90px;
    text-align: right !important;
}

.cd-listing-actions-cell-action-required {
    width: 245px;
    white-space: nowrap;
}

.cd-listing-actions-cell .cd-document-action-required-badge {
    margin-right: 8px;
}

html[data-theme="light"] .cd-listing-table-wrap {
    border-color: rgba(61, 108, 138, 0.12);
    background: linear-gradient(145deg, #ffffff, #f1f8fb);
    box-shadow: 0 20px 42px rgba(44, 77, 101, 0.1), inset 0 1px 0 #ffffff;
}

html[data-theme="light"] .cd-listing-table th,
html[data-theme="light"] .cd-listing-table td {
    border-bottom-color: rgba(59, 105, 135, 0.1);
}

html[data-theme="light"] .cd-listing-table th {
    color: #294b63 !important;
    background:
        linear-gradient(90deg, rgba(111, 83, 201, 0.08), rgba(44, 137, 190, 0.065)),
        #eef6fa;
}

html[data-theme="light"] .cd-listing-table tbody tr:hover {
    background: rgba(69, 137, 183, 0.065);
}

.cd-dashboard-overview-visuals {
    position: absolute;
    z-index: 1;
    inset: 0;
    overflow: visible;
    pointer-events: none;
}

.cd-dashboard-overview .cd-dashboard-emblem-visual {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100% !important;
    overflow: visible;
    transform: none;
}

.cd-dashboard-overview .cd-dashboard-map-visual {
    position: absolute;
    z-index: 1;
    top: 50%;
    right: clamp(18px, 3vw, 48px);
    width: min(58%, 820px);
    aspect-ratio: 8 / 5;
    transform: translateY(-50%);
    opacity: 0.84;
}

.cd-dashboard-overview .cd-dashboard-map {
    position: absolute;
    z-index: 0 !important;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.cd-dashboard-overview .cd-dashboard-emblem {
    z-index: 3;
}

.cd-dashboard-map-visual .cd-dashboard-node {
    z-index: 2;
    width: 9px;
    height: 9px;
    right: auto;
    bottom: auto;
    border-color: rgba(255, 229, 153, 0.8);
    background: #fdb816;
    box-shadow: 0 0 0 7px rgba(253, 184, 22, 0.08), 0 0 22px rgba(253, 184, 22, 0.8);
}

.cd-dashboard-map-visual .cd-dashboard-node::after {
    position: absolute;
    inset: -7px;
    border: 1px solid rgba(253, 184, 22, 0.34);
    border-radius: 50%;
    content: "";
    animation: cd-dashboard-map-node-pulse 2.8s ease-out infinite;
}

.cd-dashboard-node-romania {
    top: 34%;
    left: 58%;
}

.cd-dashboard-node-usa {
    top: 37%;
    left: 22%;
    animation-delay: -0.45s;
}

.cd-dashboard-node-brazil {
    top: 64%;
    left: 36%;
    animation-delay: -0.9s;
}

.cd-dashboard-node-south-africa {
    top: 72%;
    left: 54%;
    animation-delay: -1.35s;
}

.cd-dashboard-node-india {
    top: 50%;
    left: 70%;
    animation-delay: -1.8s;
}

.cd-dashboard-node-japan {
    top: 38%;
    left: 86%;
    animation-delay: -2.15s;
}

.cd-dashboard-node-australia {
    top: 73%;
    left: 84%;
    animation-delay: -2.5s;
}

@keyframes cd-dashboard-map-node-pulse {
    0% {
        opacity: 0.9;
        transform: scale(0.55);
    }
    75%,
    100% {
        opacity: 0;
        transform: scale(1.55);
    }
}

@media (min-width: 1439px) {
    .cd-dashboard-overview .cd-dashboard-emblem {
        left: 25%;
    }
}

@media (max-width: 1438px) {
    .cd-dashboard-overview-visuals {
        position: relative;
        inset: auto;
        width: 100%;
        height: clamp(230px, 33vw, 330px);
        grid-row: auto;
    }

    .cd-dashboard-overview .cd-dashboard-emblem-visual {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100% !important;
        margin: 0;
    }

    .cd-dashboard-overview .cd-dashboard-emblem {
        left: 50%;
        top: 30%;
    }

    .cd-dashboard-overview .cd-dashboard-map-visual {
        right: 0;
        width: min(72%, 660px);
        opacity: 0.62;
    }
}

@media (max-width: 991px) {
    .cd-listing-card {
        padding: 0;
        border: 0;
        background: transparent !important;
        box-shadow: none !important;
    }

    .cd-listing-table-wrap {
        max-width: 100%;
        overflow: visible;
        border: 0;
        background: transparent;
        box-shadow: none;
    }

    .cd-listing-table,
    .cd-listing-table tbody,
    .cd-listing-table tr,
    .cd-listing-table td {
        display: block;
        width: 100%;
        min-width: 0;
    }

    .cd-listing-table thead {
        display: none;
    }

    .cd-listing-table tbody {
        display: grid;
        gap: 12px;
    }

    .cd-listing-table tr {
        position: relative;
        padding: 16px;
        border: 1px solid rgba(120, 157, 187, 0.16);
        border-radius: 18px;
        background: rgba(5, 22, 39, 0.52);
    }

    .cd-listing-table td {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        gap: 6px;
        padding: 8px 0;
        border: 0;
        text-align: left !important;
    }

    .cd-listing-table td::before {
        display: block;
        color: #809bb1;
        content: attr(data-label);
        font-size: 12px;
        font-weight: 800;
        letter-spacing: 0.06em;
        line-height: 1.25;
        text-transform: uppercase;
        white-space: normal;
        overflow-wrap: anywhere;
    }

    .cd-listing-table td > * {
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }

    .cd-listing-table .cd-listing-actions-cell {
        position: static !important;
        width: 100%;
        display: block !important;
        margin-top: 8px;
        padding: 12px 0 0 !important;
        border-top: 1px solid rgba(115, 160, 190, 0.14);
        transform: none !important;
    }

    .cd-listing-table .cd-listing-actions-cell::before {
        display: block;
        margin: 0 0 8px;
    }

    .cd-listing-table .cd-listing-actions-cell > .cd-document-action-required-badge {
        width: auto;
        max-width: 100%;
    }

    .cd-listing-table .cd-listing-actions-cell > .cd-document-action-button {
        width: 39px;
        min-width: 39px;
        max-width: 39px;
    }

    html[data-theme="light"] .cd-listing-table tr {
        border-color: rgba(69, 105, 132, 0.14);
        background: rgba(255, 255, 255, 0.8);
    }

    .cd-dashboard-overview .cd-dashboard-map-visual {
        width: min(86%, 620px);
        opacity: 0.48;
    }
}

@media (max-width: 640px) {
    .cd-dashboard-overview-visuals {
        height: 230px;
    }

    .cd-dashboard-overview .cd-dashboard-map-visual {
        right: -12%;
        width: 104%;
        opacity: 0.38;
    }

    .cd-dashboard-map-visual .cd-dashboard-node {
        width: 7px;
        height: 7px;
        box-shadow: 0 0 0 5px rgba(253, 184, 22, 0.08), 0 0 18px rgba(253, 184, 22, 0.72);
    }
}
body.cd-document-fullscreen-active .cd-topbar {
    display: none !important;
}

.cd-document-view-shell.is-fullscreen {
    height: 100vh;
    min-height: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: 66px 18px 18px;
}

.cd-document-view-shell.is-fullscreen .cd-page-heading.cd-page-banner {
    min-height: 58px;
    height: 58px;
    padding: 8px 18px;
}

.cd-document-view-shell.is-fullscreen .cd-page-banner-actions.cd-document-view-actions {
    height: 42px;
    min-height: 42px;
}

.cd-document-view-shell.is-fullscreen .cd-document-view-card {
    width: min(100%, 1280px);
    min-height: 0;
    display: flex;
    flex: 1 1 auto;
    overflow: hidden;
}

.cd-document-view-shell.is-fullscreen .cd-pdf-viewer {
    width: 100%;
    min-height: 0;
    height: 100%;
    flex: 1 1 auto;
    overflow: hidden;
}

.cd-document-view-shell.is-fullscreen .cd-pdf-stage,
.cd-document-view-shell.is-fullscreen .cd-pdf-frame {
    min-height: 0 !important;
    height: auto !important;
    flex: 1 1 auto;
}

.cd-document-view-shell.is-fullscreen .cd-pdf-statusbar {
    position: relative;
    z-index: 5;
    bottom: auto;
    flex-shrink: 0;
}

.cd-dashboard-task-chart-grid.is-single {
    grid-template-columns: minmax(0, 1fr);
}

.cd-dashboard-task-chart-grid.is-single .cd-dashboard-task-comparison-chart {
    width: 100%;
}

.cd-dashboard-overview-metrics .cd-dashboard-overview-metric,
.cd-dashboard-audit-stat-card,
.cd-dashboard-grid-layout-task .cd-dashboard-task-total,
.cd-dashboard-grid-layout-task .cd-dashboard-task-stat {
    transition: transform 260ms cubic-bezier(0.16, 1, 0.3, 1), border-color 220ms ease, background 220ms ease, box-shadow 260ms ease, color 220ms ease;
}

.cd-dashboard-overview-metrics .cd-dashboard-overview-metric:hover,
.cd-dashboard-audit-stat-card:hover,
.cd-dashboard-grid-layout-task .cd-dashboard-task-total:hover,
.cd-dashboard-grid-layout-task .cd-dashboard-task-stat:hover,
html[data-theme="light"] .cd-dashboard-overview-metrics .cd-dashboard-overview-metric:hover,
html[data-theme="light"] .cd-dashboard-audit-stat-card:hover,
html[data-theme="light"] .cd-dashboard-grid-layout-task .cd-dashboard-task-total:hover,
html[data-theme="light"] .cd-dashboard-grid-layout-task .cd-dashboard-task-stat:hover {
    color: #ffffff;
    border-color: rgba(171, 146, 239, 0.38);
    background:
        radial-gradient(circle at 100% 0%, rgba(192, 149, 247, 0.34), transparent 12rem),
        radial-gradient(circle at 0 100%, rgba(70, 197, 221, 0.2), transparent 11rem),
        linear-gradient(145deg, #684fb6, #3788bd 64%, #2b9eab);
    box-shadow: 0 24px 52px rgba(25, 20, 75, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.16);
    transform: translateY(-5px) scale(1.008);
}

.cd-dashboard-overview-metrics .cd-dashboard-overview-metric:hover *,
.cd-dashboard-audit-stat-card:hover *,
.cd-dashboard-grid-layout-task .cd-dashboard-task-total:hover *,
.cd-dashboard-grid-layout-task .cd-dashboard-task-stat:hover * {
    color: #ffffff !important;
}

@media (min-width: 1440px) {
    .cd-dashboard-overview {
        min-height: auto;
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        grid-template-rows: auto;
        align-items: stretch;
        gap: 16px;
    }

    .cd-dashboard-overview-heading {
        width: 100%;
        max-width: none;
        grid-column: auto;
        grid-row: auto;
    }

    .cd-dashboard-overview-visuals {
        position: relative;
        inset: auto;
        width: 100%;
        height: clamp(280px, 24vw, 390px);
        grid-row: auto;
    }

    .cd-dashboard-overview-metrics {
        width: 100%;
        max-width: none;
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        align-self: stretch;
        margin: 0;
    }

    .cd-dashboard-overview-metric {
        min-width: 0;
        align-self: stretch;
    }

    .cd-dashboard-overview-metric-task {
        grid-column: auto;
        grid-row: auto;
    }
}

@media (max-width: 991px) {
    .cd-document-view-shell.is-fullscreen {
        padding: 62px 10px 10px;
    }

    .cd-document-view-shell.is-fullscreen .cd-page-heading.cd-page-banner {
        min-height: 54px;
        height: 54px;
        padding: 6px 10px;
    }

    .cd-document-view-shell.is-fullscreen .cd-page-banner-actions.cd-document-view-actions {
        width: auto;
        height: 42px;
        min-height: 42px;
        justify-content: flex-end;
    }

    .cd-page-heading.cd-page-banner.cd-page-heading-has-actions.cd-page-heading-seo-report.has-visible-actions {
        --cd-page-banner-actions-space: 132px;
        min-height: 118px;
        height: 118px;
    }

    .cd-page-heading.cd-page-banner.cd-page-heading-has-actions.cd-page-heading-seo-report.has-visible-actions .cd-page-banner-content {
        padding-right: 154px;
        padding-bottom: 0;
    }

    .cd-page-heading.cd-page-banner.cd-page-heading-has-actions.cd-page-heading-seo-report.has-visible-actions .cd-page-banner-actions {
        top: 50%;
        right: 20px;
        bottom: auto;
        left: auto;
        width: auto;
        height: 42px;
        justify-content: flex-end;
        transform: translateY(-50%);
    }
}

@media (max-width: 620px) {
    .cd-dashboard-module-header {
        align-items: stretch;
    }

    .cd-dashboard-module-action {
        width: 100%;
        min-width: 0;
        height: auto;
        min-height: 44px;
        justify-content: center;
        padding: 0 16px;
    }

    .cd-dashboard-module-action span {
        display: inline;
    }

    .cd-page-heading.cd-page-banner.cd-page-heading-has-actions.cd-page-heading-seo-report.has-visible-actions {
        --cd-page-banner-actions-space: 0px;
        min-height: 164px;
        height: 164px;
    }

    .cd-page-heading.cd-page-banner.cd-page-heading-has-actions.cd-page-heading-seo-report.has-visible-actions .cd-page-banner-content {
        padding-right: 22px;
        padding-bottom: 70px;
    }

    .cd-page-heading.cd-page-banner.cd-page-heading-has-actions.cd-page-heading-seo-report.has-visible-actions .cd-page-banner-actions {
        top: auto;
        right: 20px;
        bottom: 16px;
        left: 20px;
        width: auto;
        transform: none;
    }
}
@media (max-width: 1050px) {
    .cd-dashboard-overview-metric-task,
    .cd-dashboard-report-list {
        grid-column: 1 / -1;
    }
}

/* Offer approval status */
.cd-offer-status-panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 18px;
    padding: 16px 18px;
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 14px;
    background: rgba(15, 23, 42, 0.72);
    box-shadow: 0 16px 36px rgba(2, 6, 23, 0.16);
}

.cd-offer-status-copy,
.cd-offer-decision-form {
    display: flex;
    align-items: center;
    gap: 10px;
}

.cd-offer-status-label {
    color: rgba(226, 232, 240, 0.72);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.cd-offer-status-badge {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 5px 12px;
    border-radius: 999px;
    color: #fff;
    font-size: 13px;
    font-weight: 800;
}

.cd-offer-status-badge.is-pending {
    background: #d97706;
}

.cd-offer-status-badge.is-approved {
    background: #7c3aed;
}

.cd-offer-status-badge.is-rejected {
    background: #dc2626;
}

.cd-offer-status-badge.is-sent {
    background: #16a34a;
}

.cd-offer-decision-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 40px;
    padding: 8px 15px;
    border: 0;
    border-radius: 10px;
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
    transition: transform 160ms ease, box-shadow 160ms ease, filter 160ms ease;
}

.cd-offer-decision-button.is-approve {
    background: linear-gradient(135deg, #16a34a, #22c55e);
    box-shadow: 0 10px 22px rgba(34, 197, 94, 0.22);
}

.cd-offer-decision-button.is-reject {
    background: linear-gradient(135deg, #dc2626, #ef4444);
    box-shadow: 0 10px 22px rgba(239, 68, 68, 0.2);
}

.cd-offer-decision-button:hover,
.cd-offer-decision-button:focus-visible {
    color: #fff;
    filter: brightness(1.06);
    transform: translateY(-1px);
}

html[data-theme="light"] .cd-offer-status-panel {
    border-color: rgba(100, 116, 139, 0.2);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.08);
}

html[data-theme="light"] .cd-offer-status-label {
    color: #64748b;
}

@media (max-width: 767px) {
    .cd-offer-status-panel,
    .cd-offer-decision-form {
        align-items: stretch;
        flex-direction: column;
    }

    .cd-offer-status-copy {
        justify-content: space-between;
    }

    .cd-offer-decision-button {
        width: 100%;
    }
}

/* Offer action-required indicators */
.cd-document-name-content {
    min-width: 0;
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
}

.cd-document-name-content > strong {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cd-document-action-required-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 24px;
    padding: 3px 9px;
    border: 1px solid rgba(56, 189, 248, 0.3);
    border-radius: 999px;
    background: rgba(14, 165, 233, 0.14);
    color: #7dd3fc;
    font-size: 11px;
    font-weight: 800;
    line-height: 1;
}

.cd-nav-action-required-icon {
    position: absolute !important;
    z-index: 3 !important;
    top: auto;
    right: 9px;
    width: auto !important;
    color: #ff9aaa !important;
    font-size: 18px !important;
    filter: drop-shadow(0 0 7px rgba(56, 189, 248, 0.38));
    transform: none !important;
}

.cd-nav-item:hover > .cd-nav-action-required-icon,
.cd-nav-item:focus-visible > .cd-nav-action-required-icon {
    color: #ef4444 !important;
    filter: drop-shadow(0 0 7px rgba(239, 68, 68, 0.45));
    transform: scale(1.08) !important;
}

html[data-theme="light"] .cd-document-action-required-badge {
    border-color: rgba(2, 132, 199, 0.24);
    background: rgba(14, 165, 233, 0.1);
    color: #0369a1;
}

html[data-theme="light"] .cd-nav-action-required-icon {
    color: #b91c3c !important;
    filter: drop-shadow(0 0 5px rgba(185, 28, 60, 0.2));
}

html.cd-sidebar-collapsed .cd-nav-action-required-icon {
    top: 6px;
    right: 6px;
    width: auto !important;
    font-size: 12px !important;
}


.cd-contract-sign-button {
    background: linear-gradient(135deg, #27aae1, #2dbcbb);
    color: #fff;
}

html.cd-dashboard-modal-open,
body.cd-dashboard-modal-open {
    overflow: hidden;
}

.cd-dashboard-modal[hidden] {
    display: none !important;
}

.cd-dashboard-modal {
    position: fixed;
    z-index: 10050;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.18s ease, visibility 0.18s ease;
}

.cd-dashboard-modal.is-open {
    opacity: 1;
    visibility: visible;
}

.cd-dashboard-modal-backdrop {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    background: rgba(1, 8, 18, 0.76);
    backdrop-filter: blur(7px);
    cursor: default;
}

.cd-dashboard-modal-dialog {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    width: min(760px, 100%);
    max-height: calc(100vh - 48px);
    overflow: hidden;
    border: 1px solid rgba(125, 170, 198, 0.2);
    border-radius: 20px;
    color: #eaf3f8;
    background: linear-gradient(145deg, rgba(10, 31, 49, 0.99), rgba(5, 20, 35, 0.99));
    box-shadow: 0 36px 100px rgba(0, 4, 16, 0.62);
    transform: translateY(14px) scale(0.985);
    transition: transform 0.18s ease;
}

.cd-dashboard-modal.is-open .cd-dashboard-modal-dialog {
    transform: translateY(0) scale(1);
}

.cd-dashboard-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    flex: 0 0 auto;
    padding: 19px 22px;
    border-bottom: 1px solid rgba(122, 163, 190, 0.15);
    background: rgba(8, 27, 44, 0.96);
}

.cd-dashboard-modal-heading {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.cd-dashboard-modal-heading h2 {
    margin: 0;
    color: inherit;
    font-size: 21px;
    font-weight: 800;
    line-height: 1.25;
}

.cd-dashboard-modal-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    border: 1px solid rgba(45, 188, 187, 0.3);
    border-radius: 12px;
    color: #7ce2dd;
    background: rgba(45, 188, 187, 0.12);
}

.cd-dashboard-modal-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    padding: 0;
    border: 1px solid rgba(124, 164, 190, 0.2);
    border-radius: 12px;
    color: #bed2df;
    background: rgba(23, 51, 70, 0.74);
    cursor: pointer;
    transition: border-color 0.18s ease, color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

.cd-dashboard-modal-close:hover,
.cd-dashboard-modal-close:focus-visible {
    border-color: rgba(45, 188, 187, 0.48);
    color: #fff;
    background: rgba(45, 188, 187, 0.18);
    transform: translateY(-1px);
}

.cd-dashboard-modal-body {
    min-height: 0;
    overflow-y: auto;
    padding: 22px;
}

.cd-signature-canvas-wrap {
    height: 300px;
    border: 1px solid rgba(39, 170, 225, 0.35);
    border-radius: 14px;
    background: #fff;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.5), 0 12px 30px rgba(0, 8, 20, 0.18);
    overflow: hidden;
}

.cd-signature-canvas-wrap canvas {
    display: block;
    width: 100%;
    height: 100%;
    cursor: crosshair;
    touch-action: none;
}

.cd-signature-instruction {
    margin: 0 0 14px;
    color: #9ab1c0;
    line-height: 1.55;
}

.cd-signature-error {
    margin-top: 12px;
    padding: 10px 12px;
    border: 1px solid rgba(255, 119, 136, 0.24);
    border-radius: 9px;
    background: rgba(220, 53, 69, 0.12);
    color: #ff9aaa;
    font-weight: 700;
}

.cd-dashboard-modal-footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    flex: 0 0 auto;
    padding: 16px 22px 20px;
    border-top: 1px solid rgba(122, 163, 190, 0.15);
    background: rgba(8, 27, 44, 0.72);
}

.cd-dashboard-modal-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 42px;
    padding: 10px 16px;
    border: 1px solid transparent;
    border-radius: 11px;
    font: inherit;
    font-weight: 800;
    line-height: 1;
    cursor: pointer;
    transition: border-color 0.18s ease, background 0.18s ease, color 0.18s ease, transform 0.18s ease, opacity 0.18s ease;
}

.cd-dashboard-modal-button:hover,
.cd-dashboard-modal-button:focus-visible {
    transform: translateY(-1px);
}

.cd-dashboard-modal-button:disabled {
    opacity: 0.65;
    cursor: wait;
    transform: none;
}

.cd-dashboard-modal-button.is-secondary {
    border-color: rgba(124, 164, 190, 0.22);
    color: #c7d9e4;
    background: rgba(23, 51, 70, 0.76);
}

.cd-dashboard-modal-button.is-secondary:hover,
.cd-dashboard-modal-button.is-secondary:focus-visible {
    border-color: rgba(39, 170, 225, 0.42);
    color: #fff;
    background: rgba(39, 170, 225, 0.16);
}

.cd-dashboard-modal-button.is-primary {
    border-color: rgba(45, 188, 187, 0.38);
    color: #fff;
    background: linear-gradient(135deg, #27aae1, #2dbcbb);
    box-shadow: 0 10px 24px rgba(39, 170, 225, 0.2);
}

.cd-dashboard-modal-button.is-primary:hover,
.cd-dashboard-modal-button.is-primary:focus-visible {
    box-shadow: 0 13px 28px rgba(39, 170, 225, 0.28);
}

html[data-theme="light"] .cd-dashboard-modal-backdrop {
    background: rgba(18, 38, 52, 0.56);
}

html[data-theme="light"] .cd-dashboard-modal-dialog {
    border-color: rgba(61, 105, 134, 0.16);
    color: #17384e;
    background: #fff;
    box-shadow: 0 34px 90px rgba(43, 74, 97, 0.28);
}

html[data-theme="light"] .cd-dashboard-modal-header,
html[data-theme="light"] .cd-dashboard-modal-footer {
    border-color: rgba(61, 105, 134, 0.12);
    background: #f8fcfe;
}

html[data-theme="light"] .cd-dashboard-modal-close {
    border-color: rgba(61, 105, 134, 0.18);
    color: #45677d;
    background: #eef5f8;
}

html[data-theme="light"] .cd-dashboard-modal-close:hover,
html[data-theme="light"] .cd-dashboard-modal-close:focus-visible {
    border-color: rgba(39, 170, 225, 0.34);
    color: #17384e;
    background: #e6f5fa;
}

html[data-theme="light"] .cd-signature-instruction {
    color: #526f82;
}

html[data-theme="light"] .cd-signature-error {
    color: #b42334;
}

html[data-theme="light"] .cd-dashboard-modal-button.is-secondary {
    border-color: rgba(61, 105, 134, 0.18);
    color: #31586f;
    background: #eef5f8;
}

html[data-theme="light"] .cd-dashboard-modal-button.is-secondary:hover,
html[data-theme="light"] .cd-dashboard-modal-button.is-secondary:focus-visible {
    border-color: rgba(39, 170, 225, 0.34);
    color: #17384e;
    background: #e6f5fa;
}

@media (max-width: 640px) {
    .cd-dashboard-modal {
        align-items: end;
        padding: 12px;
    }

    .cd-dashboard-modal-dialog {
        width: 100%;
        max-height: calc(100dvh - 24px);
        border-radius: 18px;
        transform: translateY(24px);
    }

    .cd-dashboard-modal-header {
        padding: 16px;
    }

    .cd-dashboard-modal-heading h2 {
        font-size: 18px;
    }

    .cd-dashboard-modal-body {
        padding: 16px;
    }

    .cd-signature-canvas-wrap {
        height: 230px;
    }

    .cd-dashboard-modal-footer {
        display: grid;
        grid-template-columns: 1fr 1fr;
        padding: 14px 16px 16px;
    }

    .cd-dashboard-modal-button {
        width: 100%;
        padding-inline: 12px;
    }
}

@media (max-width: 420px) {
    .cd-dashboard-modal-footer {
        grid-template-columns: 1fr;
    }

    .cd-signature-canvas-wrap {
        height: 210px;
    }
}
.cd-dashboard-document-columns > .cd-dashboard-document-panel:only-child {
    grid-column: 1 / -1;
}

html[data-theme="dark"] .audit-report-section-kicker,
html[data-theme="dark"] .audit-report-section-kicker-danger,
html[data-theme="dark"] .audit-report-section-kicker-warning,
html[data-theme="dark"] .audit-report-section-kicker-success,
html[data-theme="dark"] .audit-report-section-kicker-info {
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
}

.cd-task-report-update-notice {
    align-items: center;
    margin: 0 0 18px;
}

.cd-task-report-update-notice > i {
    flex: 0 0 auto;
}

.cd-task-report-update-notice > span {
    line-height: 1.5;
}

.cd-document-view-shell.is-fullscreen .cd-document-tabs {
    height: 70px;
    min-height: 70px;
    display: flex;
    flex: 0 0 70px;
    align-items: center;
    margin-bottom: 12px;
    padding: 7px 0;
}

.cd-document-view-shell.is-fullscreen .cd-document-tab {
    height: 56px;
    min-height: 56px;
    align-self: center;
    padding-top: 8px;
    padding-bottom: 8px;
}

.cd-document-view-shell.is-fullscreen .cd-document-view-card .document-editor-statusbar {
    border-radius: 0;
}


/* ==========================================================================
   Heatmaps
   ========================================================================== */
.cd-dashboard-module-heatmap {
    --cd-dashboard-module-accent: 118, 86, 197;
    --cd-dashboard-module-secondary: 45, 188, 187;
}

.cd-dashboard-heatmap-kpis {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 14px;
}

.cd-dashboard-heatmap-kpi {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
    border: 1px solid rgba(var(--cd-dashboard-module-accent), 0.16);
    border-radius: 15px;
    background:
        radial-gradient(circle at 100% 0%, rgba(var(--cd-dashboard-module-accent), 0.14), transparent 9rem),
        linear-gradient(145deg, rgba(16, 42, 61, 0.9), rgba(8, 27, 43, 0.8));
    box-shadow: 0 14px 32px rgba(0, 8, 22, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.cd-dashboard-heatmap-kpi-copy {
    min-width: 0;
}

.cd-dashboard-heatmap-kpi-copy small,
.cd-dashboard-heatmap-kpi-copy strong {
    display: block;
}

.cd-dashboard-heatmap-kpi-copy small {
    overflow: hidden;
    color: var(--cd-muted);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-overflow: ellipsis;
    text-transform: uppercase;
    white-space: nowrap;
}

.cd-dashboard-heatmap-kpi-copy strong {
    margin-top: 4px;
    color: #ffffff;
    font-family: "Sora", "Manrope", ui-sans-serif, system-ui, sans-serif;
    font-size: 24px;
    line-height: 1;
}

.cd-dashboard-heatmap-layout {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 14px;
}

.cd-dashboard-heatmap-device-panel,
.cd-dashboard-heatmap-sites-panel {
    min-width: 0;
    padding: 20px;
}

.cd-dashboard-module-heatmap .cd-dashboard-panel-heading {
    justify-content: flex-start;
    text-align: left;
}

.cd-dashboard-module-heatmap .cd-dashboard-panel-heading > div {
    min-width: 0;
}

.cd-dashboard-heatmap-device-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(18px, 3vw, 34px);
    min-height: 270px;
    padding: 10px 0 4px;
}

.cd-dashboard-heatmap-device-chart {
    width: 250px;
    height: 250px;
    flex-basis: 250px;
}

.cd-dashboard-heatmap-device-legend {
    min-width: min(230px, 48%);
    display: grid;
    gap: 8px;
}

.cd-dashboard-heatmap-device-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 9px 10px;
    border: 1px solid rgba(var(--cd-dashboard-module-accent), 0.13);
    border-radius: 11px;
    background: rgba(255, 255, 255, 0.035);
}

.cd-dashboard-heatmap-device-name,
.cd-dashboard-heatmap-device-value {
    display: inline-flex;
    align-items: center;
}

.cd-dashboard-heatmap-device-name {
    gap: 8px;
    color: var(--cd-text);
    font-size: 12px;
    font-weight: 750;
}

.cd-dashboard-heatmap-device-name i {
    width: 16px;
    color: rgb(var(--cd-dashboard-module-secondary));
    text-align: center;
}

.cd-dashboard-heatmap-device-row.is-desktop .cd-dashboard-heatmap-device-name i {
    color: #9272ee;
}

.cd-dashboard-heatmap-device-row.is-tablet .cd-dashboard-heatmap-device-name i {
    color: #55d2e8;
}

.cd-dashboard-heatmap-device-row.is-mobile .cd-dashboard-heatmap-device-name i {
    color: #2dbcbb;
}

.cd-dashboard-heatmap-device-value {
    gap: 8px;
}

.cd-dashboard-heatmap-device-value strong {
    color: var(--cd-text);
    font-size: 13px;
}

.cd-dashboard-heatmap-device-value small {
    min-width: 42px;
    padding: 3px 6px;
    border-radius: 999px;
    color: var(--cd-muted);
    background: rgba(var(--cd-dashboard-module-accent), 0.1);
    font-size: 9px;
    font-weight: 800;
    text-align: center;
}

.cd-dashboard-heatmap-secondary-metrics {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 8px;
}

.cd-dashboard-heatmap-secondary-metrics > span {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 11px;
    border: 1px solid rgba(var(--cd-dashboard-module-accent), 0.12);
    border-radius: 11px;
    background: rgba(255, 255, 255, 0.03);
}

.cd-dashboard-heatmap-secondary-metrics small {
    color: var(--cd-muted);
    font-size: 10px;
    font-weight: 750;
}

.cd-dashboard-heatmap-secondary-metrics strong {
    color: var(--cd-text);
    font-family: "Sora", "Manrope", ui-sans-serif, system-ui, sans-serif;
    font-size: 14px;
}

.cd-dashboard-heatmap-sites {
    display: grid;
    gap: 8px;
    margin-top: 14px;
}

.cd-dashboard-heatmap-site-row {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto 28px;
    grid-template-areas:
        "copy sessions arrow"
        "bar bar arrow";
    align-items: center;
    gap: 7px 12px;
    overflow: hidden;
    padding: 11px 12px;
    border: 1px solid rgba(var(--cd-dashboard-module-accent), 0.13);
    border-radius: 12px;
    color: var(--cd-text);
    background: rgba(255, 255, 255, 0.035);
    text-decoration: none;
    transition: border-color 170ms ease, background 170ms ease, transform 170ms ease;
}

.cd-dashboard-heatmap-site-row:hover,
.cd-dashboard-heatmap-site-row:focus {
    color: var(--cd-text);
    border-color: rgba(var(--cd-dashboard-module-secondary), 0.28);
    background: rgba(var(--cd-dashboard-module-accent), 0.08);
    text-decoration: none;
    transform: translateX(2px);
}

.cd-dashboard-heatmap-site-copy {
    min-width: 0;
    grid-area: copy;
}

.cd-dashboard-heatmap-site-copy strong,
.cd-dashboard-heatmap-site-copy small {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cd-dashboard-heatmap-site-copy strong {
    color: var(--cd-text);
    font-size: 12px;
}

.cd-dashboard-heatmap-site-copy small {
    margin-top: 3px;
    color: var(--cd-muted);
    font-size: 10px;
}

.cd-dashboard-heatmap-site-sessions {
    grid-area: sessions;
    color: #55d2e8;
    font-family: "Sora", "Manrope", ui-sans-serif, system-ui, sans-serif;
    font-size: 15px;
    font-weight: 800;
}

.cd-dashboard-heatmap-site-bar {
    height: 4px;
    grid-area: bar;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(var(--cd-dashboard-module-accent), 0.1);
}

.cd-dashboard-heatmap-site-bar > span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #7656c5, #3c88bc 58%, #2dbcbb);
    box-shadow: 0 0 12px rgba(85, 210, 232, 0.18);
}

.cd-dashboard-heatmap-site-row > i {
    width: 28px;
    height: 28px;
    display: inline-grid;
    grid-area: arrow;
    place-items: center;
    border-radius: 8px;
    color: var(--cd-muted);
    background: rgba(var(--cd-dashboard-module-accent), 0.08);
    transition: color 170ms ease, background 170ms ease;
}

.cd-dashboard-heatmap-site-row:hover > i,
.cd-dashboard-heatmap-site-row:focus > i {
    color: #ffffff;
    background: linear-gradient(135deg, #7656c5, #3c88bc 62%, #2e9eaa);
}

html[data-theme="light"] .cd-dashboard-heatmap-kpi {
    border-color: rgba(var(--cd-dashboard-module-accent), 0.12);
    background:
        radial-gradient(circle at 100% 0%, rgba(var(--cd-dashboard-module-accent), 0.08), transparent 9rem),
        linear-gradient(145deg, #ffffff, #eef7fb);
    box-shadow: 0 14px 30px rgba(52, 84, 109, 0.09), inset 0 1px 0 #ffffff;
}

html[data-theme="light"] .cd-dashboard-heatmap-kpi-copy strong {
    color: #173044;
}

html[data-theme="light"] .cd-dashboard-heatmap-device-row,
html[data-theme="light"] .cd-dashboard-heatmap-secondary-metrics > span,
html[data-theme="light"] .cd-dashboard-heatmap-site-row {
    border-color: rgba(var(--cd-dashboard-module-accent), 0.1);
    background: rgba(255, 255, 255, 0.74);
}

html[data-theme="light"] .cd-dashboard-heatmap-site-row:hover,
html[data-theme="light"] .cd-dashboard-heatmap-site-row:focus {
    border-color: rgba(var(--cd-dashboard-module-secondary), 0.2);
    background: #eef8fb;
}

html[data-theme="light"] .cd-dashboard-heatmap-site-sessions {
    color: #277fa9;
}

@media (max-width: 1100px) {
    .cd-dashboard-heatmap-kpis {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .cd-dashboard-heatmap-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 620px) {
    .cd-dashboard-heatmap-kpis {
        grid-template-columns: 1fr;
    }

    .cd-dashboard-heatmap-device-content {
        flex-direction: column;
    }

    .cd-dashboard-heatmap-device-legend {
        width: 100%;
        min-width: 0;
    }

    .cd-dashboard-heatmap-secondary-metrics {
        grid-template-columns: 1fr;
    }

    .cd-dashboard-heatmap-site-row {
        grid-template-columns: minmax(0, 1fr) auto;
        grid-template-areas:
            "copy sessions"
            "bar bar";
    }

    .cd-dashboard-heatmap-site-row > i {
        display: none;
    }
}

/* Client dashboard heatmap report */
.cd-heatmap-page {
    gap: 18px;
}

.cd-heatmap-navigation {
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 14px 18px;
    overflow: visible;
}

.cd-heatmap-navigation .cd-report-tabs-scroll {
    min-width: 0;
    flex: 1 1 auto;
    overflow-x: auto;
}

.cd-heatmap-navigation .cd-report-tabs {
    min-width: max-content;
    padding: 7px;
    border: 1px solid rgba(111, 171, 202, 0.15);
    border-radius: 17px;
    overflow: visible;
    background: linear-gradient(105deg, rgba(13, 39, 59, 0.92), rgba(11, 45, 65, 0.88) 58%, rgba(10, 53, 59, 0.82));
    box-shadow: 0 14px 30px rgba(0, 7, 22, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.045);
}

.cd-heatmap-date-range {
    min-width: 290px;
    height: 44px;
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 10px;
    padding-left: 14px;
    border: 1px solid rgba(102, 191, 218, 0.22);
    border-radius: 14px;
    background: rgba(5, 20, 32, 0.72);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.045);
}

.cd-heatmap-date-range > i {
    color: #6bd4ec;
}

.cd-heatmap-date-range .form-control {
    min-width: 0;
    height: 42px;
    flex: 1 1 auto;
    padding: 0;
    border: 0;
    color: var(--cd-text);
    background: transparent;
    box-shadow: none;
    cursor: pointer;
    font-size: 13px;
    font-weight: 700;
}

.cd-heatmap-date-range .form-control:focus {
    outline: 0;
    box-shadow: none;
}

.cd-heatmap-date-reset {
    width: 43px;
    height: 42px;
    display: inline-grid;
    flex: 0 0 auto;
    place-items: center;
    border: 0;
    border-left: 1px solid rgba(102, 191, 218, 0.16);
    border-radius: 0 13px 13px 0;
    color: #9cc5d4;
    background: rgba(255, 255, 255, 0.025);
    cursor: pointer;
    transition: color 160ms ease, background 160ms ease;
}

.cd-heatmap-date-reset:hover {
    color: #ffffff;
    background: rgba(103, 221, 255, 0.1);
}

.cd-heatmap-report-content {
    min-width: 0;
    padding: 18px;
    overflow: hidden;
}

.cd-heatmap-report-content .cd-heatmap-report-toolbar {
    gap: 18px;
    margin: 0 0 18px !important;
}

.cd-heatmap-report-content .cd-heatmap-report-toolbar #heatmap-right-buttons {
    min-width: 280px;
    margin-left: auto !important;
}

.cd-heatmap-report-content .cd-heatmap-report-toolbar #input-report-heatmap-page {
    min-width: 210px;
}

.cd-heatmap-report-content .heatmap-report-card {
    margin: 0;
    padding: 18px;
    border: 1px solid rgba(104, 171, 204, 0.14) !important;
    border-radius: 16px !important;
    color: var(--cd-text);
}

.cd-heatmap-report-content .heatmap-report-sidebar-card,
.cd-heatmap-report-content .heatmap-report-visible-type-card,
.cd-heatmap-report-content .heatmap-report-summary-card,
.cd-heatmap-report-content .heatmap-elements-table-view {
    border-color: rgba(106, 171, 202, 0.16);
    color: var(--cd-text);
}

.cd-heatmap-report-content .heatmap-report-summary-card-label,
.cd-heatmap-report-content .text-muted,
.cd-heatmap-report-content small {
    color: var(--cd-muted) !important;
}

.cd-heatmap-report-content .form-control,
.cd-heatmap-report-content .btn-light,
.cd-heatmap-report-content .dropdown-menu {
    border-color: rgba(109, 184, 213, 0.22);
    color: #eaf6fb;
    background-color: #0c1d2a;
}

.cd-heatmap-report-content .btn-light:hover,
.cd-heatmap-report-content .btn-light:focus,
.cd-heatmap-report-content .dropdown-item:hover,
.cd-heatmap-report-content .dropdown-item:focus {
    color: #ffffff;
    background-color: #173349;
}

.cd-heatmap-report-content .table {
    color: var(--cd-text);
}

.cd-heatmap-report-content .table th,
.cd-heatmap-report-content .table td {
    border-color: rgba(106, 171, 202, 0.14);
}

html[data-theme="light"] .cd-heatmap-navigation .cd-report-tabs {
    border-color: rgba(81, 143, 183, 0.18);
    background: linear-gradient(105deg, rgba(209, 229, 246, 0.78), rgba(223, 241, 250, 0.86) 58%, rgba(218, 244, 240, 0.72));
    box-shadow: 0 16px 34px rgba(47, 91, 124, 0.11), inset 0 1px 0 #ffffff;
}

html[data-theme="light"] .cd-heatmap-date-range {
    border-color: rgba(56, 111, 143, 0.18);
    background: rgba(255, 255, 255, 0.88);
    box-shadow: inset 0 1px 0 #ffffff;
}

html[data-theme="light"] .cd-heatmap-date-range .form-control {
    color: #24465d;
}

html[data-theme="light"] .cd-heatmap-date-reset {
    border-left-color: rgba(56, 111, 143, 0.14);
    color: #52758a;
    background: rgba(33, 104, 145, 0.035);
}

html[data-theme="light"] .cd-heatmap-report-content .heatmap-report-card,
html[data-theme="light"] .cd-heatmap-report-content .heatmap-report-sidebar-card,
html[data-theme="light"] .cd-heatmap-report-content .heatmap-report-visible-type-card,
html[data-theme="light"] .cd-heatmap-report-content .heatmap-report-summary-card,
html[data-theme="light"] .cd-heatmap-report-content .heatmap-elements-table-view {
    border-color: rgba(55, 102, 132, 0.13) !important;
    color: #24465d;
}

html[data-theme="light"] .cd-heatmap-report-content .heatmap-report-summary-card-label,
html[data-theme="light"] .cd-heatmap-report-content .text-muted,
html[data-theme="light"] .cd-heatmap-report-content small {
    color: #688295 !important;
}

html[data-theme="light"] .cd-heatmap-report-content .form-control,
html[data-theme="light"] .cd-heatmap-report-content .btn-light,
html[data-theme="light"] .cd-heatmap-report-content .dropdown-menu {
    border-color: rgba(55, 102, 132, 0.16);
    color: #294b63;
    background-color: #ffffff;
}

html[data-theme="light"] .cd-heatmap-report-content .btn-light:hover,
html[data-theme="light"] .cd-heatmap-report-content .btn-light:focus,
html[data-theme="light"] .cd-heatmap-report-content .dropdown-item:hover,
html[data-theme="light"] .cd-heatmap-report-content .dropdown-item:focus {
    color: #17384d;
    background-color: #eaf5fa;
}


.cd-heatmap-report-content .cd-heatmap-report-toolbar .heatmap-device-type-buttons,
.cd-heatmap-report-content .heatmap-report-type-buttons,
.cd-heatmap-report-content .heatmap-screenshot-nav-group {
    gap: 6px;
    padding: 5px;
    border: 1px solid rgba(111, 171, 202, 0.16);
    border-radius: 14px;
    background: linear-gradient(105deg, rgba(13, 39, 59, 0.94), rgba(11, 45, 65, 0.9) 58%, rgba(10, 53, 59, 0.84));
    box-shadow: 0 12px 26px rgba(0, 7, 22, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.045);
}

.cd-heatmap-report-content .heatmap-device-type-buttons .btn,
.cd-heatmap-report-content .heatmap-report-type-buttons .btn,
.cd-heatmap-report-content .heatmap-screenshot-nav-group .btn,
.cd-heatmap-report-content .heatmap-report-view-mode-button,
.cd-heatmap-report-content .heatmap-table-add-metric-button {
    min-height: 36px;
    border: 1px solid transparent;
    border-radius: 10px !important;
    color: #a9c5d4;
    background: transparent;
    box-shadow: none;
    font-weight: 700;
    transition: color 160ms ease, border-color 160ms ease, background 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.cd-heatmap-report-content .heatmap-device-type-buttons .btn:hover,
.cd-heatmap-report-content .heatmap-report-type-buttons .btn:hover,
.cd-heatmap-report-content .heatmap-screenshot-nav-group .btn:hover,
.cd-heatmap-report-content .heatmap-report-view-mode-button:hover,
.cd-heatmap-report-content .heatmap-table-add-metric-button:hover {
    color: #f3fbff;
    border-color: rgba(116, 183, 210, 0.18);
    background: rgba(78, 145, 178, 0.12);
    transform: translateY(-1px);
}

.cd-heatmap-report-content .button-report-device-type.active,
.cd-heatmap-report-content .button-report-device-type.bg-secondary,
.cd-heatmap-report-content .button-report-heatmap-type.active,
.cd-heatmap-report-content .button-report-heatmap-type.bg-secondary,
.cd-heatmap-report-content .heatmap-report-view-mode-option.active,
.cd-heatmap-report-content .heatmap-report-menu-button-active {
    color: #ffffff !important;
    border-color: rgba(128, 211, 226, 0.46) !important;
    background: linear-gradient(115deg, #7656c5, #3c88bc 62%, #2e9eaa) !important;
    box-shadow: 0 10px 22px rgba(45, 58, 133, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.24);
}

.cd-heatmap-report-content .cd-heatmap-report-toolbar #heatmap-right-buttons .input-group {
    min-height: 46px;
    overflow: hidden;
    border: 1px solid rgba(109, 184, 213, 0.2);
    border-radius: 13px;
    background: rgba(8, 27, 41, 0.88) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

.cd-heatmap-report-content .cd-heatmap-report-toolbar #heatmap-right-buttons .input-group .form-control,
.cd-heatmap-report-content .cd-heatmap-report-toolbar #heatmap-right-buttons .input-group .btn {
    height: 44px;
    border: 0;
    border-radius: 0 !important;
    background: transparent;
}

.cd-heatmap-report-content .cd-heatmap-report-toolbar #heatmap-right-buttons .input-group .btn {
    min-width: 44px;
    color: #78d8e8;
    border-left: 1px solid rgba(109, 184, 213, 0.14);
}

.cd-heatmap-report-content .heatmap-report-card {
    background:
        radial-gradient(circle at 100% 0%, rgba(118, 86, 197, 0.09), transparent 24rem),
        radial-gradient(circle at 0 100%, rgba(46, 158, 170, 0.07), transparent 22rem),
        linear-gradient(145deg, rgba(10, 31, 47, 0.9), rgba(5, 20, 33, 0.84));
    box-shadow: 0 18px 42px rgba(0, 8, 22, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

.cd-heatmap-report-content #heatmap-click-stage-top-bar {
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(106, 171, 202, 0.13);
}

.cd-heatmap-report-content .heatmap-report-sidebar-card {
    padding: 12px;
    border-radius: 15px;
    background:
        radial-gradient(circle at 100% 0%, rgba(118, 86, 197, 0.1), transparent 14rem),
        linear-gradient(145deg, rgba(14, 39, 57, 0.96), rgba(8, 27, 42, 0.92));
    box-shadow: 0 14px 30px rgba(0, 7, 22, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

.cd-heatmap-report-content .heatmap-report-visible-type-card,
.cd-heatmap-report-content .heatmap-report-summary-card {
    border: 1px solid rgba(109, 184, 213, 0.14);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.035);
}

.cd-heatmap-report-content .heatmap-report-visible-type-title,
.cd-heatmap-report-content .heatmap-report-summary-card strong,
.cd-heatmap-report-content .heatmap-report-summary-card span,
.cd-heatmap-report-content .heatmap-report-info-section-title,
.cd-heatmap-report-content .heatmap-elements-table,
.cd-heatmap-report-content .heatmap-elements-table th,
.cd-heatmap-report-content .heatmap-elements-table td {
    color: var(--cd-text) !important;
}

.cd-heatmap-report-content .heatmap-report-visible-type-subtitle,
.cd-heatmap-report-content .heatmap-report-summary-card-label,
.cd-heatmap-report-content .heatmap-screenshot-dropdown-main small {
    color: var(--cd-muted) !important;
}

.cd-heatmap-report-content .heatmap-report-menu-button {
    min-height: 44px;
    border-color: rgba(109, 184, 213, 0.13);
    border-radius: 11px;
    color: #bed3df;
    background: rgba(255, 255, 255, 0.035);
    transition: color 160ms ease, border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.cd-heatmap-report-content .heatmap-report-menu-button:hover,
.cd-heatmap-report-content .heatmap-report-menu-button:focus {
    color: #ffffff;
    border-color: rgba(116, 183, 210, 0.22);
    background: rgba(78, 145, 178, 0.13);
    transform: translateX(2px);
}

.cd-heatmap-report-content .heatmap-report-menu-button i,
.cd-heatmap-report-content .heatmap-report-menu-info-link,
.cd-heatmap-report-content .heatmap-report-summary-info {
    color: #86dfff;
}

.cd-heatmap-report-content .heatmap-report-menu-info-link:hover,
.cd-heatmap-report-content .heatmap-report-menu-info-link:focus {
    color: #9ce9f3;
    text-decoration: none;
}

.cd-heatmap-report-content .heatmap-report-view-mode-menu,
.cd-heatmap-report-content .heatmap-screenshot-dropdown-menu,
.cd-heatmap-report-content .heatmap-table-metric-dropdown-menu {
    padding: 6px;
    border-radius: 12px;
    box-shadow: 0 18px 40px rgba(0, 7, 22, 0.28);
}

.cd-heatmap-report-content .heatmap-report-view-mode-option,
.cd-heatmap-report-content .heatmap-screenshot-dropdown-item,
.cd-heatmap-report-content .heatmap-table-metric-option {
    border-radius: 9px;
}

.cd-heatmap-report-content .heatmap-screenshot-dropdown-item:hover,
.cd-heatmap-report-content .heatmap-screenshot-dropdown-item.active {
    border-color: rgba(116, 183, 210, 0.2);
    background: rgba(78, 145, 178, 0.13);
}

.cd-heatmap-report-content .heatmap-screenshot-dropdown-main,
.cd-heatmap-report-content .heatmap-screenshot-dropdown-main span {
    color: #dcebf2;
}

.cd-heatmap-report-content .heatmap-elements-table-view {
    overflow: hidden;
    border-radius: 14px;
    background: rgba(8, 27, 41, 0.86);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.cd-heatmap-report-content .heatmap-elements-table-wrap {
    border-color: rgba(109, 184, 213, 0.15);
    border-radius: 14px;
}

.cd-heatmap-report-content .heatmap-elements-table {
    background: transparent;
}

.cd-heatmap-report-content .heatmap-elements-table-metric {
    color: #d7e8ef;
    border-color: rgba(109, 184, 213, 0.16);
    background: rgba(78, 145, 178, 0.1);
}

.cd-heatmap-report-content .heatmap-elements-table-metric-remove {
    color: #88cfe0;
}

.cd-heatmap-report-content .heatmap-table-metric-option,
.cd-heatmap-report-content .heatmap-table-metric-option:hover {
    color: #c8dae5;
    background: transparent;
}

.cd-heatmap-report-content .heatmap-table-metric-option:hover {
    background: rgba(78, 145, 178, 0.13);
}

.cd-heatmap-report-content .heatmap-report-summary-row {
    border-bottom-color: rgba(109, 184, 213, 0.13);
}

.cd-heatmap-report-content .heatmap-elements-table thead th {
    border-bottom-color: rgba(109, 184, 213, 0.18);
    background: linear-gradient(105deg, rgba(22, 54, 76, 0.96), rgba(16, 62, 78, 0.9));
}

.cd-heatmap-report-content .heatmap-elements-table tbody tr:hover {
    background: rgba(78, 145, 178, 0.08);
}

.cd-heatmap-report-content .heatmap-click-loading,
.cd-heatmap-report-content .heatmap-report-view-loading-overlay,
.cd-heatmap-report-content #heatmap-click-report-no-screenshot {
    color: var(--cd-muted);
    background: rgba(8, 27, 41, 0.94);
}

html[data-theme="light"] .cd-heatmap-report-content .cd-heatmap-report-toolbar .heatmap-device-type-buttons,
html[data-theme="light"] .cd-heatmap-report-content .heatmap-report-type-buttons,
html[data-theme="light"] .cd-heatmap-report-content .heatmap-screenshot-nav-group {
    border-color: rgba(81, 143, 183, 0.18);
    background: linear-gradient(105deg, rgba(209, 229, 246, 0.78), rgba(223, 241, 250, 0.86) 58%, rgba(218, 244, 240, 0.72));
    box-shadow: 0 12px 26px rgba(47, 91, 124, 0.09), inset 0 1px 0 #ffffff;
}

html[data-theme="light"] .cd-heatmap-report-content .heatmap-device-type-buttons .btn,
html[data-theme="light"] .cd-heatmap-report-content .heatmap-report-type-buttons .btn,
html[data-theme="light"] .cd-heatmap-report-content .heatmap-screenshot-nav-group .btn,
html[data-theme="light"] .cd-heatmap-report-content .heatmap-report-view-mode-button,
html[data-theme="light"] .cd-heatmap-report-content .heatmap-table-add-metric-button {
    color: #58758a;
}

html[data-theme="light"] .cd-heatmap-report-content .heatmap-device-type-buttons .btn:hover,
html[data-theme="light"] .cd-heatmap-report-content .heatmap-report-type-buttons .btn:hover,
html[data-theme="light"] .cd-heatmap-report-content .heatmap-screenshot-nav-group .btn:hover,
html[data-theme="light"] .cd-heatmap-report-content .heatmap-report-view-mode-button:hover,
html[data-theme="light"] .cd-heatmap-report-content .heatmap-table-add-metric-button:hover {
    color: #17384e;
    border-color: rgba(81, 143, 183, 0.14);
    background: rgba(255, 255, 255, 0.52);
}

html[data-theme="light"] .cd-heatmap-report-content .cd-heatmap-report-toolbar #heatmap-right-buttons .input-group {
    border-color: rgba(55, 102, 132, 0.16);
    background: rgba(255, 255, 255, 0.9) !important;
    box-shadow: inset 0 1px 0 #ffffff;
}

html[data-theme="light"] .cd-heatmap-report-content .heatmap-report-card {
    background:
        radial-gradient(circle at 100% 0%, rgba(118, 86, 197, 0.055), transparent 24rem),
        radial-gradient(circle at 0 100%, rgba(46, 158, 170, 0.05), transparent 22rem),
        rgba(255, 255, 255, 0.92);
    box-shadow: 0 18px 42px rgba(47, 91, 124, 0.09), inset 0 1px 0 #ffffff;
}

html[data-theme="light"] .cd-heatmap-report-content .heatmap-report-sidebar-card {
    background:
        radial-gradient(circle at 100% 0%, rgba(118, 86, 197, 0.065), transparent 14rem),
        linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(238, 247, 251, 0.94));
    box-shadow: 0 14px 30px rgba(47, 91, 124, 0.09), inset 0 1px 0 #ffffff;
}

html[data-theme="light"] .cd-heatmap-report-content .heatmap-report-visible-type-card,
html[data-theme="light"] .cd-heatmap-report-content .heatmap-report-summary-card,
html[data-theme="light"] .cd-heatmap-report-content .heatmap-report-menu-button {
    border-color: rgba(55, 102, 132, 0.12);
    background: rgba(255, 255, 255, 0.68);
}

html[data-theme="light"] .cd-heatmap-report-content .heatmap-report-visible-type-title,
html[data-theme="light"] .cd-heatmap-report-content .heatmap-report-summary-card strong,
html[data-theme="light"] .cd-heatmap-report-content .heatmap-report-summary-card span,
html[data-theme="light"] .cd-heatmap-report-content .heatmap-report-info-section-title,
html[data-theme="light"] .cd-heatmap-report-content .heatmap-elements-table,
html[data-theme="light"] .cd-heatmap-report-content .heatmap-elements-table th,
html[data-theme="light"] .cd-heatmap-report-content .heatmap-elements-table td {
    color: #24465d !important;
}

html[data-theme="light"] .cd-heatmap-report-content .heatmap-report-menu-button {
    color: #355a70;
}

html[data-theme="light"] .cd-heatmap-report-content .heatmap-report-menu-button:hover,
html[data-theme="light"] .cd-heatmap-report-content .heatmap-report-menu-button:focus {
    color: #17384d;
    border-color: rgba(81, 143, 183, 0.15);
    background: #eaf5fa;
}

html[data-theme="light"] .cd-heatmap-report-content .heatmap-screenshot-dropdown-main,
html[data-theme="light"] .cd-heatmap-report-content .heatmap-screenshot-dropdown-main span {
    color: #294b63;
}

html[data-theme="light"] .cd-heatmap-report-content .heatmap-elements-table-view {
    background: rgba(255, 255, 255, 0.88);
}

html[data-theme="light"] .cd-heatmap-report-content .heatmap-elements-table-wrap {
    border-color: rgba(55, 102, 132, 0.13);
}

html[data-theme="light"] .cd-heatmap-report-content .heatmap-elements-table-metric {
    color: #355a70;
    border-color: rgba(55, 102, 132, 0.13);
    background: rgba(33, 104, 145, 0.06);
}

html[data-theme="light"] .cd-heatmap-report-content .heatmap-elements-table-metric-remove {
    color: #52758a;
}

html[data-theme="light"] .cd-heatmap-report-content .heatmap-table-metric-option,
html[data-theme="light"] .cd-heatmap-report-content .heatmap-table-metric-option:hover {
    color: #355a70;
}

html[data-theme="light"] .cd-heatmap-report-content .heatmap-table-metric-option:hover {
    background: #eaf5fa;
}

html[data-theme="light"] .cd-heatmap-report-content .heatmap-elements-table thead th {
    background: linear-gradient(105deg, #f8fcfe, #e8f3f8 58%, #e8f7f4);
}

html[data-theme="light"] .cd-heatmap-report-content .heatmap-click-loading,
html[data-theme="light"] .cd-heatmap-report-content .heatmap-report-view-loading-overlay,
html[data-theme="light"] .cd-heatmap-report-content #heatmap-click-report-no-screenshot {
    color: #688295;
    background: #f4f9fb;
}

@media (max-width: 991px) {
    .cd-heatmap-navigation {
        align-items: stretch;
        flex-direction: column;
    }

    .cd-heatmap-date-range {
        width: 100%;
        min-width: 0;
    }

    .cd-heatmap-report-content .cd-heatmap-report-toolbar {
        align-items: stretch !important;
        flex-direction: column;
    }

    .cd-heatmap-report-content .cd-heatmap-report-toolbar #heatmap-right-buttons {
        width: 100%;
        min-width: 0;
        margin: 0 !important;
    }
}

@media (max-width: 640px) {
    .cd-heatmap-report-content {
        padding: 12px;
    }

    .cd-heatmap-report-content .heatmap-device-type-buttons,
    .cd-heatmap-report-content .heatmap-report-type-buttons {
        width: 100%;
        overflow-x: auto;
    }

    .cd-heatmap-report-content .heatmap-device-type-buttons .btn,
    .cd-heatmap-report-content .heatmap-report-type-buttons .btn {
        flex: 1 0 auto;
    }

    .cd-heatmap-report-content #heatmap-click-stage-top-bar {
        align-items: stretch !important;
        flex-direction: column;
        gap: 12px;
    }
}


/* Client dashboard heatmap isolated controls (no Bootstrap dependency) */
.cd-card.cd-heatmap-report-content {
    margin-top: 22px;
}

.cd-heatmap-report-content,
.cd-heatmap-report-content * {
    box-sizing: border-box;
}

.cd-heatmap-report-content button,
.cd-heatmap-report-content a,
.cd-heatmap-export-progress button,
.cd-heatmap-export-progress a {
    font: inherit;
}

.cd-heatmap-report-content button:focus,
.cd-heatmap-report-content button:focus-visible,
.cd-heatmap-report-content a:focus,
.cd-heatmap-report-content a:focus-visible {
    outline: none;
}

.cd-heatmap-report-content a:hover,
.cd-heatmap-report-content a:focus {
    text-decoration: none;
}

.cd-heatmap-report-content .d-none {
    display: none !important;
}

.cd-heatmap-report-content .d-flex {
    display: flex !important;
}

.cd-heatmap-report-content .align-items-center {
    align-items: center !important;
}

.cd-heatmap-report-content .align-items-start {
    align-items: center !important;
}

.cd-heatmap-report-content .justify-content-between {
    justify-content: space-between !important;
}

.cd-heatmap-report-content .justify-content-center {
    justify-content: center !important;
}

.cd-heatmap-report-content .row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -12px;
    margin-left: -12px;
}

.cd-heatmap-report-content .col-12,
.cd-heatmap-report-content .col-lg-9,
.cd-heatmap-report-content .col-lg-3 {
    position: relative;
    width: 100%;
    padding-right: 12px;
    padding-left: 12px;
}

.cd-heatmap-report-content .btn,
.cd-heatmap-report-content .dropdown-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 38px;
    padding: 0 13px;
    border: 1px solid rgba(109, 184, 213, 0.22);
    border-radius: 10px;
    color: #dcebf2;
    background: #0c1d2a;
    box-shadow: none;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    vertical-align: middle;
    cursor: pointer;
    user-select: none;
}

.cd-heatmap-report-content .btn-sm,
.cd-heatmap-report-content .btn-group-sm > .btn {
    min-height: 38px;
    padding-right: 12px;
    padding-left: 12px;
    font-size: 13px;
}

.cd-heatmap-report-content .btn:disabled,
.cd-heatmap-report-content .btn.disabled {
    cursor: not-allowed;
    opacity: 0.62;
}

.cd-heatmap-report-content .btn-primary,
.cd-heatmap-report-content .btn-success {
    border-color: #2dbcbb;
    color: #ffffff;
    background: linear-gradient(135deg, #277fa9, #2dbcbb);
}

.cd-heatmap-report-content .btn-outline-secondary {
    color: #a9c5d4;
    background: transparent;
}

.cd-heatmap-report-content .btn-group,
.cd-heatmap-report-content .input-group {
    position: relative;
    display: inline-flex;
    align-items: stretch;
}

.cd-heatmap-report-content .btn-group {
    vertical-align: middle;
}

.cd-heatmap-report-content .input-group {
    width: 100%;
}

.cd-heatmap-report-content .form-control {
    display: block;
    width: 100%;
    min-width: 0;
    min-height: 42px;
    padding: 0 13px;
    border: 1px solid rgba(109, 184, 213, 0.22);
    border-radius: 10px;
    color: #eaf6fb;
    background: #0c1d2a;
    font-family: inherit;
    font-size: 13px;
    font-weight: 650;
    line-height: 1.35;
}

.cd-heatmap-report-content textarea.form-control {
    min-height: 120px;
    padding-top: 11px;
    padding-bottom: 11px;
}

.cd-heatmap-report-content .form-control:focus {
    border-color: rgba(111, 193, 222, 0.55);
    outline: none;
    box-shadow: 0 0 0 3px rgba(39, 127, 169, 0.14);
}

.cd-heatmap-report-content .dropdown {
    position: relative;
}

.cd-heatmap-report-content .dropdown-menu {
    position: absolute;
    top: calc(100% + 7px);
    left: 0;
    z-index: 1200;
    display: none;
    min-width: 180px;
    margin: 0;
    padding: 6px;
    border: 1px solid rgba(109, 184, 213, 0.22);
    border-radius: 12px;
    color: #dcebf2;
    background: #0c1d2a;
}

.cd-heatmap-report-content .dropdown-menu-right {
    right: 0;
    left: auto;
}

.cd-heatmap-report-content .dropdown.show > .dropdown-menu,
.cd-heatmap-report-content .dropdown-menu.show {
    display: block;
}

.cd-heatmap-report-content .dropdown-item {
    width: 100%;
    min-height: 38px;
    justify-content: flex-start;
    margin: 0;
    border-color: transparent;
    background: transparent;
    text-align: left;
    white-space: normal;
}

.cd-heatmap-report-content .card {
    position: relative;
    min-width: 0;
}

.cd-heatmap-report-content .card-body {
    padding: 18px;
}

.cd-heatmap-report-content .table-responsive {
    width: 100%;
    overflow-x: auto;
}

.cd-heatmap-report-content .table {
    width: 100%;
    border-collapse: collapse;
}

.cd-heatmap-report-content .table th,
.cd-heatmap-report-content .table td {
    padding: 11px 10px;
    border-bottom: 1px solid rgba(106, 171, 202, 0.14);
    text-align: left;
    vertical-align: middle;
}

.cd-heatmap-report-content .alert {
    margin-bottom: 14px;
    padding: 12px 14px;
    border: 1px solid rgba(109, 184, 213, 0.2);
    border-radius: 10px;
    color: var(--cd-text);
    background: rgba(39, 127, 169, 0.12);
}

.cd-heatmap-report-content .alert-danger {
    border-color: rgba(255, 83, 119, 0.28);
    color: #ffd9e1;
    background: rgba(185, 28, 60, 0.16);
}

.cd-heatmap-report-content .alert-warning {
    border-color: rgba(240, 183, 70, 0.3);
    background: rgba(240, 183, 70, 0.13);
}

.cd-heatmap-report-content .alert-success {
    border-color: rgba(45, 188, 187, 0.3);
    background: rgba(45, 188, 187, 0.13);
}

.cd-heatmap-report-content .form-group {
    margin-bottom: 16px;
}

.cd-heatmap-report-content .form-text {
    display: block;
    margin-top: 6px;
}

.cd-heatmap-report-content .modal-footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
    padding-top: 14px;
}

.cd-heatmap-report-content .spinner-border,
.cd-heatmap-export-progress .spinner-border {
    width: 32px;
    height: 32px;
    display: inline-block;
    border: 3px solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    animation: cdHeatmapSpinner 0.72s linear infinite;
}

@keyframes cdHeatmapSpinner {
    to {
        transform: rotate(360deg);
    }
}

.cd-heatmap-report-content .sr-only,
.cd-heatmap-export-progress .sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.cd-heatmap-report-content .text-center {
    text-align: center !important;
}

.cd-heatmap-report-content .text-white {
    color: #ffffff !important;
}

.cd-heatmap-report-content .text-primary {
    color: #67ddff !important;
}

.cd-heatmap-report-content .fw-bold {
    font-weight: 800 !important;
}

.cd-heatmap-report-content .fs-7 {
    font-size: 13px !important;
}

.cd-heatmap-report-content .opacity-1 {
    opacity: 1 !important;
}

.cd-heatmap-report-content .flex-1 {
    flex: 1 1 auto !important;
}

.cd-heatmap-report-content .w-100 {
    width: 100% !important;
}

.cd-heatmap-report-content .w-auto {
    width: auto !important;
}

.cd-heatmap-report-content .h-auto {
    height: auto !important;
}

.cd-heatmap-report-content .m-0 {
    margin: 0 !important;
}

.cd-heatmap-report-content .ms-3 {
    margin-left: 16px !important;
}

.cd-heatmap-report-content .mt-3 {
    margin-top: 16px !important;
}

.cd-heatmap-report-content .mb-0 {
    margin-bottom: 0 !important;
}

.cd-heatmap-report-content .mb-2 {
    margin-bottom: 8px !important;
}

.cd-heatmap-report-content .mb-3 {
    margin-bottom: 16px !important;
}

.cd-heatmap-report-content .pt-1 {
    padding-top: 4px !important;
}

.cd-heatmap-report-content .pb-1 {
    padding-bottom: 4px !important;
}

.cd-heatmap-report-content .pt-3 {
    padding-top: 16px !important;
}

.cd-heatmap-report-content .pt-5 {
    padding-top: 48px !important;
}

.cd-heatmap-report-content .pb-5 {
    padding-bottom: 48px !important;
}

.cd-heatmap-report-content .ps-2 {
    padding-left: 8px !important;
}

.cd-heatmap-report-content .pe-2 {
    padding-right: 8px !important;
}

.cd-heatmap-report-content .ps-3 {
    padding-left: 16px !important;
}

.cd-heatmap-report-content .pe-3 {
    padding-right: 16px !important;
}

.cd-heatmap-report-content .gap-2 {
    gap: 8px !important;
}

.cd-heatmap-report-content #heatmap-click-stage-top-bar .btn,
.cd-heatmap-report-content .heatmap-report-view-mode-dropdown,
.cd-heatmap-report-content .heatmap-report-view-mode-button {
    height: 42px;
    min-height: 42px;
}

.cd-heatmap-report-content .heatmap-report-view-mode-dropdown {
    display: inline-flex;
    align-items: stretch;
}

.cd-heatmap-report-content .heatmap-report-view-mode-button {
    min-width: 150px;
}

.cd-heatmap-report-content #heatmap-right-buttons .input-group > .btn {
    display: inline-grid;
    place-items: center;
    padding: 0;
    line-height: 1;
}

.cd-heatmap-report-content #heatmap-right-buttons .input-group > .btn i {
    display: block;
    margin: 0;
    line-height: 1;
}

.cd-heatmap-report-content #heatmap-table-csv-download-group {
    margin-right: 10px;
}

.cd-heatmap-report-content .heatmap-table-csv-button {
    width: 44px;
    min-width: 44px;
    height: 44px;
    min-height: 44px;
    padding: 0 !important;
    border: 1px solid rgba(104, 184, 216, 0.22);
    border-radius: 12px !important;
    color: #aee8f4;
    background: linear-gradient(145deg, rgba(22, 59, 81, 0.94), rgba(10, 39, 55, 0.96));
    box-shadow: 0 10px 22px rgba(0, 7, 22, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.055);
}

.cd-heatmap-report-content .heatmap-table-csv-button:hover,
.cd-heatmap-report-content .heatmap-table-csv-button:focus {
    color: #ffffff;
    border-color: rgba(128, 211, 226, 0.42);
    background: linear-gradient(115deg, #7656c5, #3c88bc 62%, #2e9eaa);
}

.cd-heatmap-report-content .heatmap-click-stage,
.cd-heatmap-report-content .heatmap-scroll-wrap,
.cd-heatmap-report-content .heatmap-click-image-wrap,
.cd-heatmap-report-content .heatmap-click-image-wrap-snapshot {
    background-color: rgba(8, 27, 41, 0.86);
}

.cd-heatmap-report-content .heatmap-report-summary-card > .btn-group {
    width: 50%;
    flex: 0 0 50%;
}

.cd-heatmap-report-content .heatmap-report-summary-card > .btn-group > .btn:first-child {
    min-width: 0;
    flex: 1 1 auto;
    justify-content: flex-start;
}

.cd-heatmap-report-content .heatmap-report-summary-card > .btn-group > .btn:last-child {
    width: 34px;
    min-width: 34px;
    flex: 0 0 34px;
    padding: 0 !important;
}

.cd-heatmap-report-content #button-heatmap-report-sidebar-toggle {
    width: 36px;
    min-width: 36px;
    height: 36px;
    min-height: 36px;
    padding: 0 !important;
    border: 1px solid rgba(116, 183, 210, 0.22);
    border-radius: 9px !important;
    color: #86dfff;
    background: rgba(39, 127, 169, 0.12);
}

.cd-heatmap-report-content #button-heatmap-report-sidebar-toggle i {
    margin: 0;
    line-height: 1;
}

html[data-theme="light"] .cd-heatmap-report-content #button-heatmap-report-sidebar-toggle {
    border: 1px solid rgba(39, 170, 225, 0.32);
    border-radius: 10px !important;
    color: #176b94;
    background: linear-gradient(135deg, rgba(39, 170, 225, 0.13), rgba(45, 188, 187, 0.12));
    box-shadow: 0 8px 18px rgba(23, 56, 78, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

html[data-theme="light"] .cd-heatmap-report-content #button-heatmap-report-sidebar-toggle:hover,
html[data-theme="light"] .cd-heatmap-report-content #button-heatmap-report-sidebar-toggle:focus-visible {
    border-color: rgba(39, 170, 225, 0.58);
    color: #176b94;
    background: linear-gradient(135deg, rgba(39, 170, 225, 0.22), rgba(45, 188, 187, 0.2));
}

html[data-theme="light"] .cd-heatmap-report-content #heatmap-report-sidebar-column.heatmap-report-sidebar-collapsed #button-heatmap-report-sidebar-toggle {
    border-radius: 8px !important;
}

.cd-heatmap-report-content #heatmap-report-sidebar-column.heatmap-report-sidebar-collapsed .heatmap-report-sidebar-header {
    justify-content: center;
    margin-bottom: 5px;
}

.cd-heatmap-report-content #heatmap-report-sidebar-column.heatmap-report-sidebar-collapsed #button-heatmap-report-sidebar-toggle {
    width: 30px;
    min-width: 30px;
    height: 30px;
    min-height: 30px;
    border-radius: 8px !important;
}

.cd-heatmap-report-content .heatmap-device-session-counts,
.cd-heatmap-report-content .heatmap-zoom-controls {
    overflow: hidden;
    border: 1px solid rgba(116, 183, 210, 0.22);
    border-radius: 11px;
    background: rgba(8, 27, 41, 0.94);
    box-shadow: 0 12px 28px rgba(0, 7, 22, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.055);
}

.cd-heatmap-report-content .heatmap-device-session-count {
    min-height: 34px;
    padding: 7px 9px;
    border: 1px solid transparent;
    border-radius: 8px;
    color: #a9c5d4;
    background: transparent;
    box-shadow: none;
    font-family: inherit;
    cursor: pointer;
}

.cd-heatmap-report-content .heatmap-device-session-count:hover,
.cd-heatmap-report-content .heatmap-device-session-count:focus {
    color: #ffffff;
    border-color: rgba(116, 183, 210, 0.18);
    background: rgba(78, 145, 178, 0.13);
    outline: none;
}

.cd-heatmap-report-content .heatmap-device-session-count.active,
.cd-heatmap-report-content .heatmap-device-session-count.bg-secondary {
    color: #ffffff !important;
    border-color: rgba(128, 211, 226, 0.42) !important;
    background: linear-gradient(115deg, #7656c5, #3c88bc 62%, #2e9eaa) !important;
    box-shadow: 0 8px 18px rgba(45, 58, 133, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.cd-heatmap-report-content .heatmap-zoom-button {
    width: 38px;
    height: 38px;
    display: inline-grid;
    place-items: center;
    padding: 0;
    border: 0;
    border-bottom: 1px solid rgba(116, 183, 210, 0.16);
    color: #b9d3df;
    background: transparent;
    cursor: pointer;
}

.cd-heatmap-report-content .heatmap-zoom-button:last-child {
    border-bottom: 0;
}

.cd-heatmap-report-content .heatmap-zoom-button:hover,
.cd-heatmap-report-content .heatmap-zoom-button:focus {
    color: #ffffff;
    background: rgba(78, 145, 178, 0.16);
    outline: none;
}

.cd-heatmap-report-content .heatmap-zoom-button:disabled {
    color: rgba(169, 197, 212, 0.34);
    background: transparent;
}

.cd-heatmap-report-content .heatmap-report-stage-column.heatmap-report-view-loading-active #heatmap-report-view-loading.heatmap-report-view-loading-overlay {
    top: 69px;
    right: 12px;
    bottom: 0;
    left: 12px;
    width: auto;
    height: auto;
    min-height: 800px;
    max-height: none;
    border: 1px solid rgba(109, 184, 213, 0.15);
    border-radius: 14px;
}

.cd-heatmap-export-progress {
    padding: 24px;
    background:
        radial-gradient(circle at 18% 22%, rgba(103, 221, 255, 0.11), transparent 24rem),
        radial-gradient(circle at 82% 76%, rgba(118, 86, 197, 0.16), transparent 25rem),
        rgba(0, 7, 18, 0.82) !important;
    backdrop-filter: blur(10px);
}

.cd-heatmap-export-progress .main-report-check-card {
    position: relative;
    width: 620px;
    max-width: min(94vw, 620px);
    overflow: hidden;
    border: 1px solid rgba(111, 191, 221, 0.24);
    border-radius: 20px;
    color: var(--cd-text);
    background:
        radial-gradient(circle at 86% 10%, rgba(118, 86, 197, 0.18), transparent 13rem),
        radial-gradient(circle at 12% 92%, rgba(45, 188, 187, 0.12), transparent 15rem),
        linear-gradient(145deg, rgba(12, 36, 53, 0.98), rgba(5, 19, 32, 0.98));
    box-shadow: 0 28px 80px rgba(0, 5, 17, 0.48), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.cd-heatmap-export-progress .main-report-check-card::before,
.cd-heatmap-export-progress .main-report-check-card::after {
    content: "";
    position: absolute;
    pointer-events: none;
}

.cd-heatmap-export-progress .main-report-check-card::before {
    inset: 0;
    opacity: 0.7;
    background-image:
        radial-gradient(circle, rgba(255, 255, 255, 0.8) 0 1px, transparent 1.7px),
        radial-gradient(circle, rgba(103, 221, 255, 0.75) 0 1px, transparent 1.8px),
        radial-gradient(circle, rgba(180, 149, 255, 0.65) 0 1px, transparent 1.8px);
    background-position: 10% 18%, 83% 28%, 68% 78%;
    background-size: 67px 73px, 91px 83px, 113px 107px;
}

.cd-heatmap-export-progress .main-report-check-card::after {
    width: 190px;
    height: 190px;
    top: -112px;
    right: -70px;
    border: 1px solid rgba(103, 221, 255, 0.18);
    border-radius: 50%;
    box-shadow: 0 0 0 28px rgba(118, 86, 197, 0.045), 0 0 0 56px rgba(45, 188, 187, 0.025);
}

.cd-heatmap-export-progress .main-report-check-card .card-body {
    position: relative;
    z-index: 1;
    padding: 34px 30px 28px !important;
    text-align: center;
}

.cd-heatmap-export-progress #main-report-check-progress-title {
    margin-bottom: 8px;
}

.cd-heatmap-export-progress #main-report-check-progress-count {
    margin-bottom: 8px;
    font-size: 12px;
    font-weight: 800;
}

.cd-heatmap-export-progress .spinner-border {
    width: 42px;
    height: 42px;
    margin-bottom: 16px !important;
    border-width: 4px;
    color: #67ddff;
    filter: drop-shadow(0 0 14px rgba(103, 221, 255, 0.28));
}

.cd-heatmap-export-progress #main-report-check-progress-title {
    color: #f4fbff;
    font-family: "Sora", sans-serif;
    font-size: 19px;
}

.cd-heatmap-export-progress #main-report-check-progress-count {
    color: #9db8c7 !important;
}

.cd-heatmap-export-progress #main-report-check-progress-keywords {
    overflow-y: auto;
    color: #c9dce5;
}

.cd-heatmap-export-progress .main-report-check-progress-keyword {
    margin-bottom: 8px;
    padding: 10px 12px;
    border: 1px solid rgba(109, 184, 213, 0.16);
    border-radius: 11px;
    background: rgba(255, 255, 255, 0.035);
    font-size: 12px;
    text-align: left;
}

.cd-heatmap-export-progress .main-report-check-progress-keyword.is-done {
    opacity: 0.78;
}

.cd-heatmap-export-progress .main-report-check-progress-keyword.border-danger {
    border-color: rgba(255, 83, 119, 0.46);
}

.cd-heatmap-export-progress .main-report-check-progress-keyword-header {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 7px;
}

.cd-heatmap-export-progress .main-report-check-progress-page {
    min-width: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px 7px;
    border: 1px solid rgba(109, 184, 213, 0.18);
    border-radius: 7px;
    color: #a9c5d4;
    background: rgba(78, 145, 178, 0.1);
    font-size: 10px;
    font-weight: 850;
}

.cd-heatmap-export-progress .main-report-check-progress-page.badge-success {
    border-color: rgba(45, 188, 187, 0.34);
    color: #ffffff;
    background: #2dbcbb;
}

.cd-heatmap-export-progress .main-report-check-progress-page.badge-danger {
    border-color: rgba(255, 83, 119, 0.42);
    color: #ffffff;
    background: #b91c3c;
}

.cd-heatmap-export-progress .main-report-check-progress-keyword-text {
    min-width: 0;
    color: #e7f3f8;
    font-weight: 750;
}

.cd-heatmap-export-progress .main-report-check-progress-keyword-location {
    min-width: 0;
    color: #8eacbc;
    font-size: 11px;
}

.cd-heatmap-export-progress .main-report-check-progress-keyword .small {
    margin-bottom: 5px;
    color: #9db8c7 !important;
    font-size: 11px;
}

.cd-heatmap-export-progress .main-report-check-progress-mini {
    height: 7px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(116, 183, 210, 0.14);
}

.cd-heatmap-export-progress .main-report-check-progress-mini-bar {
    width: 0;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #7656c5, #3c88bc 58%, #2dbcbb);
    box-shadow: 0 0 12px rgba(103, 221, 255, 0.2);
    transition: width 250ms ease;
}

html[data-theme="light"] .cd-heatmap-report-content .cd-report-data-table {
    color: #355a70;
}

html[data-theme="light"] .cd-heatmap-report-content .btn,
html[data-theme="light"] .cd-heatmap-report-content .dropdown-item,
html[data-theme="light"] .cd-heatmap-report-content .form-control,
html[data-theme="light"] .cd-heatmap-report-content .dropdown-menu {
    border-color: rgba(55, 102, 132, 0.16);
    color: #294b63;
    background: #ffffff;
}

html[data-theme="light"] .cd-heatmap-report-content .btn-primary,
html[data-theme="light"] .cd-heatmap-report-content .btn-success {
    color: #ffffff;
    background: linear-gradient(135deg, #176b94, #2dbcbb);
}

html[data-theme="light"] .cd-heatmap-report-content .btn-outline-secondary {
    color: #58758a;
    background: transparent;
}

html[data-theme="light"] .cd-heatmap-report-content .heatmap-report-menu-button i,
html[data-theme="light"] .cd-heatmap-report-content .heatmap-report-menu-info-link,
html[data-theme="light"] .cd-heatmap-report-content .heatmap-report-summary-info,
html[data-theme="light"] .cd-heatmap-report-content #heatmap-right-buttons .input-group > .btn {
    color: #176b94;
}

html[data-theme="light"] .cd-heatmap-report-content .heatmap-click-stage,
html[data-theme="light"] .cd-heatmap-report-content .heatmap-scroll-wrap,
html[data-theme="light"] .cd-heatmap-report-content .heatmap-click-image-wrap,
html[data-theme="light"] .cd-heatmap-report-content .heatmap-click-image-wrap-snapshot {
    background-color: rgba(255, 255, 255, 0.88);
}

html[data-theme="light"] .cd-heatmap-report-content .heatmap-device-session-counts,
html[data-theme="light"] .cd-heatmap-report-content .heatmap-zoom-controls {
    border-color: rgba(55, 102, 132, 0.16);
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 12px 28px rgba(47, 91, 124, 0.14), inset 0 1px 0 #ffffff;
}

html[data-theme="light"] .cd-heatmap-report-content .heatmap-device-session-count,
html[data-theme="light"] .cd-heatmap-report-content .heatmap-zoom-button {
    color: #526f83;
}

html[data-theme="light"] .cd-heatmap-report-content .heatmap-device-session-count:hover,
html[data-theme="light"] .cd-heatmap-report-content .heatmap-device-session-count:focus,
html[data-theme="light"] .cd-heatmap-report-content .heatmap-zoom-button:hover,
html[data-theme="light"] .cd-heatmap-report-content .heatmap-zoom-button:focus {
    color: #17384e;
    background: #eaf5fa;
}

html[data-theme="light"] .cd-heatmap-report-content .heatmap-zoom-button {
    border-bottom-color: rgba(55, 102, 132, 0.12);
}

html[data-theme="light"] .cd-heatmap-report-content .heatmap-table-csv-button {
    color: #176b94;
    border-color: rgba(55, 102, 132, 0.16);
    background: linear-gradient(145deg, #ffffff, #eef6fa);
    box-shadow: 0 10px 22px rgba(47, 91, 124, 0.11), inset 0 1px 0 #ffffff;
}

html[data-theme="light"] .cd-heatmap-report-content .heatmap-table-csv-button:hover,
html[data-theme="light"] .cd-heatmap-report-content .heatmap-table-csv-button:focus {
    color: #ffffff;
    background: linear-gradient(115deg, #7656c5, #3c88bc 62%, #2e9eaa);
}

html[data-theme="light"] .cd-heatmap-export-progress {
    background:
        radial-gradient(circle at 18% 22%, rgba(23, 107, 148, 0.11), transparent 24rem),
        radial-gradient(circle at 82% 76%, rgba(118, 86, 197, 0.12), transparent 25rem),
        rgba(28, 54, 73, 0.56) !important;
}

html[data-theme="light"] .cd-heatmap-export-progress .main-report-check-card {
    color: #24465d;
    border-color: rgba(55, 102, 132, 0.16);
    background:
        radial-gradient(circle at 86% 10%, rgba(118, 86, 197, 0.08), transparent 13rem),
        radial-gradient(circle at 12% 92%, rgba(45, 188, 187, 0.07), transparent 15rem),
        linear-gradient(145deg, #ffffff, #edf6fa);
    box-shadow: 0 28px 70px rgba(47, 91, 124, 0.22), inset 0 1px 0 #ffffff;
}

html[data-theme="light"] .cd-heatmap-export-progress #main-report-check-progress-title {
    color: #17384e;
}

html[data-theme="light"] .cd-heatmap-export-progress #main-report-check-progress-count {
    color: #688295 !important;
}

html[data-theme="light"] .cd-heatmap-export-progress #main-report-check-progress-keywords {
    color: #355a70;
}

html[data-theme="light"] .cd-heatmap-export-progress .main-report-check-progress-keyword {
    border-color: rgba(55, 102, 132, 0.13);
    background: rgba(255, 255, 255, 0.72);
}

html[data-theme="light"] .cd-heatmap-export-progress .main-report-check-progress-page {
    border-color: rgba(55, 102, 132, 0.13);
    color: #52758a;
    background: rgba(23, 107, 148, 0.07);
}

html[data-theme="light"] .cd-heatmap-export-progress .main-report-check-progress-keyword-text {
    color: #24465d;
}

html[data-theme="light"] .cd-heatmap-export-progress .main-report-check-progress-keyword-location,
html[data-theme="light"] .cd-heatmap-export-progress .main-report-check-progress-keyword .small {
    color: #688295 !important;
}

html[data-theme="light"] .cd-heatmap-export-progress .main-report-check-progress-mini {
    background: rgba(55, 102, 132, 0.11);
}

@media (min-width: 992px) {
    .cd-heatmap-report-content .col-lg-9 {
        flex: 0 0 75%;
        max-width: 75%;
    }

    .cd-heatmap-report-content .col-lg-3 {
        flex: 0 0 25%;
        max-width: 25%;
    }

    .cd-heatmap-report-content .mt-lg-0 {
        margin-top: 0 !important;
    }
}

@media (min-width: 992px) and (max-width: 1300px) {
    .cd-heatmap-report-content #heatmap-report-sidebar-column .heatmap-report-sidebar-card {
        padding: 8px;
    }

    .cd-heatmap-report-content #heatmap-report-sidebar-column .heatmap-report-visible-type-card {
        padding: 9px;
    }

    .cd-heatmap-report-content #heatmap-report-sidebar-column .heatmap-report-visible-type-title {
        font-size: 13px;
        line-height: 1.25;
    }

    .cd-heatmap-report-content #heatmap-report-sidebar-column .heatmap-report-visible-type-subtitle,
    .cd-heatmap-report-content #heatmap-report-sidebar-column .heatmap-report-menu-info-link,
    .cd-heatmap-report-content #heatmap-report-sidebar-column .heatmap-report-summary-card-label {
        font-size: 10px;
        line-height: 1.25;
    }

    .cd-heatmap-report-content #heatmap-report-sidebar-column .heatmap-report-menu-button {
        min-height: 38px;
        gap: 7px;
        padding: 8px;
        font-size: 11px;
    }

    .cd-heatmap-report-content #heatmap-report-sidebar-column .heatmap-report-menu-button i {
        flex-basis: 16px;
        width: 16px;
        font-size: 12px;
    }

    .cd-heatmap-report-content #heatmap-report-sidebar-column .heatmap-report-summary-card {
        gap: 6px;
        padding: 6px 7px;
    }

    .cd-heatmap-report-content #heatmap-report-sidebar-column .heatmap-report-summary-card .btn {
        min-height: 30px;
        padding-right: 5px;
        padding-left: 5px;
        font-size: 11px !important;
    }
}

@media (max-width: 991px) {
    .cd-heatmap-report-content .col-12,
    .cd-heatmap-report-content .col-lg-9,
    .cd-heatmap-report-content .col-lg-3 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

@media (max-width: 767px) {
    .cd-heatmap-report-content .heatmap-report-view-left-controls {
        width: 100%;
        align-items: stretch !important;
        flex-direction: column;
    }

    .cd-heatmap-report-content .heatmap-report-view-mode-dropdown,
    .cd-heatmap-report-content .heatmap-report-view-mode-button,
    .cd-heatmap-report-content .heatmap-report-type-buttons {
        width: 100%;
    }

    .cd-heatmap-report-content .heatmap-report-type-buttons {
        display: flex;
        flex-wrap: wrap;
    }

    .cd-heatmap-report-content .heatmap-report-type-buttons .btn {
        min-width: calc(50% - 3px);
        flex: 1 1 calc(50% - 3px);
    }

    .cd-heatmap-report-content .heatmap-report-view-mode-menu {
        width: 100%;
    }

    .cd-heatmap-report-content #heatmap-table-csv-download-group {
        margin-right: 0;
    }

    .cd-heatmap-export-progress {
        padding: 14px;
    }

    .cd-heatmap-export-progress .main-report-check-card .card-body {
        padding: 28px 20px 22px !important;
    }
}


/* Client dashboard heatmap refinements */
.cd-heatmap-report-content .heatmap-report-view-left-controls {
    justify-content: center;
}

.cd-heatmap-report-content #heatmap-report-sidebar-menu {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.cd-heatmap-report-content #heatmap-report-sidebar-menu .heatmap-report-visible-type-card {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 14px;
    border-color: rgba(111, 191, 221, 0.2);
    background:
        radial-gradient(circle at 85% 18%, rgba(146, 114, 238, 0.18), transparent 8rem),
        radial-gradient(circle at 8% 92%, rgba(45, 188, 187, 0.12), transparent 9rem),
        linear-gradient(145deg, rgba(18, 48, 69, 0.96), rgba(8, 27, 42, 0.94));
    box-shadow: 0 12px 26px rgba(0, 7, 22, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.055);
}

.cd-heatmap-report-content #heatmap-report-sidebar-menu .heatmap-report-visible-type-card::before,
.cd-heatmap-report-content #heatmap-report-sidebar-menu .heatmap-report-visible-type-card::after {
    content: "";
    position: absolute;
    z-index: -1;
    pointer-events: none;
}

.cd-heatmap-report-content #heatmap-report-sidebar-menu .heatmap-report-visible-type-card::before {
    width: 92px;
    height: 42px;
    top: -12px;
    right: -18px;
    border: 1px solid rgba(103, 221, 255, 0.18);
    border-radius: 50%;
    box-shadow:
        0 0 0 13px rgba(118, 86, 197, 0.045),
        -60px 35px 0 -20px rgba(103, 221, 255, 0.7),
        -22px 61px 0 -21px rgba(255, 255, 255, 0.85),
        22px 44px 0 -20px rgba(45, 188, 187, 0.72);
    transform: rotate(-18deg);
}

.cd-heatmap-report-content #heatmap-report-sidebar-menu .heatmap-report-visible-type-card::after {
    width: 14px;
    height: 14px;
    top: 17px;
    right: 24px;
    border-radius: 50%;
    background: linear-gradient(135deg, #9272ee, #55d2e8);
    box-shadow: 0 0 18px rgba(103, 221, 255, 0.42);
}

.cd-heatmap-report-content #heatmap-report-sidebar-menu .heatmap-report-visible-type-title,
.cd-heatmap-report-content #heatmap-report-sidebar-menu .heatmap-report-visible-type-subtitle {
    position: relative;
    z-index: 1;
}

.cd-heatmap-report-content #heatmap-report-sidebar-menu .heatmap-report-menu-item-wrap {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 7px;
    padding: 5px;
    border: 1px solid rgba(109, 184, 213, 0.13);
    border-radius: 13px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.045), rgba(78, 145, 178, 0.035));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
    transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.cd-heatmap-report-content #heatmap-report-sidebar-menu .heatmap-report-menu-item-wrap:hover {
    border-color: rgba(116, 183, 210, 0.25);
    background: linear-gradient(145deg, rgba(78, 145, 178, 0.12), rgba(118, 86, 197, 0.06));
    transform: translateX(2px);
}

.cd-heatmap-report-content #heatmap-report-sidebar-menu .heatmap-report-menu-button {
    width: 100%;
    min-width: 0;
    min-height: 42px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 9px;
    padding: 6px 8px;
    border: 0;
    background: transparent;
    transform: none;
}

.cd-heatmap-report-content #heatmap-report-sidebar-menu .heatmap-report-menu-button:hover,
.cd-heatmap-report-content #heatmap-report-sidebar-menu .heatmap-report-menu-button:focus {
    border: 0;
    background: transparent;
    transform: none;
}

.cd-heatmap-report-content #heatmap-report-sidebar-menu .heatmap-report-menu-button.heatmap-report-menu-button-active {
    color: #ffffff !important;
    background: linear-gradient(115deg, rgba(118, 86, 197, 0.92), rgba(60, 136, 188, 0.9) 62%, rgba(46, 158, 170, 0.88)) !important;
    box-shadow: 0 8px 18px rgba(45, 58, 133, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.cd-heatmap-report-content #heatmap-report-sidebar-menu .heatmap-report-menu-button.heatmap-report-menu-button-active:hover,
.cd-heatmap-report-content #heatmap-report-sidebar-menu .heatmap-report-menu-button.heatmap-report-menu-button-active:focus {
    color: #ffffff;
    background: linear-gradient(115deg, #8363d1, #438fc5 62%, #32acb8) !important;
}

.cd-heatmap-report-content #heatmap-report-sidebar-menu .heatmap-report-menu-button > i {
    width: 34px;
    height: 34px;
    display: inline-flex;
    flex: 0 0 34px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(103, 221, 255, 0.16);
    border-radius: 10px;
    color: #86dfff;
    background: linear-gradient(145deg, rgba(39, 127, 169, 0.18), rgba(45, 188, 187, 0.08));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.cd-heatmap-report-content #heatmap-report-sidebar-menu .heatmap-report-menu-button.heatmap-report-menu-button-active > i {
    color: #ffffff !important;
    border-color: rgba(255, 255, 255, 0.24);
    background: rgba(255, 255, 255, 0.15);
}


.cd-heatmap-report-content #heatmap-report-sidebar-menu .heatmap-report-menu-info-link {
    min-height: 29px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 5px 8px;
    border: 1px solid rgba(103, 221, 255, 0.13);
    border-radius: 8px;
    color: #86dfff;
    background: rgba(39, 127, 169, 0.09);
    font-size: 10px;
    font-weight: 800;
    white-space: nowrap;
}

.heatmap-report-visible-type-card .heatmap-report-menu-info-link{
    margin-top:12px;
    margin-left:0px;
}

.heatmap-report-sidebar-collapsed .heatmap-report-menu-info-link {
    display: none!Important;
}

.heatmap-report-sidebar-collapsed .heatmap-report-menu-button,
.heatmap-report-sidebar-collapsed .heatmap-report-menu-item-wrap {
    padding:0!Important;
    border:none!Important;
}

.cd-heatmap-report-content #heatmap-report-sidebar-menu .heatmap-report-menu-info-link:hover,
.cd-heatmap-report-content #heatmap-report-sidebar-menu .heatmap-report-menu-info-link:focus {
    color: #ffffff;
    border-color: rgba(103, 221, 255, 0.28);
    background: rgba(39, 127, 169, 0.2);
    outline: none;
}

.cd-heatmap-report-content #heatmap-report-sidebar-menu > .heatmap-report-menu-button-primary {
    min-height: 44px;
    justify-content: center;
    margin-top: 2px;
    border: 1px solid rgba(128, 211, 226, 0.42);
    border-radius: 12px;
    color: #ffffff;
    background: linear-gradient(115deg, #7656c5, #3c88bc 62%, #2e9eaa);
    box-shadow: 0 10px 22px rgba(45, 58, 133, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.cd-heatmap-report-content #heatmap-report-sidebar-menu > .heatmap-report-menu-button-primary:hover,
.cd-heatmap-report-content #heatmap-report-sidebar-menu > .heatmap-report-menu-button-primary:focus {
    border-color: rgba(128, 211, 226, 0.58);
    background: linear-gradient(115deg, #8363d1, #438fc5 62%, #32acb8);
    transform: translateY(-1px);
}

.cd-heatmap-report-content .heatmap-report-summary-row .btn-group {
    width: 50%;
}

.cd-heatmap-report-content [data-tooltip] {
    position: relative;
}

.cd-heatmap-report-content [data-tooltip]::before,
.cd-heatmap-report-content [data-tooltip]::after {
    position: absolute;
    z-index: 120;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity 150ms ease, transform 150ms ease, visibility 150ms ease;
}

.cd-heatmap-report-content [data-tooltip]::before {
    content: attr(data-tooltip);
    width: max-content;
    max-width: min(240px, 70vw);
    bottom: calc(100% + 9px);
    left: 50%;
    padding: 8px 10px;
    border: 1px solid rgba(111, 191, 221, 0.2);
    border-radius: 9px;
    color: #eaf6fb;
    background: rgba(5, 20, 34, 0.98);
    box-shadow: 0 12px 28px rgba(0, 7, 22, 0.34);
    font-size: 11px;
    font-weight: 650;
    line-height: 1.4;
    text-align: center;
    white-space: normal;
    transform: translate(-50%, 5px);
}

.cd-heatmap-report-content [data-tooltip]::after {
    content: "";
    bottom: calc(100% + 4px);
    left: 50%;
    border: 5px solid transparent;
    border-top-color: rgba(5, 20, 34, 0.98);
    transform: translate(-50%, 5px);
}

.cd-heatmap-report-content [data-tooltip]:hover::before,
.cd-heatmap-report-content [data-tooltip]:hover::after,
.cd-heatmap-report-content [data-tooltip]:focus::before,
.cd-heatmap-report-content [data-tooltip]:focus::after,
.cd-heatmap-report-content [data-tooltip]:focus-within::before,
.cd-heatmap-report-content [data-tooltip]:focus-within::after {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
}

.cd-heatmap-report-content #input-report-heatmap-page {
    color-scheme: dark;
}

.cd-heatmap-report-content #input-report-heatmap-page option {
    color: #eaf6fb;
    background: #0c1d2a;
}

.cd-heatmap-date-calendar.flatpickr-calendar {
    border-color: rgba(111, 191, 221, 0.22);
    color: #dcebf2;
    background: #0b2132;
    box-shadow: 0 22px 52px rgba(0, 7, 22, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.055);
}

.cd-heatmap-date-calendar .flatpickr-months,
.cd-heatmap-date-calendar .flatpickr-weekdays,
.cd-heatmap-date-calendar .flatpickr-days,
.cd-heatmap-date-calendar .dayContainer {
    background: transparent;
}

.cd-heatmap-date-calendar .flatpickr-month,
.cd-heatmap-date-calendar .flatpickr-current-month,
.cd-heatmap-date-calendar .flatpickr-current-month input.cur-year,
.cd-heatmap-date-calendar .flatpickr-current-month .flatpickr-monthDropdown-months,
.cd-heatmap-date-calendar span.flatpickr-weekday {
    color: #dcebf2;
}

.cd-heatmap-date-calendar .flatpickr-current-month .flatpickr-monthDropdown-months,
.cd-heatmap-date-calendar .flatpickr-current-month .flatpickr-monthDropdown-months option {
    background: #0b2132;
}

.cd-heatmap-date-calendar .flatpickr-prev-month svg,
.cd-heatmap-date-calendar .flatpickr-next-month svg {
    fill: #9fc6d8;
}

.cd-heatmap-date-calendar .flatpickr-day {
    color: #c7dce6;
    border-color: transparent;
}

.cd-heatmap-date-calendar .flatpickr-day.prevMonthDay,
.cd-heatmap-date-calendar .flatpickr-day.nextMonthDay {
    color: #58778a;
}

.cd-heatmap-date-calendar .flatpickr-day:hover,
.cd-heatmap-date-calendar .flatpickr-day:focus {
    color: #ffffff;
    border-color: rgba(103, 221, 255, 0.18);
    background: rgba(39, 127, 169, 0.2);
}

.cd-heatmap-date-calendar .flatpickr-day.today {
    border-color: #55d2e8;
}

.cd-heatmap-date-calendar .flatpickr-day.inRange {
    color: #ffffff;
    border-color: rgba(60, 136, 188, 0.28);
    background: rgba(60, 136, 188, 0.24);
    box-shadow: none;
}

.cd-heatmap-date-calendar .flatpickr-day.selected,
.cd-heatmap-date-calendar .flatpickr-day.startRange,
.cd-heatmap-date-calendar .flatpickr-day.endRange,
.cd-heatmap-date-calendar .flatpickr-day.selected:hover,
.cd-heatmap-date-calendar .flatpickr-day.startRange:hover,
.cd-heatmap-date-calendar .flatpickr-day.endRange:hover {
    color: #ffffff;
    border-color: #3c88bc;
    background: linear-gradient(135deg, #7656c5, #3c88bc 62%, #2e9eaa);
}

html[data-theme="light"] .cd-heatmap-report-content #input-report-heatmap-page {
    color-scheme: light;
}

html[data-theme="light"] .cd-heatmap-report-content #input-report-heatmap-page option {
    color: #294b63;
    background: #ffffff;
}

html[data-theme="light"] .cd-heatmap-report-content #heatmap-report-sidebar-menu .heatmap-report-visible-type-card {
    border-color: rgba(55, 102, 132, 0.16);
    background:
        radial-gradient(circle at 85% 18%, rgba(118, 86, 197, 0.1), transparent 8rem),
        radial-gradient(circle at 8% 92%, rgba(45, 188, 187, 0.08), transparent 9rem),
        linear-gradient(145deg, #ffffff, #eef6fa);
    box-shadow: 0 12px 26px rgba(47, 91, 124, 0.11), inset 0 1px 0 #ffffff;
}

html[data-theme="light"] .cd-heatmap-report-content #heatmap-report-sidebar-menu .heatmap-report-menu-item-wrap {
    border-color: rgba(55, 102, 132, 0.13);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(234, 245, 250, 0.82));
    box-shadow: inset 0 1px 0 #ffffff;
}

html[data-theme="light"] .cd-heatmap-report-content #heatmap-report-sidebar-menu .heatmap-report-menu-button > i,
html[data-theme="light"] .cd-heatmap-report-content #heatmap-report-sidebar-menu .heatmap-report-menu-info-link {
    color: #176b94;
    border-color: rgba(23, 107, 148, 0.15);
    background: rgba(23, 107, 148, 0.07);
}


html[data-theme="light"] .heatmap-report-menu-button.heatmap-report-menu-button-primary > i{
    color: #fff!Important;
}

html[data-theme="light"] .cd-heatmap-report-content [data-tooltip]::before {
    color: #24465d;
    border-color: rgba(55, 102, 132, 0.16);
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 12px 28px rgba(47, 91, 124, 0.2);
}

html[data-theme="light"] .cd-heatmap-report-content [data-tooltip]::after {
    border-top-color: rgba(255, 255, 255, 0.98);
}

html[data-theme="light"] .cd-heatmap-date-calendar.flatpickr-calendar {
    border-color: rgba(55, 102, 132, 0.16);
    color: #294b63;
    background: #ffffff;
    box-shadow: 0 22px 52px rgba(47, 91, 124, 0.2), inset 0 1px 0 #ffffff;
}

html[data-theme="light"] .cd-heatmap-date-calendar .flatpickr-month,
html[data-theme="light"] .cd-heatmap-date-calendar .flatpickr-current-month,
html[data-theme="light"] .cd-heatmap-date-calendar .flatpickr-current-month input.cur-year,
html[data-theme="light"] .cd-heatmap-date-calendar .flatpickr-current-month .flatpickr-monthDropdown-months,
html[data-theme="light"] .cd-heatmap-date-calendar span.flatpickr-weekday {
    color: #294b63;
}

html[data-theme="light"] .cd-heatmap-date-calendar .flatpickr-current-month .flatpickr-monthDropdown-months,
html[data-theme="light"] .cd-heatmap-date-calendar .flatpickr-current-month .flatpickr-monthDropdown-months option {
    background: #ffffff;
}

html[data-theme="light"] .cd-heatmap-date-calendar .flatpickr-prev-month svg,
html[data-theme="light"] .cd-heatmap-date-calendar .flatpickr-next-month svg {
    fill: #52758a;
}

html[data-theme="light"] .cd-heatmap-date-calendar .flatpickr-day {
    color: #355a70;
}

html[data-theme="light"] .cd-heatmap-date-calendar .flatpickr-day.selected{
    color: #fff;
}

html[data-theme="light"] .cd-heatmap-date-calendar .flatpickr-day.prevMonthDay,
html[data-theme="light"] .cd-heatmap-date-calendar .flatpickr-day.nextMonthDay {
    color: #9aafbc;
}

html[data-theme="light"] .cd-heatmap-date-calendar .flatpickr-day:hover,
html[data-theme="light"] .cd-heatmap-date-calendar .flatpickr-day:focus {
    color: #17384e;
    border-color: rgba(23, 107, 148, 0.14);
    background: #eaf5fa;
}

@media (min-width: 992px) {
    .cd-heatmap-report-content #heatmap-click-report-main-row.heatmap-report-menu-collapsed > .heatmap-report-stage-column {
        flex: 0 0 calc(100% - 74px);
        max-width: calc(100% - 74px);
    }

    .cd-heatmap-report-content #heatmap-click-report-main-row.heatmap-report-menu-collapsed > #heatmap-report-sidebar-column {
        flex: 0 0 74px;
        max-width: 74px;
    }

    .cd-heatmap-report-content #heatmap-report-sidebar-column.heatmap-report-sidebar-collapsed #heatmap-report-sidebar-menu {
        gap: 5px;
    }

    .cd-heatmap-report-content #heatmap-report-sidebar-column.heatmap-report-sidebar-collapsed .heatmap-report-menu-item-wrap {
        display: block;
        padding: 2px;
        border-color: transparent;
        background: transparent;
        box-shadow: none;
        transform: none;
    }

    .cd-heatmap-report-content #heatmap-report-sidebar-column.heatmap-report-sidebar-collapsed .heatmap-report-menu-button > i {
        width: 32px;
        height: 32px;
        flex-basis: 32px;
    }
}

@media (min-width: 992px) and (max-width: 1300px) {
    .cd-heatmap-report-content #heatmap-click-stage-top-bar {
        align-items: stretch !important;
        flex-direction: column;
        gap: 12px;
    }

    .cd-heatmap-report-content #heatmap-click-stage-top-bar .heatmap-report-view-left-controls {
        width: 100%;
        flex-wrap: wrap;
        justify-content: center;
    }

    .cd-heatmap-report-content #heatmap-click-stage-top-bar .heatmap-screenshot-nav-group {
        align-self: center;
        margin: 0 auto;
    }
}

@media (max-width: 767px) {
    .cd-heatmap-report-content .heatmap-screenshot-nav-group {
        align-self: center;
        justify-content: center;
        margin-right: auto;
        margin-left: auto;
    }
}

/* ==========================================================================
   Notifications
   ========================================================================== */
.cd-notification-bell {
    position: relative;
    width: 42px;
    min-width: 42px;
    padding: 0;
    color: var(--cd-text);
}

.cd-notification-bell > i {
    color: inherit;
    font-size: 17px;
}

.cd-notification-badge {
    position: absolute;
    top: -6px;
    right: -7px;
    min-width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 5px;
    border: 2px solid var(--cd-bg);
    border-radius: 999px;
    color: #2b0710;
    background: #ff9aaa;
    box-shadow: 0 5px 15px rgba(255, 63, 101, 0.28);
    font-size: 10px;
    font-weight: 850;
    line-height: 1;
}

.cd-notifications-card {
    overflow: hidden;
    padding: 0;
}

.cd-notifications-card [hidden] {
    display: none !important;
}

.cd-notifications-list {
    display: flex;
    flex-direction: column;
}

.cd-notification-row {
    position: relative;
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 16px;
    padding: 22px 24px;
    border-bottom: 1px solid var(--cd-border);
    background: rgba(255, 255, 255, 0.012);
    transition: background 160ms ease, border-color 160ms ease;
}

.cd-notification-row:last-child {
    border-bottom: 0;
}

.cd-notification-row:hover {
    background: rgba(103, 221, 255, 0.04);
}

.cd-notification-row.is-unread {
    border-left: 3px solid var(--cd-accent);
    background: linear-gradient(100deg, rgba(103, 221, 255, 0.095), rgba(45, 188, 187, 0.035) 55%, transparent);
}

.cd-notification-row-content {
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.cd-notification-row-copy {
    min-width: 0;
}

.cd-notification-row-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 9px;
    margin-bottom: 7px;
    color: var(--cd-muted);
    font-size: 12px;
    font-weight: 650;
}

.cd-notification-row-content p {
    margin: 0;
    color: var(--cd-text);
    font-size: 15px;
    line-height: 1.65;
    overflow-wrap: anywhere;
}

.cd-notification-new-badge {
    display: inline-flex;
    align-items: center;
    min-height: 21px;
    padding: 2px 8px;
    border: 1px solid rgba(103, 221, 255, 0.25);
    border-radius: 999px;
    color: #bdeffc;
    background: rgba(46, 158, 189, 0.18);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.cd-notification-period {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: 11px;
    color: var(--cd-muted);
    font-size: 12px;
    font-weight: 650;
}

.cd-notification-action-button {
    width: max-content;
    min-height: 38px;
    flex: 0 0 auto;
    margin-top: 0;
    padding: 0 14px;
    border-radius: 11px;
    font-size: 13px;
}

.cd-notifications-empty,
.cd-notifications-loading,
.cd-notifications-end {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 88px;
    padding: 22px;
    color: var(--cd-muted);
    text-align: center;
}

.cd-notifications-empty {
    min-height: 240px;
    flex-direction: column;
}

.cd-notifications-empty > span {
    width: 58px;
    height: 58px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--cd-border);
    border-radius: 18px;
    color: var(--cd-accent);
    background: rgba(103, 221, 255, 0.06);
    font-size: 23px;
}

.cd-notifications-empty p {
    margin: 0;
}

.cd-notifications-loading,
.cd-notifications-end {
    border-top: 1px solid var(--cd-border);
    font-size: 13px;
}

.cd-notifications-sentinel {
    width: 100%;
    height: 1px;
}

html[data-theme="light"] .cd-notification-bell,
html[data-theme="light"] .cd-notification-bell:hover,
html[data-theme="light"] .cd-notification-bell.has-unread {
    color: #17384e;
}

html[data-theme="light"] .cd-notification-badge {
    border-color: #f4f9fb;
    color: #ffffff;
    background: #b91c3c;
    box-shadow: 0 5px 14px rgba(185, 28, 60, 0.26);
}

html[data-theme="light"] .cd-notification-row {
    background: rgba(255, 255, 255, 0.55);
}

html[data-theme="light"] .cd-notification-row:hover {
    background: #f3fafc;
}

html[data-theme="light"] .cd-notification-row.is-unread {
    background: linear-gradient(100deg, rgba(39, 170, 225, 0.11), rgba(45, 188, 187, 0.045) 58%, #ffffff);
}

html[data-theme="light"] .cd-notification-row-content p {
    color: #183747;
}

html[data-theme="light"] .cd-notification-new-badge {
    color: #12637b;
    border-color: rgba(39, 170, 225, 0.22);
    background: rgba(39, 170, 225, 0.09);
}

html[data-theme="light"] .cd-notifications-empty > span {
    color: #147997;
    background: #eef9fb;
}

.cd-topbar-actions .cd-account-button.is-personal-data-required,
html[data-theme="light"] .cd-topbar-actions .cd-account-button.is-personal-data-required {
    color: #ffffff;
    border-color: #b91c3c;
    background: #b91c3c;
    box-shadow: 0 10px 26px rgba(185, 28, 60, 0.28);
}

.cd-topbar-actions .cd-account-button.is-personal-data-required > i,
.cd-topbar-actions .cd-account-button.is-personal-data-required > span,
html[data-theme="light"] .cd-topbar-actions .cd-account-button.is-personal-data-required > i,
html[data-theme="light"] .cd-topbar-actions .cd-account-button.is-personal-data-required > span {
    color: #ffffff;
}

.cd-topbar-actions .cd-account-button.is-personal-data-required:hover,
html[data-theme="light"] .cd-topbar-actions .cd-account-button.is-personal-data-required:hover {
    color: #ffffff;
    border-color: #9f1239;
    background: #9f1239;
}

@media (max-width: 640px) {
    .cd-notification-row {
        grid-template-columns: 42px minmax(0, 1fr);
        gap: 12px;
        padding: 18px 15px;
    }

    .cd-notification-row-content {
        align-items: stretch;
        flex-direction: column;
        gap: 14px;
    }

    .cd-notification-action-button {
        width: 100%;
    }
}


.cd-offer-reject-dialog {
    max-width: 500px;
}

.cd-dashboard-modal-icon.is-danger {
    color: #fecaca;
    background: rgba(239, 68, 68, 0.16);
    border-color: rgba(248, 113, 113, 0.34);
}

.cd-offer-reject-modal .cd-dashboard-modal-footer {
    justify-content: space-between;
}

html[data-theme="light"] .cd-dashboard-modal-icon.is-danger {
    color: #991b1b;
    background: rgba(239, 68, 68, 0.14);
    border-color: rgba(185, 28, 28, 0.34);
    box-shadow: 0 8px 22px rgba(185, 28, 28, 0.12);
}

.cd-offer-reject-confirm-text {
    margin: 0;
    color: var(--cd-text, #e5eef7);
    font-size: 16px;
    line-height: 1.65;
}

.cd-dashboard-modal-button.is-danger {
    border-color: rgba(248, 113, 113, 0.42);
    color: #fff;
    background: linear-gradient(135deg, #dc2626, #ef4444);
    box-shadow: 0 12px 26px rgba(220, 38, 38, 0.24);
}

.cd-dashboard-modal-button.is-danger:hover,
.cd-dashboard-modal-button.is-danger:focus-visible {
    background: linear-gradient(135deg, #b91c1c, #dc2626);
    box-shadow: 0 15px 32px rgba(220, 38, 38, 0.34);
}

.cd-offer-decision-button.is-approve.is-celebrating {
    animation: cd-offer-approve-button-pulse 0.7s ease-in-out infinite alternate;
}

.cd-offer-approval-celebration {
    position: fixed;
    z-index: 10050;
    inset: 0;
    display: grid;
    place-items: center;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 50% 45%, rgba(45, 188, 187, 0.2), transparent 28%),
        radial-gradient(circle at 25% 20%, rgba(39, 170, 225, 0.18), transparent 34%),
        rgba(3, 12, 28, 0.88);
    backdrop-filter: blur(12px);
    transition: opacity 0.28s ease;
}

.cd-offer-approval-celebration.is-active {
    opacity: 1;
}

.cd-offer-approval-stars,
.cd-offer-approval-stars::before,
.cd-offer-approval-stars::after {
    position: absolute;
    inset: -20%;
    content: "";
    opacity: 0;
    background-image:
        radial-gradient(circle, rgba(255,255,255,.95) 0 1px, transparent 1.8px),
        radial-gradient(circle, rgba(45,188,187,.9) 0 1.5px, transparent 2.2px),
        radial-gradient(circle, rgba(39,170,225,.9) 0 1px, transparent 2px);
    background-size: 73px 73px, 109px 109px, 137px 137px;
    background-position: 0 0, 31px 47px, 71px 19px;
}

.cd-offer-approval-stars::before {
    transform: rotate(37deg) scale(.84);
}

.cd-offer-approval-stars::after {
    transform: rotate(-24deg) scale(1.1);
}

.cd-offer-approval-celebration.is-active .cd-offer-approval-stars {
    animation: cd-offer-stars-reveal .45s ease-out forwards, cd-offer-stars-drift 7s linear infinite .45s;
}

.cd-offer-approval-celebration.is-active .cd-offer-approval-stars::before {
    animation: cd-offer-stars-layer-one .65s ease-out .08s forwards, cd-offer-stars-drift-layer-one 8.5s linear infinite .73s;
}

.cd-offer-approval-celebration.is-active .cd-offer-approval-stars::after {
    animation: cd-offer-stars-layer-two .75s ease-out .16s forwards, cd-offer-stars-drift-layer-two 10s linear infinite .91s;
}

.cd-offer-approval-orbit {
    position: absolute;
    width: min(72vw, 620px);
    aspect-ratio: 1;
    border: 1px solid rgba(45, 188, 187, 0.38);
    border-radius: 50%;
    opacity: 0;
    transform: scale(.3) rotate(-150deg);
    box-shadow: 0 0 46px rgba(45, 188, 187, 0.14), inset 0 0 46px rgba(39, 170, 225, 0.08);
}

.cd-offer-approval-orbit::before,
.cd-offer-approval-orbit::after {
    position: absolute;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    content: "";
    background: #2dbcbb;
    box-shadow: 0 0 22px rgba(45, 188, 187, .92);
}

.cd-offer-approval-orbit::before {
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
}

.cd-offer-approval-orbit::after {
    top: 50%;
    right: -8px;
    transform: translateY(-50%);
    background: #27aae1;
    box-shadow: 0 0 22px rgba(39, 170, 225, .92);
}

.cd-offer-approval-orbit.orbit-two {
    width: min(52vw, 440px);
    border-color: rgba(39, 170, 225, 0.42);
}

.cd-offer-approval-celebration.is-active .cd-offer-approval-orbit.orbit-one {
    animation: cd-offer-orbit-enter 1s cubic-bezier(.16,1,.28,1) .06s forwards, cd-offer-orbit-spin 10s linear infinite 1.06s;
}

.cd-offer-approval-celebration.is-active .cd-offer-approval-orbit.orbit-two {
    animation: cd-offer-orbit-enter-two .85s cubic-bezier(.16,1,.28,1) .18s forwards, cd-offer-orbit-spin-reverse 7s linear infinite 1.03s;
}

.cd-offer-approval-core {
    position: relative;
    z-index: 2;
    display: grid;
    place-items: center;
    width: min(92vw, 560px);
    color: #fff;
    text-align: center;
    opacity: 0;
    transform: scale(.58);
}

.cd-offer-approval-celebration.is-active .cd-offer-approval-core {
    animation: cd-offer-core-zoom .9s cubic-bezier(.16,1.3,.3,1) .22s forwards;
}

.cd-offer-approval-card {
    position: relative;
    display: grid;
    justify-items: center;
    gap: 18px;
    width: 100%;
    padding: 42px 34px 38px;
    overflow: hidden;
    border: 1px solid rgba(124, 226, 221, 0.34);
    border-radius: 28px;
    background: linear-gradient(145deg, rgba(8, 27, 50, .88), rgba(10, 45, 66, .76));
    box-shadow: 0 34px 90px rgba(0, 7, 20, .48), inset 0 1px 0 rgba(255,255,255,.12), 0 0 72px rgba(45,188,187,.13);
    backdrop-filter: blur(18px);
}

.cd-offer-approval-card::before,
.cd-offer-approval-card::after {
    position: absolute;
    border-radius: 50%;
    content: "";
    pointer-events: none;
}

.cd-offer-approval-card::before {
    width: 240px;
    height: 240px;
    top: -150px;
    right: -95px;
    background: radial-gradient(circle, rgba(39,170,225,.34), transparent 68%);
}

.cd-offer-approval-card::after {
    width: 210px;
    height: 210px;
    left: -120px;
    bottom: -145px;
    background: radial-gradient(circle, rgba(45,188,187,.32), transparent 68%);
}

.cd-offer-approval-logo {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    width: 62px;
    height: 62px;
    padding: 10px;
    border: 1px solid rgba(255,255,255,.36);
    border-radius: 18px;
    opacity: 0;
    transform: translateY(-22px) rotate(-9deg) scale(.72);
    background: rgba(255,255,255,.96);
    box-shadow: 0 16px 38px rgba(0,0,0,.24), 0 0 28px rgba(39,170,225,.22);
}

.cd-offer-approval-logo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.cd-offer-approval-celebration.is-active .cd-offer-approval-logo {
    animation: cd-offer-logo-drop .72s cubic-bezier(.18,1.4,.32,1) .58s forwards, cd-offer-logo-float 2.3s ease-in-out infinite 1.3s;
}

.cd-offer-approval-check {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    width: 108px;
    height: 108px;
    border: 1px solid rgba(255,255,255,.42);
    border-radius: 50%;
    color: #fff;
    font-size: 50px;
    opacity: 0;
    transform: scale(.35) rotate(-24deg);
    background: linear-gradient(135deg, #27aae1, #2dbcbb);
    box-shadow: 0 0 0 0 rgba(45,188,187,.24), 0 24px 70px rgba(0,0,0,.34), 0 0 52px rgba(45,188,187,.42);
}

.cd-offer-approval-check::after {
    position: absolute;
    inset: -15px;
    border: 2px solid rgba(124,226,221,.5);
    border-radius: inherit;
    content: "";
    opacity: 0;
    transform: scale(.55);
}

.cd-offer-approval-celebration.is-active .cd-offer-approval-check {
    animation: cd-offer-check-pop .72s cubic-bezier(.16,1.5,.34,1) .82s forwards, cd-offer-check-glow 1.4s ease-in-out infinite 1.54s;
}

.cd-offer-approval-celebration.is-active .cd-offer-approval-check::after {
    animation: cd-offer-check-wave .9s ease-out 1.02s forwards;
}

.cd-offer-approval-check i {
    transform: scale(.2) rotate(-35deg);
}

.cd-offer-approval-celebration.is-active .cd-offer-approval-check i {
    animation: cd-offer-check-icon .48s cubic-bezier(.2,1.45,.35,1) 1.02s forwards;
}

.cd-offer-approval-core strong {
    position: relative;
    z-index: 1;
    max-width: 470px;
    font-size: clamp(24px, 4vw, 46px);
    letter-spacing: .02em;
    line-height: 1.18;
    opacity: 0;
    transform: translateY(22px);
    text-shadow: 0 0 28px rgba(45, 188, 187, .42);
}

.cd-offer-approval-celebration.is-active .cd-offer-approval-core strong {
    animation: cd-offer-title-rise .62s cubic-bezier(.2,1,.3,1) 1.12s forwards;
}

html[data-theme="light"] .cd-offer-approval-celebration {
    background:
        radial-gradient(circle at 50% 45%, rgba(45, 188, 187, 0.22), transparent 29%),
        radial-gradient(circle at 25% 20%, rgba(39, 170, 225, 0.2), transparent 35%),
        rgba(232, 246, 252, 0.94);
}

html[data-theme="light"] .cd-offer-approval-core {
    color: #17384e;
}

html[data-theme="light"] .cd-offer-approval-card {
    border-color: rgba(39,170,225,.28);
    background: linear-gradient(145deg, rgba(255,255,255,.95), rgba(228,245,247,.92));
    box-shadow: 0 32px 80px rgba(23,56,78,.2), inset 0 1px 0 rgba(255,255,255,.9), 0 0 58px rgba(39,170,225,.12);
}

html[data-theme="light"] .cd-offer-approval-core strong {
    text-shadow: 0 0 26px rgba(39, 170, 225, .28);
}

@keyframes cd-offer-approve-button-pulse {
    from { transform: translateY(0) scale(1); box-shadow: 0 10px 24px rgba(45,188,187,.18); }
    to { transform: translateY(-2px) scale(1.025); box-shadow: 0 16px 38px rgba(45,188,187,.4); }
}

@keyframes cd-offer-stars-reveal {
    to { opacity: 1; }
}

@keyframes cd-offer-stars-layer-one {
    to { opacity: .72; transform: rotate(37deg) scale(.84); }
}

@keyframes cd-offer-stars-layer-two {
    to { opacity: .5; transform: rotate(-24deg) scale(1.1); }
}

@keyframes cd-offer-stars-drift {
    to { transform: translate3d(45px, 32px, 0) rotate(4deg); }
}

@keyframes cd-offer-stars-drift-layer-one {
    from { transform: rotate(37deg) scale(.84); }
    to { transform: translate3d(-34px, 42px, 0) rotate(43deg) scale(.84); }
}

@keyframes cd-offer-stars-drift-layer-two {
    from { transform: rotate(-24deg) scale(1.1); }
    to { transform: translate3d(38px, -28px, 0) rotate(-18deg) scale(1.1); }
}

@keyframes cd-offer-orbit-enter {
    from { transform: scale(.3) rotate(-150deg); opacity: 0; }
    to { transform: scale(1) rotate(0deg); opacity: 1; }
}

@keyframes cd-offer-orbit-enter-two {
    from { transform: scale(.25) rotate(140deg); opacity: 0; }
    to { transform: scale(1) rotate(0deg); opacity: 1; }
}

@keyframes cd-offer-orbit-spin {
    to { transform: rotate(360deg); }
}

@keyframes cd-offer-orbit-spin-reverse {
    to { transform: rotate(-360deg); }
}

@keyframes cd-offer-core-zoom {
    0% { opacity: 0; transform: scale(.58); }
    68% { opacity: 1; transform: scale(1.055); }
    100% { opacity: 1; transform: scale(1); }
}

@keyframes cd-offer-logo-drop {
    0% { opacity: 0; transform: translateY(-22px) rotate(-9deg) scale(.72); }
    72% { opacity: 1; transform: translateY(3px) rotate(2deg) scale(1.05); }
    100% { opacity: 1; transform: translateY(0) rotate(0) scale(1); }
}

@keyframes cd-offer-logo-float {
    0%, 100% { transform: translateY(0) rotate(0); }
    50% { transform: translateY(-5px) rotate(1.5deg); }
}

@keyframes cd-offer-check-pop {
    0% { opacity: 0; transform: scale(.35) rotate(-24deg); box-shadow: 0 0 0 0 rgba(45,188,187,.24), 0 24px 70px rgba(0,0,0,.34), 0 0 52px rgba(45,188,187,.42); }
    72% { opacity: 1; transform: scale(1.12) rotate(3deg); }
    100% { opacity: 1; transform: scale(1) rotate(0); box-shadow: 0 0 0 14px rgba(45,188,187,.09), 0 24px 70px rgba(0,0,0,.34), 0 0 52px rgba(45,188,187,.42); }
}

@keyframes cd-offer-check-icon {
    to { transform: scale(1) rotate(0); }
}

@keyframes cd-offer-check-wave {
    0% { opacity: .8; transform: scale(.55); }
    100% { opacity: 0; transform: scale(1.45); }
}

@keyframes cd-offer-check-glow {
    0%, 100% { filter: brightness(1); }
    50% { filter: brightness(1.15); }
}

@keyframes cd-offer-title-rise {
    to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
    .cd-offer-decision-button.is-approve.is-celebrating,
    .cd-offer-approval-stars,
    .cd-offer-approval-stars::before,
    .cd-offer-approval-stars::after,
    .cd-offer-approval-orbit,
    .cd-offer-approval-core,
    .cd-offer-approval-logo,
    .cd-offer-approval-check,
    .cd-offer-approval-check::after,
    .cd-offer-approval-check i,
    .cd-offer-approval-core strong {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
    }
}
