*,
*::before,
*::after {
    box-sizing: border-box;
}

:root {
    --bg: #e7e6e7;
    --bg-accent: rgba(104, 232, 143, 0.24);
    --surface: rgba(255, 255, 255, 0.56);
    --panel: #f4f3f4;
    --panel-strong: #fbfbfb;
    --text: #101219;
    --text-soft: #7d8596;
    --text-faint: #9da5b2;
    --line: rgba(17, 18, 25, 0.08);
    --line-strong: rgba(17, 18, 25, 0.12);
    --primary: #68e88f;
    --primary-strong: #1f252f;
    --shadow: 0 24px 80px rgba(18, 24, 33, 0.08);
    --radius-lg: 34px;
    --radius-md: 20px;
    --radius-sm: 14px;
}

html {
    font-size: 16px;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: "Manrope", sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(255, 255, 255, 0.65), transparent 34%),
        radial-gradient(circle at bottom right, var(--bg-accent), transparent 28%),
        var(--bg);
}

img {
    display: block;
    max-width: 100%;
}

button,
input,
select {
    font: inherit;
}

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

.page-auth,
.page-login {
    overflow-x: hidden;
}

.auth-shell {
    display: grid;
    grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr);
    gap: 48px;
    min-height: 100vh;
    padding: 24px;
}

.auth-panel {
    min-width: 0;
}

.auth-panel-form {
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-panel-inner {
    width: min(100%, 540px);
}

.auth-panel-content {
    transition: opacity 220ms ease, transform 220ms ease;
    will-change: opacity, transform;
}

.auth-panel-content.is-exiting {
    opacity: 0;
    transform: translateY(18px);
}

.auth-panel-content.is-entering {
    opacity: 0;
    transform: translateY(-18px);
}

.brand-lockup {
    display: flex;
    justify-content: center;
    margin-bottom: 48px;
}

.brand-lockup__logo {
    width: 188px;
    height: auto;
}

.auth-copy {
    margin-bottom: 36px;
    text-align: center;
}

.auth-copy h1 {
    margin: 0;
    font-size: 28px;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.04em;
}

.auth-copy p {
    margin: 14px auto 0;
    max-width: 38rem;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-soft);
}

.auth-form {
    display: grid;
    gap: 24px;
}

.auth-form--code {
    gap: 28px;
}

.auth-actions {
    display: grid;
    gap: 24px;
}

.auth-form__row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.field-group {
    display: grid;
    gap: 10px;
}

.field-group label {
    font-size: 0.97rem;
    font-weight: 700;
    color: var(--primary-strong);
}

.field-group label span {
    margin-left: 2px;
    color: #ff5f63;
}

.field-group input {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.78);
    padding: 18px 18px;
    color: var(--text);
    transition: border-color 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.field-group input::placeholder {
    color: var(--text-faint);
}

.field-group input:focus {
    outline: none;
    border-color: rgba(104, 232, 143, 0.95);
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 0 0 4px rgba(104, 232, 143, 0.16);
}

.password-field {
    position: relative;
}

.password-field input {
    padding-right: 58px;
}

.password-toggle {
    position: absolute;
    top: 50%;
    right: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #9098a7;
    cursor: pointer;
    transform: translateY(-50%);
    transition: color 160ms ease, background-color 160ms ease;
}

.password-toggle:hover,
.password-toggle:focus-visible {
    outline: none;
    color: var(--primary-strong);
    background: rgba(17, 18, 25, 0.04);
}

.password-toggle svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
}

.auth-form__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    color: var(--text-soft);
}

.phone-field {
    position: relative;
}

.phone-input {
    display: flex;
    align-items: stretch;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.78);
    transition: border-color 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.phone-input:focus-within {
    border-color: rgba(104, 232, 143, 0.95);
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 0 0 4px rgba(104, 232, 143, 0.16);
}

.country-picker__trigger {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex: 0 0 auto;
    min-width: 92px;
    padding: 0 14px;
    border: 0;
    border-right: 1px solid var(--line);
    background: transparent;
    color: var(--primary-strong);
    cursor: pointer;
    transition: background-color 160ms ease, color 160ms ease;
}

.country-picker__trigger:hover,
.country-picker__trigger:focus-visible {
    outline: none;
    background: rgba(17, 18, 25, 0.04);
}

.country-picker__flag {
    font-size: 1.15rem;
    line-height: 1;
}

.country-picker__dial {
    font-weight: 700;
    white-space: nowrap;
}

.country-picker__trigger svg,
.country-picker__search svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
}

.country-picker__panel {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    z-index: 40;
    width: min(100%, 360px);
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow);
}

