:root {
    --rzw-dash-blue: #4193c7;
    --rzw-dash-blue-deep: #1f4f73;
    --rzw-dash-blue-soft: #eef7fd;
    --rzw-dash-orange: #ff7e00;
    --rzw-dash-orange-deep: #e46d00;
    --rzw-dash-white: #ffffff;
    --rzw-dash-border: #d9e7f2;
    --rzw-dash-text: #1f2a37;
    --rzw-dash-text-soft: #6b7280;
    --rzw-dash-shadow: 0 24px 54px rgba(31, 79, 115, 0.12);
    --rzw-dash-shadow-soft: 0 12px 28px rgba(31, 79, 115, 0.08);
    --rzw-dash-radius-xl: 30px;
    --rzw-dash-radius-lg: 24px;
    --rzw-dash-radius-md: 18px;
    --rzw-dash-radius-sm: 14px;
    --rzw-dash-font: "Poppins", "Avenir Next", "Segoe UI", sans-serif;
}

.rzw-ui-dashboard,
.rzw-ui-dashboard * {
    box-sizing: border-box;
}

.rzw-ui-dashboard {
    position: relative;
    padding: 24px 16px 48px;
    overflow: hidden;
    color: var(--rzw-dash-text);
    font-family: var(--rzw-dash-font);
}

.rzw-ui-dashboard::before,
.rzw-ui-dashboard::after {
    content: "";
    position: absolute;
    border-radius: 999px;
    background: rgba(65, 147, 199, 0.08);
    pointer-events: none;
}

.rzw-ui-dashboard::before {
    top: -160px;
    right: -100px;
    width: 300px;
    height: 300px;
}

.rzw-ui-dashboard::after {
    left: -100px;
    bottom: 40px;
    width: 220px;
    height: 220px;
}

.rzw-ui-dashboard__shell {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 20px;
    max-width: 1340px;
    margin: 0 auto;
}

.rzw-ui-dashboard__sidebar,
.rzw-ui-dashboard__main,
.rzw-ui-dashboard__locked-card {
    border: 1px solid rgba(217, 231, 242, 0.92);
    border-radius: var(--rzw-dash-radius-xl);
    box-shadow: var(--rzw-dash-shadow);
}

.rzw-ui-dashboard__overlay {
    display: none;
}