.phone-input input {
    flex: 1 1 auto;
    width: 100%;
    border: 0;
    background: transparent;
    color: var(--text);
    padding: 18px 18px 18px 14px;
}

.phone-input input:focus {
    outline: none;
}

.phone-input input::placeholder {
    color: var(--text-faint);
}

.country-picker__search {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgba(247, 247, 248, 0.92);
    padding: 0 12px;
    color: var(--text-soft);
}

.country-picker__search:focus-within {
    border-color: rgba(104, 232, 143, 0.95);
    box-shadow: 0 0 0 4px rgba(104, 232, 143, 0.12);
}

.country-picker__search input {
    width: 100%;
    border: 0;
    background: transparent;
    padding: 12px 0;
    color: var(--text);
}

.country-picker__search input:focus {
    outline: none;
}

.country-picker__search input::placeholder {
    color: var(--text-faint);
}

.country-picker__results {
    display: grid;
    gap: 4px;
    max-height: 284px;
    overflow-y: auto;
}

.country-picker__option {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 11px 12px;
    border: 0;
    border-radius: 14px;
    background: transparent;
    color: var(--text);
    text-align: left;
    cursor: pointer;
    transition: background-color 160ms ease, color 160ms ease;
}

.country-picker__option:hover,
.country-picker__option:focus-visible,
.country-picker__option.is-selected {
    outline: none;
    background: rgba(104, 232, 143, 0.14);
}

.country-picker__option-name {
    min-width: 0;
    font-weight: 600;
}

.country-picker__option-dial {
    color: var(--text-soft);
    font-weight: 700;
}

.country-picker__empty {
    margin: 0;
    padding: 14px 12px 8px;
    color: var(--text-soft);
}

.checkbox-field {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
}

.checkbox-field input {
    appearance: none;
    width: 26px;
    height: 26px;
    margin: 0;
    border: 1px solid var(--line-strong);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.78);
    display: grid;
    place-items: center;
    transition: border-color 160ms ease, background-color 160ms ease, box-shadow 160ms ease;
}

.checkbox-field input::after {
    content: "";
    width: 8px;
    height: 14px;
    border-right: 2px solid transparent;
    border-bottom: 2px solid transparent;
    transform: rotate(45deg) scale(0.7);
    transition: border-color 160ms ease;
}

.checkbox-field input:checked {
    border-color: rgba(104, 232, 143, 0.95);
    background: rgba(104, 232, 143, 0.18);
    box-shadow: 0 0 0 4px rgba(104, 232, 143, 0.14);
}

.checkbox-field input:checked::after {
    border-color: var(--primary-strong);
}

.checkbox-field input:focus-visible {
    outline: none;
    box-shadow: 0 0 0 4px rgba(104, 232, 143, 0.14);
}

.text-link {
    color: #57d77f;
    font-weight: 700;
    transition: color 160ms ease;
}

.text-link:hover,
.text-link:focus-visible {
    color: #34be60;
    outline: none;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    min-height: 56px;
    border: 1px solid transparent;
    border-radius: var(--radius-sm);
    padding: 14px 20px;
    font-size: 1.08rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease, background-color 160ms ease;
}

.button:hover,
.button:focus-visible {
    outline: none;
    transform: translateY(-1px);
}

.button-primary {
    background: linear-gradient(135deg, #74ef98 0%, #5fe488 100%);
    color: #111925;
    box-shadow: 0 18px 36px rgba(104, 232, 143, 0.22);
}

.button-primary:hover,
.button-primary:focus-visible {
    box-shadow: 0 22px 42px rgba(104, 232, 143, 0.26);
}

.button-secondary {
    background: rgba(255, 255, 255, 0.82);
    border-color: var(--line);
    color: var(--primary-strong);
}

.button-secondary svg {
    width: 22px;
    height: 22px;
    flex: 0 0 22px;
}

.auth-form__footer {
    margin: 4px 0 0;
    text-align: center;
    color: var(--text-soft);
}

.auth-back-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    color: var(--text-faint);
    font-weight: 600;
    transition: color 160ms ease;
}

.auth-form + .auth-back-link {
    margin-top: 18px;
}

.auth-back-link:hover,
.auth-back-link:focus-visible {
    outline: none;
    color: var(--text-soft);
}

.auth-back-link svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
}

.auth-code-inputs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr)) auto repeat(3, minmax(0, 1fr));
    gap: 12px;
    align-items: center;
}

.auth-code-input {
    width: 100%;
    height: 78px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.78);
    color: #65e58b;
    text-align: center;
    font-size: 2.6rem;
    font-weight: 800;
    line-height: 1;
    transition: border-color 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.auth-code-input:focus {
    outline: none;
    border-color: rgba(104, 232, 143, 0.95);
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 0 0 4px rgba(104, 232, 143, 0.16);
}

.auth-code-divider {
    color: rgba(16, 18, 25, 0.2);
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1;
}

.auth-panel-visual {
    display: flex;
    align-items: stretch;
}

.visual-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    min-height: calc(100vh - 48px);
    padding: 72px 36px 0;
    border-radius: var(--radius-lg);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.46) 0%, rgba(255, 255, 255, 0.78) 100%),
        var(--panel);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
    overflow: hidden;
}

.visual-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top center, rgba(104, 232, 143, 0.18), transparent 34%),
        radial-gradient(circle at bottom right, rgba(17, 18, 25, 0.05), transparent 28%);
    pointer-events: none;
}

.visual-card__badge {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    width: 78px;
    height: 78px;
    margin-bottom: 34px;
    border-radius: 50%;
    background: linear-gradient(145deg, #79f39c 0%, #65e58b 100%);
    color: var(--primary-strong);
    font-size: 2rem;
    font-weight: 800;
    box-shadow: 0 20px 40px rgba(104, 232, 143, 0.22);
}

.visual-card__copy {
    position: relative;
    z-index: 1;
    width: min(100%, 720px);
    text-align: center;
}

.visual-card__copy h2 {
    margin: 0;
    font-size: 32px;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.045em;
}

.visual-card__copy p {
    margin: 20px auto 0;
    max-width: 34rem;
    font-size: 16px;
    line-height: 1.6;
    color: rgba(16, 18, 25, 0.76);
}

.visual-card__screen {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    flex: 1;
    width: min(100%, 980px);
    margin-top: 52px;
}

.visual-card__screen img {
    width: 100%;
    max-width: 551px;
    height: auto;
    object-fit: contain;
    object-position: bottom center;
}

.simple-page {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 24px;
}

.simple-page__card {
    width: min(100%, 460px);
    padding: 40px;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: var(--shadow);
    text-align: center;
}

.simple-page__eyebrow {
    margin: 0 0 12px;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #5e6677;
}

.simple-page__card h1 {
    margin: 0;
    font-size: 2rem;
    line-height: 1.05;
}

.simple-page__card p {
    margin: 14px 0 28px;
    color: var(--text-soft);
    line-height: 1.7;
}

@media (max-width: 1180px) {
    .auth-shell {
        gap: 28px;
        padding: 18px;
    }

    .visual-card {
        padding-inline: 24px;
    }

}

@media (max-width: 960px) {
    .auth-shell {
        grid-template-columns: 1fr;
    }

    .auth-panel-form {
        padding-top: 28px;
    }

    .auth-panel-inner {
        width: min(100%, 620px);
    }

    .brand-lockup {
        margin-bottom: 32px;
    }

    .visual-card {
        min-height: 640px;
        padding-top: 48px;
    }
}

@media (max-width: 640px) {
    .auth-shell {
        padding: 14px;
    }

    .auth-panel-inner {
        width: 100%;
    }

    .auth-copy {
        text-align: left;
    }

    .auth-copy p {
        margin-left: 0;
        margin-right: 0;
    }

    .auth-form__meta {
        flex-direction: column;
        align-items: flex-start;
    }

    .auth-form__row {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .country-picker__panel {
        width: 100%;
    }

    .auth-code-inputs {
        gap: 8px;
    }

    .auth-code-input {
        height: 64px;
        font-size: 2.1rem;
    }

    .auth-code-divider {
        font-size: 2rem;
    }

    .visual-card {
        min-height: 520px;
        padding: 34px 18px 0;
    }

    .visual-card__badge {
        width: 64px;
        height: 64px;
        margin-bottom: 24px;
        font-size: 1.6rem;
    }
}

.page-dashboard {
    --dashboard-toolbar-height: 70px;
    overflow-x: hidden;
}

.dashboard-shell {
    padding: 30px 30px 40px;
}

.dashboard-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 44px;
}

.dashboard-nav-shell,
.dashboard-search,
.dashboard-icon-button,
.dashboard-profile,
.dashboard-card {
    background: rgba(255, 255, 255, 0.68);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.78);
}

.dashboard-nav-shell {
    display: flex;
    align-items: center;
    gap: 18px;
    flex: 1;
    height: var(--dashboard-toolbar-height);
    min-width: 0;
    padding: 8px 16px;
    border-radius: 35px;
}