.rzw-ui-dashboard__sidebar {
    display: grid;
    gap: 20px;
    padding: 24px;
    background:
        radial-gradient(circle at top left, rgba(255, 255, 255, 0.16), transparent 55%),
        linear-gradient(180deg, var(--rzw-dash-blue) 0%, #327fb1 100%);
    color: var(--rzw-dash-white);
}

.rzw-ui-dashboard__brand {
    display: grid;
    gap: 6px;
}

.rzw-ui-dashboard__brand p {
    margin: 0;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.rzw-ui-dashboard__eyebrow {
    margin: 0;
    color: var(--rzw-dash-orange);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.rzw-ui-dashboard__brand strong {
    font-size: 1.65rem;
    line-height: 1.05;
    letter-spacing: -0.04em;
}

.rzw-ui-dashboard__brand span,
.rzw-ui-dashboard__sidebar-note p {
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.55;
}

.rzw-ui-dashboard__sidebar-nav,
.rzw-ui-dashboard__sidebar-projects ul {
    display: grid;
    gap: 10px;
}

.rzw-ui-dashboard__sidebar-nav a,
.rzw-ui-dashboard__sidebar-projects a {
    display: grid;
    gap: 4px;
    padding: 14px 16px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.12);
    color: var(--rzw-dash-white);
    text-decoration: none;
    transition: background 160ms ease, transform 160ms ease;
}

.rzw-ui-dashboard__sidebar-nav a:hover,
.rzw-ui-dashboard__sidebar-projects a:hover {
    transform: translateY(-1px);
    background: rgba(255, 255, 255, 0.18);
}

.rzw-ui-dashboard__sidebar-projects {
    display: grid;
    gap: 10px;
}

.rzw-ui-dashboard__sidebar-projects p,
.rzw-ui-dashboard__sidebar-note strong {
    margin: 0;
    font-weight: 700;
}

.rzw-ui-dashboard__sidebar-projects ul {
    padding: 0;
    margin: 0;
    list-style: none;
}

.rzw-ui-dashboard__sidebar-projects strong {
    font-size: 0.98rem;
}

.rzw-ui-dashboard__sidebar-projects span {
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.88rem;
}

.rzw-ui-dashboard__sidebar-note {
    display: grid;
    gap: 8px;
    padding: 18px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.12);
}

.rzw-ui-dashboard__main {
    display: grid;
    gap: 18px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(10px);
}

.rzw-ui-dashboard__topbar {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: flex-start;
    padding: 18px 20px;
    border: 1px solid var(--rzw-dash-border);
    border-radius: var(--rzw-dash-radius-lg);
    background: linear-gradient(180deg, #ffffff 0%, #f8fcff 100%);
}

.rzw-ui-dashboard__topbar-main {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.rzw-ui-dashboard__menu {
    display: none;
}

.rzw-ui-dashboard__topbar h2,
.rzw-ui-dashboard__locked-copy h2 {
    margin: 0;
    color: var(--rzw-dash-blue-deep);
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    line-height: 1.08;
    letter-spacing: -0.04em;
}

.rzw-ui-dashboard__topbar p:last-child,
.rzw-ui-dashboard__empty-copy p,
.rzw-ui-dashboard__locked-copy p,
.rzw-ui-dashboard__support-card p,
.rzw-ui-dashboard__support-copy,
.rzw-ui-dashboard__status-copy > p,
.rzw-ui-dashboard__status-action > p,
.rzw-ui-dashboard__intro-card > p:last-child {
    margin: 10px 0 0;
    color: var(--rzw-dash-text-soft);
    line-height: 1.6;
}

.rzw-ui-dashboard__button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-height: 52px;
    padding: 0 18px;
    border: 0;
    border-radius: 18px;
    background: linear-gradient(180deg, var(--rzw-dash-blue) 0%, var(--rzw-dash-blue-deep) 100%);
    color: var(--rzw-dash-white);
    font: inherit;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: transform 160ms ease, box-shadow 160ms ease, opacity 160ms ease;
}

.rzw-ui-dashboard__button:hover {
    transform: translateY(-1px);
    box-shadow: var(--rzw-dash-shadow-soft);
}

.rzw-ui-dashboard__button[disabled] {
    opacity: 0.62;
    cursor: wait;
    transform: none;
    box-shadow: none;
}

.rzw-ui-dashboard__button--ghost {
    border: 1px solid var(--rzw-dash-border);
    background: var(--rzw-dash-white);
    color: var(--rzw-dash-blue-deep);
}

.rzw-ui-dashboard__button--orange {
    background: linear-gradient(180deg, var(--rzw-dash-orange) 0%, var(--rzw-dash-orange-deep) 100%);
}

.rzw-ui-dashboard__button--primary {
    background: linear-gradient(180deg, var(--rzw-dash-blue) 0%, var(--rzw-dash-blue-deep) 100%);
}

.rzw-ui-dashboard__intro,
.rzw-ui-dashboard__support,
.rzw-ui-dashboard__workspaces {
    display: grid;
    gap: 16px;
}

.rzw-ui-dashboard__intro-card,
.rzw-ui-dashboard__support-card,
.rzw-ui-dashboard__empty-card,
.rzw-ui-dashboard__empty-copy,
.rzw-ui-dashboard__locked-copy,
.rzw-ui-dashboard__locked-side {
    padding: 20px;
    border: 1px solid var(--rzw-dash-border);
    border-radius: var(--rzw-dash-radius-lg);
    background: var(--rzw-dash-white);
}

.rzw-ui-dashboard__intro-card h3,
.rzw-ui-dashboard__support-card h3,
.rzw-ui-dashboard__empty-copy h3,
.rzw-ui-dashboard__empty-card strong,
.rzw-ui-dashboard__locked-side strong {
    margin: 0;
    color: var(--rzw-dash-blue-deep);
    font-size: 1.3rem;
    line-height: 1.2;
}

.rzw-ui-dashboard__empty,
.rzw-ui-dashboard__locked-card {
    display: grid;
    gap: 18px;
}

.rzw-ui-dashboard__empty-card,
.rzw-ui-dashboard__locked-side {
    display: grid;
    gap: 14px;
    justify-items: start;
    background: linear-gradient(180deg, #f8fcff 0%, #eef7fd 100%);
}

.rzw-ui-dashboard__mascot {
    width: 84px;
    height: 84px;
    object-fit: contain;
}

.rzw-ui-dashboard__workspace {
    display: grid;
    gap: 18px;
    padding: 20px;
    border: 1px solid var(--rzw-dash-border);
    border-radius: var(--rzw-dash-radius-xl);
    background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
    box-shadow: var(--rzw-dash-shadow-soft);
}

.rzw-ui-dashboard__status-hero {
    display: grid;
    gap: 16px;
    padding: 22px;
    border-radius: var(--rzw-dash-radius-lg);
    background:
        radial-gradient(circle at top right, rgba(255, 255, 255, 0.12), transparent 35%),
        linear-gradient(180deg, var(--rzw-dash-blue) 0%, #327fb1 100%);
    color: var(--rzw-dash-white);
}

.rzw-ui-dashboard__status-top {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: flex-start;
}

.rzw-ui-dashboard__status-copy .rzw-ui-dashboard__eyebrow,
.rzw-ui-dashboard__status-action .rzw-ui-dashboard__eyebrow {
    color: rgba(255, 255, 255, 0.78);
}

.rzw-ui-dashboard__status-copy h3 {
    margin: 0;
    max-width: 13ch;
    font-size: clamp(1.7rem, 3vw, 2.45rem);
    line-height: 1.04;
    letter-spacing: -0.04em;
}

.rzw-ui-dashboard__status-copy > p,
.rzw-ui-dashboard__status-action > p {
    color: rgba(255, 255, 255, 0.9);
}

.rzw-ui-dashboard__status-badge {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    color: var(--rzw-dash-white);
    font-size: 0.84rem;
    font-weight: 700;
}

.rzw-ui-dashboard__status-badge--preview,
.rzw-ui-dashboard__status-badge--live {
    background: rgba(31, 139, 77, 0.18);
}

.rzw-ui-dashboard__status-badge--attention {
    background: rgba(255, 126, 0, 0.22);
}

.rzw-ui-dashboard__status-badge--build,
.rzw-ui-dashboard__status-badge--progress {
    background: rgba(255, 255, 255, 0.16);
}

.rzw-ui-dashboard__status-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
}

.rzw-ui-dashboard__status-tags span {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    color: rgba(255, 255, 255, 0.96);
    font-size: 0.86rem;
    font-weight: 600;
}

.rzw-ui-dashboard__hero-mini {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 16px;
}

.rzw-ui-dashboard__hero-mini div {
    padding: 14px 16px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.12);
}

.rzw-ui-dashboard__hero-mini small {
    display: block;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.rzw-ui-dashboard__hero-mini strong {
    display: block;
    margin-top: 6px;
    color: var(--rzw-dash-white);
    font-size: 1rem;
}

.rzw-ui-dashboard__status-action {
    display: grid;
    gap: 8px;
    padding: 18px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.12);
}

.rzw-ui-dashboard__status-action strong {
    font-size: 1.08rem;
}

.rzw-ui-dashboard__hero-actions,
.rzw-ui-dashboard__actions {
    display: grid;
    gap: 10px;
}

.rzw-ui-dashboard__action-note {
    display: grid;
    gap: 6px;
    padding: 16px;
    border: 1px dashed var(--rzw-dash-border);
    border-radius: 18px;
    background: #f8fbfe;
}

.rzw-ui-dashboard__action-note strong {
    color: var(--rzw-dash-blue-deep);
    font-size: 0.98rem;
}

.rzw-ui-dashboard__action-note span {
    color: var(--rzw-dash-text-soft);
    line-height: 1.5;
}

.rzw-ui-dashboard__workspace-grid {
    display: grid;
    gap: 16px;
}

.rzw-ui-dashboard__card {
    display: grid;
    gap: 16px;
    padding: 20px;
    border: 1px solid var(--rzw-dash-border);
    border-radius: var(--rzw-dash-radius-lg);
    background: var(--rzw-dash-white);
}

.rzw-ui-dashboard__card-head h4 {
    margin: 0;
    color: var(--rzw-dash-blue-deep);
    font-size: 1.16rem;
    line-height: 1.25;
}

.rzw-ui-dashboard__card-head .rzw-ui-dashboard__eyebrow {
    color: var(--rzw-dash-orange);
}

.rzw-ui-dashboard__timeline {
    display: grid;
    gap: 14px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.rzw-ui-dashboard__timeline-item {
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr);
    gap: 14px;
    align-items: start;
}

.rzw-ui-dashboard__timeline-dot {
    position: relative;
    display: inline-flex;
    width: 24px;
    height: 24px;
    border: 2px solid var(--rzw-dash-border);
    border-radius: 50%;
    background: #f8fbfe;
}

.rzw-ui-dashboard__timeline-item strong {
    display: block;
    color: var(--rzw-dash-text);
    font-size: 0.98rem;
}

.rzw-ui-dashboard__timeline-item p {
    margin: 4px 0 0;
    color: var(--rzw-dash-text-soft);
    line-height: 1.55;
}

.rzw-ui-dashboard__timeline-item.is-complete .rzw-ui-dashboard__timeline-dot {
    border-color: var(--rzw-dash-blue);
    background:
        radial-gradient(circle at center, var(--rzw-dash-blue) 0 45%, transparent 46% 100%),
        #f8fbfe;
}

.rzw-ui-dashboard__timeline-item.is-current .rzw-ui-dashboard__timeline-dot {
    border-color: var(--rzw-dash-orange);
    background:
        radial-gradient(circle at center, var(--rzw-dash-orange) 0 45%, transparent 46% 100%),
        #fff7ef;
}

.rzw-ui-dashboard__meta {
    display: grid;
    gap: 12px;
    margin: 0;
}

.rzw-ui-dashboard__meta div {
    padding: 14px 16px;
    border-radius: 18px;
    background: #f8fbfe;
}

.rzw-ui-dashboard__meta dt {
    margin-bottom: 4px;
    color: var(--rzw-dash-text-soft);
    font-size: 0.84rem;
    font-weight: 600;
}

.rzw-ui-dashboard__meta dd {
    margin: 0;
    color: var(--rzw-dash-text);
    font-weight: 700;
}

.rzw-ui-dashboard__package-price {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 12px;
    align-items: baseline;
    padding: 16px 18px;
    border-radius: 20px;
    background: linear-gradient(180deg, #eef7fd 0%, #ffffff 100%);
}

.rzw-ui-dashboard__package-price strong {
    color: var(--rzw-dash-blue-deep);
    font-size: 1.2rem;
}

.rzw-ui-dashboard__package-price span,
.rzw-ui-dashboard__disclaimer {
    color: var(--rzw-dash-text-soft);
    line-height: 1.55;
}

.rzw-ui-dashboard__benefits {
    display: grid;
    gap: 8px;
    padding-left: 18px;
    margin: 0;
    color: var(--rzw-dash-text);
    line-height: 1.55;
}

.rzw-ui-dashboard__contract {
    display: grid;
    gap: 12px;
}

.rzw-ui-dashboard__field {
    display: grid;
    gap: 8px;
}

.rzw-ui-dashboard__field span {
    color: var(--rzw-dash-blue-deep);
    font-size: 0.92rem;
    font-weight: 700;
}

.rzw-ui-dashboard__field input {
    width: 100%;
    min-height: 56px;
    padding: 0 16px;
    border: 1px solid var(--rzw-dash-border);
    border-radius: 18px;
    background: #f8fbfe;
    color: var(--rzw-dash-text);
    font: inherit;
    transition: border-color 150ms ease, box-shadow 150ms ease;
}

.rzw-ui-dashboard__field input:focus,
.rzw-ui-dashboard__button:focus-visible,
.rzw-ui-dashboard__menu:focus-visible,
.rzw-ui-dashboard__sidebar a:focus-visible {
    outline: none;
    border-color: rgba(65, 147, 199, 0.94);
    box-shadow: 0 0 0 4px rgba(65, 147, 199, 0.16);
}

.rzw-ui-dashboard__feedback {
    display: none;
    padding: 14px 16px;
    border-radius: 18px;
    font-weight: 600;
    line-height: 1.5;
}

.rzw-ui-dashboard__feedback.is-visible {
    display: block;
}

.rzw-ui-dashboard__feedback.is-success {
    color: #1f8b4d;
    background: rgba(31, 139, 77, 0.08);
}

.rzw-ui-dashboard__feedback.is-error {
    color: #b42318;
    background: rgba(180, 35, 24, 0.08);
}

.rzw-ui-dashboard__shell--locked {
    display: block;
    max-width: 1080px;
}

.rzw-ui-dashboard__locked-card {
    display: grid;
    gap: 18px;
    padding: 20px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fcff 100%);
}

@media (min-width: 760px) {
    .rzw-ui-dashboard {
        padding: 36px 24px 56px;
    }

    .rzw-ui-dashboard__intro,
    .rzw-ui-dashboard__support,
    .rzw-ui-dashboard__empty,
    .rzw-ui-dashboard__locked-card {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .rzw-ui-dashboard__hero-actions,
    .rzw-ui-dashboard__actions {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .rzw-ui-dashboard__workspace-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .rzw-ui-dashboard__card--timeline {
        grid-column: 1 / -1;
    }
}

@media (min-width: 1120px) {
    .rzw-ui-dashboard__shell {
        grid-template-columns: 300px minmax(0, 1fr);
        align-items: start;
    }

    .rzw-ui-dashboard__sidebar {
        position: sticky;
        top: 24px;
    }

    .rzw-ui-dashboard__status-hero {
        grid-template-columns: minmax(0, 1.4fr) minmax(300px, 0.9fr);
        align-items: stretch;
    }

    .rzw-ui-dashboard__intro {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .rzw-ui-dashboard__workspace-grid {
        grid-template-columns: repeat(12, minmax(0, 1fr));
    }

    .rzw-ui-dashboard__card--timeline {
        grid-column: span 7;
    }

    .rzw-ui-dashboard__workspace-grid > .rzw-ui-dashboard__card:nth-child(2) {
        grid-column: span 5;
    }

    .rzw-ui-dashboard__workspace-grid > .rzw-ui-dashboard__card:nth-child(3),
    .rzw-ui-dashboard__workspace-grid > .rzw-ui-dashboard__card:nth-child(4),
    .rzw-ui-dashboard__workspace-grid > .rzw-ui-dashboard__card:nth-child(5),
    .rzw-ui-dashboard__workspace-grid > .rzw-ui-dashboard__card:nth-child(6) {
        grid-column: span 6;
    }
}

@media (max-width: 1119px) {
    .rzw-ui-dashboard__shell {
        position: relative;
    }

    .rzw-ui-dashboard__overlay {
        position: fixed;
        inset: 0;
        z-index: 11;
        border: 0;
        background: rgba(15, 23, 42, 0.36);
        opacity: 0;
        pointer-events: none;
        transition: opacity 160ms ease;
    }

    .rzw-ui-dashboard.is-nav-open .rzw-ui-dashboard__overlay {
        display: block;
        opacity: 1;
        pointer-events: auto;
    }

    .rzw-ui-dashboard__sidebar {
        position: fixed;
        inset: 12px auto 12px 12px;
        z-index: 12;
        width: min(340px, calc(100vw - 24px));
        max-height: calc(100vh - 24px);
        overflow: auto;
        transform: translateX(calc(-100% - 12px));
        transition: transform 180ms ease;
    }

    .rzw-ui-dashboard.is-nav-open .rzw-ui-dashboard__sidebar {
        transform: translateX(0);
    }

    .rzw-ui-dashboard__menu {
        display: inline-flex;
        flex: 0 0 48px;
        position: relative;
        width: 48px;
        height: 48px;
        padding: 0;
        border: 1px solid var(--rzw-dash-border);
        border-radius: 16px;
        background: var(--rzw-dash-white);
        justify-content: center;
        align-items: center;
        cursor: pointer;
    }

    .rzw-ui-dashboard__menu span {
        position: absolute;
        width: 22px;
        height: 2px;
        border-radius: 999px;
        background: var(--rzw-dash-blue-deep);
    }

    .rzw-ui-dashboard__menu span:nth-child(1) {
        transform: translateY(-6px);
    }

    .rzw-ui-dashboard__menu span:nth-child(3) {
        transform: translateY(6px);
    }
}

@media (max-width: 759px) {
    .rzw-ui-dashboard {
        padding: 16px 12px 40px;
    }

    .rzw-ui-dashboard__main,
    .rzw-ui-dashboard__topbar,
    .rzw-ui-dashboard__workspace,
    .rzw-ui-dashboard__card,
    .rzw-ui-dashboard__intro-card,
    .rzw-ui-dashboard__support-card,
    .rzw-ui-dashboard__empty-copy,
    .rzw-ui-dashboard__empty-card,
    .rzw-ui-dashboard__locked-copy,
    .rzw-ui-dashboard__locked-side {
        padding: 18px;
        border-radius: 22px;
    }

    .rzw-ui-dashboard__topbar {
        flex-direction: column;
    }

    .rzw-ui-dashboard__topbar-main {
        width: 100%;
    }

    .rzw-ui-dashboard__button {
        width: 100%;
    }

    .rzw-ui-dashboard__status-top,
    .rzw-ui-dashboard__package-price {
        flex-direction: column;
        align-items: flex-start;
    }

    .rzw-ui-dashboard__hero-mini {
        grid-template-columns: 1fr;
    }
}