.dashboard-brand {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
    font-size: 1.02rem;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.dashboard-brand__logo {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.dashboard-nav {
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
    overflow-x: auto;
    scrollbar-width: none;
}

.dashboard-nav::-webkit-scrollbar {
    display: none;
}

.dashboard-nav__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 22px;
    border-radius: 999px;
    font-size: 0.97rem;
    font-weight: 700;
    white-space: nowrap;
    color: rgba(16, 18, 25, 0.88);
    transition: background-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.dashboard-nav__link:hover,
.dashboard-nav__link:focus-visible {
    outline: none;
    background: rgba(17, 18, 25, 0.05);
    transform: translateY(-1px);
}

.dashboard-nav__link.is-active {
    background: var(--primary);
    color: var(--primary-strong);
}

.dashboard-topbar__actions {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
}

.dashboard-search {
    display: flex;
    align-items: center;
    gap: 14px;
    height: var(--dashboard-toolbar-height);
    min-width: 260px;
    padding: 0 18px;
    border-radius: 35px;
}

.dashboard-search__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    color: var(--primary-strong);
}

.dashboard-search__icon svg,
.dashboard-icon-button svg,
.dashboard-profile__chevron,
.card-icon-button svg,
.dashboard-filter svg,
.priority-item__icon svg,
.priority-item__menu svg,
.meeting-card__menu svg,
.meeting-card__button svg,
.assistant-card__badge svg,
.assistant-card__submit svg {
    width: 100%;
    height: 100%;
}

.dashboard-search__icon svg,
.dashboard-icon-button svg,
.dashboard-profile__chevron,
.card-icon-button svg,
.dashboard-filter svg,
.priority-item__icon svg,
.priority-item__menu svg,
.meeting-card__menu svg,
.meeting-card__button svg,
.assistant-card__badge svg,
.assistant-card__submit svg {
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.card-icon-button circle,
.meeting-card__menu circle,
.priority-item__menu circle {
    fill: currentColor;
    stroke: none;
}

.dashboard-search input {
    width: 100%;
    min-width: 0;
    border: 0;
    background: transparent;
    padding: 0;
    color: var(--text);
}

.dashboard-search input::placeholder {
    color: var(--text-faint);
}

.dashboard-search input:focus {
    outline: none;
}

.dashboard-icon-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: var(--dashboard-toolbar-height);
    height: var(--dashboard-toolbar-height);
    padding: 0;
    border: 0;
    border-radius: 50%;
    color: var(--primary-strong);
    cursor: pointer;
}

.dashboard-icon-button svg {
    width: 28px;
    height: 28px;
}

.dashboard-icon-button i {
    font-size: 1.45rem;
    line-height: 1;
}

.dashboard-profile {
    display: flex;
    align-items: center;
    gap: 14px;
    height: var(--dashboard-toolbar-height);
    min-width: 320px;
    padding: 10px 18px 10px 12px;
    border: 0;
    border-radius: 35px;
    color: inherit;
    text-align: left;
    cursor: pointer;
}

.dashboard-avatar {
    display: grid;
    place-items: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background:
        radial-gradient(circle at 35% 30%, rgba(255, 255, 255, 0.82), transparent 26%),
        linear-gradient(135deg, #0f1115 0%, #495263 100%);
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    box-shadow: 0 10px 24px rgba(16, 18, 25, 0.16);
}

.dashboard-profile__meta {
    display: grid;
    gap: 2px;
    min-width: 0;
}

.dashboard-profile__meta strong {
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.dashboard-profile__meta span {
    color: var(--text-soft);
    font-size: 0.94rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dashboard-profile__chevron {
    width: 18px;
    height: 18px;
    margin-left: auto;
    color: var(--primary-strong);
}

.dashboard-main {
    display: grid;
    gap: 26px;
}

.dashboard-hero__eyebrow {
    margin: 0 0 10px;
    font-size: 1rem;
    color: #5f6472;
    letter-spacing: -0.04em;
}

.dashboard-hero h1 {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    font-size: clamp(2.55rem, 4vw, 4.25rem);
    line-height: 0.96;
    letter-spacing: -0.065em;
}

.dashboard-hero__wave {
    font-size: 0.88em;
    line-height: 1;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 14px;
    align-items: start;
}

.dashboard-card {
    min-width: 0;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 28px;
}

.dashboard-card h2,
.dashboard-card h3,
.dashboard-card p {
    margin: 0;
}

.dashboard-card__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 24px;
}

.dashboard-card__top h2 {
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: -0.04em;
}

.dashboard-card__top p {
    color: #5f6472;
    font-size: 1rem;
    letter-spacing: -0.04em;
}

.dashboard-card__top--meeting {
    margin-bottom: 18px;
}

.card-icon-button,
.dashboard-filter,
.meeting-card__menu,
.priority-item__menu,
.assistant-card__badge,
.assistant-card__submit {
    border: 0;
    cursor: pointer;
}

.card-icon-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    padding: 0;
    border-radius: 50%;
    background: rgba(17, 18, 25, 0.04);
    color: #273251;
}

.card-icon-button svg {
    width: 22px;
    height: 22px;
}

.dashboard-filter {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-height: 42px;
    padding: 0 16px;
    border-radius: 999px;
    background: rgba(17, 18, 25, 0.04);
    color: var(--primary-strong);
}

.dashboard-filter svg {
    width: 18px;
    height: 18px;
}

.dashboard-card--metric {
    grid-column: span 3;
    min-height: 188px;
}

.metric-card__body {
    display: flex;
    align-items: flex-end;
    gap: 18px;
    min-height: 96px;
}

.metric-card__body strong {
    font-size: 3.2rem;
    line-height: 0.9;
    letter-spacing: -0.08em;
}

.metric-card__spark {
    display: flex;
    align-items: flex-end;
    gap: 3px;
    flex: 1;
    min-height: 42px;
}

.metric-card__spark span {
    display: block;
    flex-shrink: 0;
    border-radius: 999px;
}

.metric-card__spark--total span {
    width: 2px;
    height: 42px;
    background: rgba(17, 18, 25, 0.08);
}

.metric-card__spark--total span.is-dark {
    background: rgba(17, 18, 25, 0.84);
}

.metric-card__spark--pending span {
    width: 10px;
    border-radius: 2px;
    background: rgba(104, 232, 143, 0.78);
}

.metric-card__spark--ended {
    gap: 7px;
}

.metric-card__chip {
    height: 40px;
    border-radius: 6px;
}

.metric-card__chip.is-primary {
    width: 24px;
    background: var(--primary);
}

.metric-card__chip.is-ink {
    width: 12px;
    background: #111219;
}

.metric-card__chip.is-soft {
    width: 32px;
    background: rgba(17, 18, 25, 0.08);
}

.metric-card__marker {
    width: 2px;
    height: 36px;
    background: rgba(104, 232, 143, 0.9);
    border-radius: 999px;
}

.metric-card__tail {
    flex: 1;
    height: 28px;
    min-width: 0;
    border-radius: 999px;
    background:
        repeating-linear-gradient(
            90deg,
            rgba(17, 18, 25, 0.08) 0 2px,
            transparent 2px 6px
        );
}

.dashboard-card--meeting {
    grid-column: 10 / span 3;
    grid-row: span 2;
    min-height: 470px;
}

.meeting-stack {
    position: relative;
    min-height: 380px;
    margin-top: 8px;
}

.meeting-stack__layer,
.meeting-card {
    position: absolute;
    border-radius: 38px;
}

.meeting-stack__layer {
    background: rgba(17, 18, 25, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.62);
}

.meeting-stack__layer--rear {
    top: 48px;
    right: 0;
    bottom: 74px;
    left: 58px;
}

.meeting-stack__layer--middle {
    top: 86px;
    right: 18px;
    bottom: 34px;
    left: 18px;
}

.meeting-card {
    left: 0;
    right: 28px;
    bottom: 14px;
    min-height: 240px;
    padding: 28px 28px 30px;
    background: #000000;
    color: #ffffff;
    box-shadow: 0 30px 50px rgba(0, 0, 0, 0.14);
}

.meeting-card__menu {
    position: absolute;
    top: 30px;
    right: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    padding: 0;
    border-radius: 50%;
    background: #ffffff;
    color: #101219;
}

.meeting-card__menu svg {
    width: 20px;
    height: 20px;
}

.meeting-card__copy {
    max-width: 18rem;
    padding-right: 88px;
}

.meeting-card__copy h3 {
    max-width: 9ch;
    font-size: 1.48rem;
    line-height: 1;
    letter-spacing: -0.05em;
}

.meeting-card__copy p {
    margin-top: 24px;
    color: rgba(255, 255, 255, 0.52);
    font-size: 0.95rem;
}

.meeting-card__button {
    position: absolute;
    left: 28px;
    right: 28px;
    bottom: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 60px;
    padding: 0 20px;
    border-radius: 999px;
    background: var(--primary);
    color: #101219;
    font-size: 0.95rem;
    font-weight: 800;
}

.meeting-card__button svg {
    width: 20px;
    height: 20px;
}

.dashboard-card--overview {
    grid-column: 1 / span 5;
    grid-row: span 2;
    min-height: 398px;
}

.overview-chart {
    display: flex;
    gap: 20px;
    min-height: 300px;
}

.overview-chart__axis {
    display: grid;
    align-content: space-between;
    width: 30px;
    padding: 16px 0 30px;
    color: #737989;
    font-size: 0.94rem;
}

.overview-chart__plot {
    position: relative;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 22px;
    flex: 1;
    min-height: 100%;
    padding-bottom: 30px;
    background-image: repeating-linear-gradient(
        to top,
        rgba(17, 18, 25, 0.08) 0 1px,
        transparent 1px 56px
    );
    background-size: 100% 100%;
}

.overview-chart__column {
    display: grid;
    gap: 14px;
    align-content: end;
}

.overview-chart__stack {
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    height: 240px;
}

.overview-chart__bar {
    position: absolute;
    bottom: 0;
    width: 62px;
    border-radius: 16px 16px 14px 14px;
}

.overview-chart__bar--max {
    background: rgba(17, 18, 25, 0.06);
}

.overview-chart__bar--value {
    background: rgba(17, 18, 25, 0.1);
}

.overview-chart__bar--value.is-accent {
    background:
        repeating-linear-gradient(
            135deg,
            rgba(255, 255, 255, 0) 0 5px,
            rgba(255, 255, 255, 0.48) 5px 8px
        ),
        var(--primary);
}

.overview-chart__label {
    text-align: center;
    font-size: 0.94rem;
    color: #5f6472;
}

.dashboard-card--distribution {
    grid-column: 6 / span 4;
    min-height: 212px;
}

.distribution-card__summary {
    display: flex;
    align-items: flex-end;
    gap: 14px;
    margin-bottom: 18px;
}

.distribution-card__summary span {
    display: block;
    color: #747b8c;
    font-size: 0.95rem;
}

.distribution-card__summary strong {
    display: block;
    margin-top: 4px;
    font-size: 3rem;
    line-height: 0.9;
    letter-spacing: -0.08em;
}

.distribution-card__change {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    padding: 0 10px;
    border-radius: 999px;
    background: rgba(104, 232, 143, 0.18);
    color: #4bbf71;
    font-weight: 700;
}

.distribution-card__legend {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 18px;
    margin-bottom: 16px;
    color: #737989;
}

.distribution-card__legend span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.legend-dot {
    display: inline-block;
    width: 11px;
    height: 11px;
    border-radius: 50%;
}

.legend-dot--primary {
    background: var(--primary);
}

.legend-dot--muted {
    background: #8fb2b8;
}

.legend-dot--soft {
    background: rgba(17, 18, 25, 0.08);
}

.distribution-card__bars {
    display: grid;
    grid-template-columns: repeat(52, minmax(0, 1fr));
    gap: 4px;
}

.distribution-card__bars span {
    height: 34px;
    border-radius: 999px;
    background: rgba(17, 18, 25, 0.06);
}

.distribution-card__bars span.is-primary {
    background: var(--primary);
}

.distribution-card__bars span.is-muted {
    background: #8fb2b8;
}

.dashboard-card--file {
    grid-column: span 2;
    min-height: 172px;
}

.file-card {
    display: grid;
    gap: 20px;
}

.file-card__header {
    display: flex;
    align-items: center;
    gap: 14px;
}

.file-card__icon {
    position: relative;
    width: 46px;
    height: 50px;
    border-radius: 8px 8px 8px 2px;
    background: var(--primary);
}

.file-card__icon::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 16px;
    height: 16px;
    background: rgba(16, 18, 25, 0.16);
    clip-path: polygon(0 0, 100% 0, 100% 100%);
}

.file-card__header h3 {
    font-size: 1rem;
    letter-spacing: -0.04em;
}

.file-card__header p {
    margin-top: 6px;
    font-size: 0.94rem;
    font-weight: 700;
}

.file-card__header span {
    display: block;
    margin-top: 3px;
    color: #747b8c;
    font-size: 0.8rem;
}

.file-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: #5f6472;
}

.file-card__footer strong {
    color: var(--primary-strong);
}

.progress-line {
    height: 4px;
    border-radius: 999px;
    background: rgba(17, 18, 25, 0.08);
    overflow: hidden;
}

.progress-line span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: var(--primary);
}

.dashboard-card--table {
    grid-column: 1 / span 6;
    min-height: 332px;
}

.task-table {
    display: grid;
    gap: 18px;
}

.task-table__head div,
.task-table__row {
    display: grid;
    grid-template-columns: 1.7fr 1.7fr 0.9fr 1.3fr 1fr;
    gap: 14px;
    align-items: center;
}

.task-table__head {
    color: #8a90a0;
}

.task-table__head span {
    font-size: 0.98rem;
}

.task-table__body {
    display: grid;
    gap: 18px;
}

.task-table__name {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.task-avatar {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    flex-shrink: 0;
    border-radius: 50%;
    background:
        radial-gradient(circle at 35% 30%, rgba(255, 255, 255, 0.75), transparent 24%),
        linear-gradient(135deg, #d7864b 0%, #3d6a54 100%);
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 800;
}

.task-table__name strong,
.priority-item__copy strong,
.assistant-feature strong {
    display: block;
    font-size: 0.98rem;
    letter-spacing: -0.03em;
}

.task-table__name span span {
    display: block;
    margin-top: 4px;
    color: #9097a6;
}

.task-status {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.task-status i {
    display: inline-block;
    width: 44px;
    height: 14px;
    border-radius: 999px;
    background: repeating-linear-gradient(
        90deg,
        rgba(17, 18, 25, 0.08) 0 3px,
        transparent 3px 5px
    );
}

.task-status.is-completed i {
    background: repeating-linear-gradient(
        90deg,
        rgba(104, 232, 143, 0.9) 0 3px,
        rgba(104, 232, 143, 0.9) 3px 5px,
        rgba(17, 18, 25, 0.08) 5px 8px
    );
}

.task-status.is-in-progress i {
    background: repeating-linear-gradient(
        90deg,
        rgba(255, 92, 81, 0.9) 0 3px,
        rgba(255, 92, 81, 0.9) 3px 5px,
        rgba(17, 18, 25, 0.08) 5px 8px
    );
}

.task-status span {
    font-size: 0.86rem;
    color: #5f6472;
}

.receipt-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 0 14px;
    border-radius: 8px;
    background: rgba(104, 232, 143, 0.72);
    color: #15311e;
    font-weight: 700;
}

.dashboard-card--priority {
    grid-column: 7 / span 3;
    min-height: 332px;
}

.priority-list {
    display: grid;
    gap: 10px;
}

.priority-item {
    display: grid;
    grid-template-columns: auto auto 1fr auto;
    align-items: center;
    gap: 14px;
    padding: 14px;
    border-radius: 18px;
    background: rgba(17, 18, 25, 0.04);
}

.priority-item.is-active {
    background: rgba(104, 232, 143, 0.86);
}

.priority-item__rank {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.8);
    font-weight: 800;
    color: #434a59;
}

.priority-item__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.72);
    color: #101219;
}

.priority-item__icon svg {
    width: 22px;
    height: 22px;
}

.priority-item__copy span {
    display: block;
    margin-top: 4px;
    color: rgba(16, 18, 25, 0.58);
    font-size: 0.9rem;
}

.priority-item__menu {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    padding: 0;
    border-radius: 50%;
    background: transparent;
    color: inherit;
}

.priority-item__menu svg {
    width: 18px;
    height: 18px;
}

.dashboard-card--assistant {
    grid-column: 10 / span 3;
    grid-row: 3 / span 2;
    min-height: 332px;
}

.assistant-card__header {
    display: flex;
    justify-content: flex-start;
    margin-bottom: 20px;
}

.assistant-card__badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 42px;
    padding: 0 14px;
    border-radius: 14px;
    background: rgba(17, 18, 25, 0.05);
    color: var(--primary-strong);
    font-weight: 700;
}

.assistant-card__badge-mark {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background:
        radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.72), transparent 22%),
        linear-gradient(145deg, #1a222d 0%, #63e389 100%);
}

.assistant-card__badge svg {
    width: 16px;
    height: 16px;
}

.assistant-card__orb {
    width: 80px;
    height: 80px;
    margin: 4px auto 18px;
    border-radius: 50%;
    background:
        radial-gradient(circle at 35% 30%, rgba(255, 255, 255, 0.72), transparent 24%),
        radial-gradient(circle at 70% 72%, rgba(33, 124, 54, 0.42), transparent 26%),
        linear-gradient(145deg, rgba(104, 232, 143, 0.88), rgba(42, 166, 75, 0.94));
    box-shadow: inset 0 10px 16px rgba(255, 255, 255, 0.26), 0 18px 34px rgba(58, 171, 90, 0.22);
}

.assistant-card__copy {
    text-align: center;
}

.assistant-card__copy h2 {
    font-size: 1rem;
    letter-spacing: -0.04em;
}

.assistant-card__copy p {
    margin-top: 8px;
    color: var(--primary-strong);
    font-size: 0.98rem;
    line-height: 1.5;
}

.assistant-card__copy p span {
    color: #5dde85;
}

.assistant-card__composer {
    margin-top: 18px;
}

.assistant-card__field {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 132px;
    padding: 16px 14px 14px;
    border-radius: 18px;
    background: rgba(17, 18, 25, 0.04);
}

.assistant-card__field-icon {
    align-self: flex-start;
    color: #2a2f39;
    font-size: 1rem;
}

.assistant-card__field input {
    flex: 1;
    min-width: 0;
    align-self: flex-start;
    border: 0;
    background: transparent;
    color: var(--text);
}

.assistant-card__field input::placeholder {
    color: #9ca4b1;
}

.assistant-card__field input:focus {
    outline: none;
}

.assistant-card__submit {
    align-self: flex-end;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    padding: 0;
    border-radius: 10px;
    background: var(--primary);
    color: #101219;
}

.assistant-card__submit svg {
    width: 18px;
    height: 18px;
}

.assistant-card__tools {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 12px;
    color: #5f6472;
    font-size: 0.75rem;
}

.assistant-card__features {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-top: 14px;
}

.assistant-feature {
    padding: 14px 10px;
    border-radius: 16px;
    background: rgba(17, 18, 25, 0.04);
    text-align: center;
}

.assistant-feature span {
    display: block;
    margin-top: 8px;
    color: #8b92a2;
    font-size: 0.7rem;
    line-height: 1.45;
}

@media (max-width: 1460px) {
    .dashboard-topbar {
        flex-wrap: wrap;
    }

    .dashboard-nav-shell {
        width: 100%;
    }

    .dashboard-topbar__actions {
        width: 100%;
        justify-content: flex-end;
    }
}

@media (max-width: 1320px) {
    .dashboard-grid {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }

    .dashboard-card--metric,
    .dashboard-card--file {
        grid-column: span 2;
    }

    .dashboard-card--meeting,
    .dashboard-card--overview,
    .dashboard-card--distribution,
    .dashboard-card--table,
    .dashboard-card--priority,
    .dashboard-card--assistant {
        grid-column: span 3;
    }

    .dashboard-card--meeting {
        grid-row: auto;
    }

    .dashboard-card--assistant {
        grid-row: auto;
    }

    .assistant-card__features {
        grid-template-columns: 1fr;
    }

    .task-table__head div,
    .task-table__row {
        grid-template-columns: 1.4fr 1.4fr 0.9fr 1.2fr 1fr;
    }
}

@media (max-width: 1040px) {
    .dashboard-shell {
        padding: 22px 18px 30px;
    }

    .dashboard-topbar__actions {
        flex-wrap: wrap;
        justify-content: stretch;
    }

    .dashboard-search,
    .dashboard-profile {
        min-width: 0;
        width: 100%;
    }

    .dashboard-grid {
        grid-template-columns: 1fr;
    }

    .dashboard-card--metric,
    .dashboard-card--meeting,
    .dashboard-card--overview,
    .dashboard-card--distribution,
    .dashboard-card--file,
    .dashboard-card--table,
    .dashboard-card--priority,
    .dashboard-card--assistant {
        grid-column: auto;
    }

    .dashboard-card--meeting,
    .dashboard-card--overview,
    .dashboard-card--table,
    .dashboard-card--priority,
    .dashboard-card--assistant {
        min-height: 0;
    }

    .dashboard-card--assistant {
        grid-row: auto;
    }

    .overview-chart__bar {
        width: 52px;
    }

    .task-table__head {
        display: none;
    }

    .task-table__row {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 14px;
        border-radius: 18px;
        background: rgba(17, 18, 25, 0.04);
    }

    .task-table__row > span,
    .task-table__row > div {
        display: flex;
        justify-content: space-between;
        gap: 18px;
    }

    .assistant-card__field {
        min-height: 112px;
    }
}

@media (max-width: 720px) {
    .dashboard-shell {
        padding: 18px 14px 24px;
    }

    .dashboard-nav-shell {
        height: auto;
        border-radius: 28px;
        padding: 14px;
    }

    .dashboard-brand {
        width: 100%;
    }

    .dashboard-topbar__actions {
        gap: 10px;
    }

    .dashboard-icon-button {
        width: 58px;
        height: 58px;
    }

    .dashboard-profile {
        padding-right: 14px;
    }

    .dashboard-card {
        padding: 18px;
        border-radius: 22px;
    }

    .dashboard-hero h1 {
        font-size: 2.2rem;
    }

    .metric-card__body {
        flex-direction: column;
        align-items: flex-start;
    }

    .meeting-card__copy {
        padding-right: 72px;
    }

    .meeting-card__button {
        left: 20px;
        right: 20px;
    }

    .overview-chart {
        gap: 12px;
    }

    .overview-chart__plot {
        gap: 14px;
    }

    .overview-chart__bar {
        width: 40px;
    }

    .distribution-card__legend {
        justify-content: flex-start;
        flex-wrap: wrap;
    }

    .task-table__name {
        align-items: flex-start;
    }
}
