:root {
    --tasks-ink: #0b1830;
    --tasks-muted: #64728a;
    --tasks-line: #dfe6f0;
    --tasks-blue: #316ff5;
    --tasks-blue-dark: #1e58d5;
    --tasks-mint: #39d3b2;
    --tasks-surface: #f4f7fb;
    --tasks-white: #fff;
    --tasks-shadow: 0 18px 52px rgba(25, 47, 84, .09);
}

html {
    scroll-behavior: smooth;
}

body.task-list-body {
    min-width: 320px;
    margin: 0;
    color: var(--tasks-ink);
    background: var(--tasks-surface);
    font-family: Inter, "Segoe UI Variable", "Segoe UI", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.5;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    scrollbar-color: #6f8199 #e6ebf2;
    scrollbar-width: thin;
}

body.task-list-body::-webkit-scrollbar {
    width: 12px;
}

body.task-list-body::-webkit-scrollbar-track {
    background: #e6ebf2;
}

body.task-list-body::-webkit-scrollbar-thumb {
    min-height: 48px;
    border: 3px solid #e6ebf2;
    border-radius: 999px;
    background: #6f8199;
}

body.task-list-body::-webkit-scrollbar-thumb:hover {
    background: #465b75;
}

.task-list-body *,
.task-list-body *::before,
.task-list-body *::after {
    box-sizing: border-box;
}

.task-list-body img,
.task-list-body svg {
    display: block;
}

.task-list-body a {
    color: inherit;
}

.task-list-shell {
    width: min(1240px, calc(100% - 48px));
    margin: 0 auto;
}

.task-list-body a.task-list-skip {
    position: fixed;
    z-index: 2000;
    top: 12px;
    left: 12px;
    padding: 12px 16px;
    border-radius: 10px;
    color: #fff;
    -webkit-text-fill-color: #fff;
    background: var(--tasks-blue-dark);
    font-size: 14px;
    font-weight: 750;
    text-decoration: none;
    transform: translateY(-160%);
    transition: transform .2s ease;
}

.task-list-body a.task-list-skip:focus {
    transform: translateY(0);
}

.task-list-header {
    position: sticky;
    z-index: 1000;
    top: 0;
    border-bottom: 1px solid rgba(20, 39, 70, .08);
    background: rgba(255, 255, 255, .95);
    box-shadow: 0 8px 30px rgba(14, 35, 70, .05);
    backdrop-filter: blur(18px);
}

.task-list-header__inner {
    display: flex;
    align-items: center;
    min-height: 76px;
    gap: 32px;
}

.task-list-logo {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
}

.task-list-logo img {
    width: 126px;
    height: auto;
}

.task-list-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    gap: clamp(20px, 2.4vw, 36px);
}

.task-list-nav a,
.task-list-login {
    position: relative;
    color: #354157;
    font-size: 14px;
    font-weight: 650;
    text-decoration: none;
    white-space: nowrap;
}

.task-list-nav a::after {
    position: absolute;
    right: 0;
    bottom: -9px;
    left: 0;
    height: 2px;
    border-radius: 2px;
    background: var(--tasks-blue);
    content: "";
    opacity: 0;
    transform: scaleX(.5);
    transition: opacity .18s ease, transform .18s ease;
}

.task-list-nav a:hover,
.task-list-nav a[aria-current="page"] {
    color: var(--tasks-blue);
}

.task-list-nav a:hover::after,
.task-list-nav a[aria-current="page"]::after {
    opacity: 1;
    transform: scaleX(1);
}

.task-list-header__actions {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 18px;
}

.task-list-primary,
.task-list-secondary {
    appearance: none;
    display: inline-flex;
    min-height: 52px;
    align-items: center;
    justify-content: center;
    padding: 0 24px;
    border: 1px solid transparent;
    border-radius: 14px;
    font-size: 15px;
    font-weight: 750;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: color .2s ease, background .2s ease, border-color .2s ease,
        box-shadow .2s ease, transform .2s ease;
}

.task-list-primary {
    color: #fff;
    background: linear-gradient(135deg, #3e7bff, #2863eb);
    box-shadow: 0 13px 28px rgba(47, 109, 246, .25);
}

.task-list-primary:hover {
    color: #fff;
    background: linear-gradient(135deg, #2f6ff7, #1f55d4);
    box-shadow: 0 16px 34px rgba(47, 109, 246, .31);
    transform: translateY(-1px);
}

.task-list-primary--small {
    min-height: 44px;
    padding-inline: 18px;
    border-radius: 12px;
    font-size: 14px;
}

.task-list-primary--header {
    border-color: #31578f;
    color: #fff;
    -webkit-text-fill-color: #fff;
    background: #31578f;
    box-shadow: 0 8px 20px rgba(35, 70, 119, .16);
}

.task-list-primary--header:hover {
    border-color: #294a7a;
    color: #fff;
    -webkit-text-fill-color: #fff;
    background: #294a7a;
    box-shadow: 0 10px 24px rgba(35, 70, 119, .2);
}

.task-list-secondary {
    border-color: rgba(255, 255, 255, .26);
    color: #eef4ff;
    background: rgba(255, 255, 255, .08);
}

.task-list-secondary:hover {
    border-color: rgba(255, 255, 255, .5);
    color: #fff;
    background: rgba(255, 255, 255, .14);
    transform: translateY(-1px);
}

.task-list-primary:focus-visible,
.task-list-secondary:focus-visible,
.task-list-nav a:focus-visible,
.task-list-card a:focus-visible,
.task-list-pagination a:focus-visible {
    outline: 3px solid rgba(74, 127, 255, .4);
    outline-offset: 3px;
}

.task-list-hero {
    position: relative;
    overflow: hidden;
    color: #fff;
    background:
        linear-gradient(125deg, rgba(7, 22, 43, .98), rgba(10, 38, 67, .97)),
        #07172a;
}

.task-list-hero::after {
    position: absolute;
    right: -14%;
    bottom: -70%;
    width: 760px;
    height: 760px;
    border: 1px solid rgba(111, 160, 255, .11);
    border-radius: 50%;
    content: "";
}

.task-list-hero__glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(4px);
    pointer-events: none;
}

.task-list-hero__glow--one {
    top: -180px;
    left: 42%;
    width: 520px;
    height: 520px;
    background: radial-gradient(circle, rgba(40, 111, 255, .38), transparent 68%);
}

.task-list-hero__glow--two {
    right: 2%;
    bottom: -230px;
    width: 470px;
    height: 470px;
    background: radial-gradient(circle, rgba(41, 207, 177, .18), transparent 69%);
}

.task-list-hero__inner {
    position: relative;
    z-index: 1;
    padding-block: 34px 76px;
}

.task-list-breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 52px;
    color: rgba(229, 237, 251, .59);
    font-size: 13px;
    gap: 10px;
}

.task-list-breadcrumbs a {
    color: rgba(229, 237, 251, .72);
    text-decoration: none;
}

.task-list-breadcrumbs a:hover {
    color: #fff;
}

.task-list-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(290px, .65fr);
    align-items: end;
    gap: clamp(48px, 8vw, 120px);
}

.task-list-eyebrow {
    display: inline-flex;
    align-items: center;
    margin-bottom: 18px;
    color: #72dfc9;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .11em;
    text-transform: uppercase;
}

.task-list-eyebrow::before {
    width: 7px;
    height: 7px;
    margin-right: 10px;
    border-radius: 50%;
    background: var(--tasks-mint);
    box-shadow: 0 0 0 5px rgba(57, 211, 178, .11);
    content: "";
}

.task-list-hero h1 {
    max-width: 830px;
    margin: 0;
    font-size: clamp(44px, 6vw, 76px);
    font-weight: 850;
    letter-spacing: -.052em;
    line-height: .99;
}

.task-list-hero__grid > div > p {
    max-width: 760px;
    margin: 27px 0 0;
    color: rgba(226, 235, 249, .74);
    font-size: clamp(17px, 1.7vw, 20px);
    line-height: 1.65;
}

.task-list-hero__actions {
    display: flex;
    flex-wrap: wrap;
    margin-top: 34px;
    gap: 12px;
}

.task-list-summary {
    position: relative;
    min-height: 245px;
    padding: 30px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 28px;
    background: linear-gradient(145deg, rgba(255, 255, 255, .12), rgba(255, 255, 255, .055));
    box-shadow: 0 30px 70px rgba(0, 0, 0, .16);
    backdrop-filter: blur(18px);
}

.task-list-summary::after {
    position: absolute;
    right: -42px;
    bottom: -58px;
    width: 170px;
    height: 170px;
    border-radius: 50%;
    background: rgba(55, 214, 181, .09);
    content: "";
}

.task-list-summary span {
    color: rgba(230, 239, 253, .66);
    font-size: 12px;
    font-weight: 750;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.task-list-summary strong {
    display: block;
    margin-top: 18px;
    color: #fff;
    font-size: clamp(62px, 7vw, 92px);
    font-weight: 850;
    letter-spacing: -.06em;
    line-height: .9;
}

.task-list-summary p {
    position: relative;
    z-index: 1;
    max-width: 230px;
    margin: 22px 0 0;
    color: rgba(230, 239, 253, .69);
    font-size: 14px;
    line-height: 1.55;
}

.task-list-section {
    padding-block: 76px 92px;
    background:
        radial-gradient(circle at 0 15%, rgba(67, 120, 247, .07), transparent 32rem),
        var(--tasks-surface);
}

.task-list-section__head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    margin-bottom: 34px;
    gap: 30px;
}

.task-list-section__head span {
    color: var(--tasks-blue);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.task-list-section__head h2 {
    margin: 6px 0 0;
    font-size: clamp(34px, 4vw, 52px);
    font-weight: 820;
    letter-spacing: -.045em;
    line-height: 1.05;
}

.task-list-section__head > p {
    max-width: 410px;
    margin: 0 0 5px;
    color: var(--tasks-muted);
    font-size: 14px;
    line-height: 1.6;
    text-align: right;
}

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

.task-list-card {
    position: relative;
    display: flex;
    min-height: 340px;
    flex-direction: column;
    padding: 28px;
    overflow: hidden;
    border: 1px solid var(--tasks-line);
    border-radius: 24px;
    background: var(--tasks-white);
    box-shadow: 0 10px 32px rgba(26, 47, 82, .055);
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.task-list-card::before {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, #3374fb, #49d7b8);
    content: "";
    opacity: 0;
    transition: opacity .2s ease;
}

.task-list-card:hover {
    border-color: #cbd9ec;
    box-shadow: var(--tasks-shadow);
    transform: translateY(-3px);
}

.task-list-card:hover::before {
    opacity: 1;
}

.task-list-card__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #8a96a9;
    font-size: 12px;
    font-weight: 700;
    gap: 12px;
}

.task-list-card__status {
    display: inline-flex;
    align-items: center;
    color: #267c69;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.task-list-card__status i {
    width: 7px;
    height: 7px;
    margin-right: 8px;
    border-radius: 50%;
    background: var(--tasks-mint);
    box-shadow: 0 0 0 4px rgba(57, 211, 178, .12);
}

.task-list-card h3 {
    margin: 24px 0 0;
    font-size: clamp(22px, 2.2vw, 30px);
    font-weight: 790;
    letter-spacing: -.035em;
    line-height: 1.18;
}

.task-list-card h3 a {
    text-decoration: none;
}

.task-list-card h3 a::after {
    position: absolute;
    z-index: 0;
    inset: 0;
    content: "";
}

.task-list-card h3 a:hover {
    color: var(--tasks-blue);
}

.task-list-card__tags {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    margin-top: 22px;
    gap: 8px;
}

.task-list-card__tags a,
.task-list-card__tags span {
    display: inline-flex;
    min-height: 31px;
    align-items: center;
    padding: 5px 10px;
    border: 1px solid #e2e8f1;
    border-radius: 999px;
    color: #52617a;
    background: #f8faff;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
}

.task-list-card__tags a {
    color: #285fcf;
    border-color: #cfddfa;
    background: #f3f7ff;
}

.task-list-card__tags a:hover {
    border-color: #9dbafa;
    background: #eaf1ff;
}

.task-list-card__meta {
    display: flex;
    flex-wrap: wrap;
    margin-top: auto;
    padding-top: 27px;
    color: #7a879a;
    font-size: 12px;
    gap: 9px 18px;
}

.task-list-card__meta span:not(:first-child)::before {
    display: inline-block;
    width: 3px;
    height: 3px;
    margin: 0 9px 3px 0;
    border-radius: 50%;
    background: #b8c3d2;
    content: "";
}

.task-list-card__link {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    margin-top: 20px;
    color: var(--tasks-blue);
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
    gap: 8px;
}

.task-list-card__link svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
    transition: transform .18s ease;
}

.task-list-card:hover .task-list-card__link svg {
    transform: translateX(3px);
}

.task-list-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 46px;
    gap: 18px;
}

.task-list-pagination__pages {
    display: flex;
    align-items: center;
    gap: 7px;
}

.task-list-pagination a {
    display: inline-flex;
    min-width: 42px;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    padding: 0 11px;
    border: 1px solid #d7e0ec;
    border-radius: 11px;
    color: #52627a;
    background: #fff;
    font-size: 13px;
    font-weight: 750;
    text-decoration: none;
    transition: color .18s ease, background .18s ease, border-color .18s ease;
}

.task-list-pagination a:hover {
    border-color: #a8bef0;
    color: var(--tasks-blue);
    background: #f5f8ff;
}

.task-list-pagination a[aria-current="page"] {
    border-color: var(--tasks-blue);
    color: #fff;
    background: var(--tasks-blue);
    box-shadow: 0 8px 20px rgba(47, 109, 246, .2);
}

.task-list-pagination__pages span {
    color: #929eb0;
}

.task-list-pagination .task-list-pagination__edge {
    min-width: 88px;
}

.task-list-empty {
    padding: 70px 30px;
    border: 1px solid var(--tasks-line);
    border-radius: 26px;
    background: #fff;
    text-align: center;
}

.task-list-empty h2 {
    margin: 0;
    font-size: 30px;
}

.task-list-empty p {
    margin: 12px 0 28px;
    color: var(--tasks-muted);
}

.task-list-cta {
    color: #fff;
    background: #0a1c31;
}

.task-list-cta__inner {
    display: flex;
    min-height: 270px;
    align-items: center;
    justify-content: space-between;
    padding-block: 48px;
    gap: 50px;
}

.task-list-cta span {
    color: #6fdbc6;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.task-list-cta h2 {
    max-width: 780px;
    margin: 10px 0 0;
    font-size: clamp(32px, 4vw, 50px);
    font-weight: 820;
    letter-spacing: -.045em;
    line-height: 1.08;
}

.task-list-primary--light {
    flex: 0 0 auto;
    color: #17325d !important;
    -webkit-text-fill-color: #17325d;
    background: #fff;
    box-shadow: none;
}

.task-list-primary--light:hover {
    color: #17325d !important;
    -webkit-text-fill-color: #17325d;
    background: #eef4ff;
    box-shadow: none;
}

@media (max-width: 980px) {
    .task-list-header__inner {
        flex-wrap: wrap;
        padding-block: 13px;
        gap: 12px 24px;
    }

    .task-list-nav {
        order: 3;
        width: 100%;
        justify-content: flex-start;
        margin: 0;
        padding: 3px 0 7px;
        overflow-x: auto;
        scrollbar-width: none;
    }

    .task-list-nav::-webkit-scrollbar {
        display: none;
    }

    .task-list-header__actions {
        margin-left: auto;
    }

    .task-list-hero__grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .task-list-summary {
        min-height: 0;
    }

    .task-list-summary strong {
        font-size: 68px;
    }
}

@media (max-width: 760px) {
    .task-list-shell {
        width: min(100% - 32px, 1240px);
    }

    .task-list-header__inner {
        min-height: 66px;
    }

    .task-list-logo img {
        width: 112px;
    }

    .task-list-login {
        display: none;
    }

    .task-list-primary--small {
        min-height: 40px;
        padding-inline: 13px;
        font-size: 12px;
    }

    .task-list-nav {
        gap: 22px;
    }

    .task-list-nav a {
        font-size: 12px;
    }

    .task-list-hero__inner {
        padding-block: 22px 54px;
    }

    .task-list-breadcrumbs {
        margin-bottom: 38px;
    }

    .task-list-hero h1 {
        font-size: clamp(42px, 12vw, 60px);
    }

    .task-list-hero__grid > div > p {
        font-size: 16px;
    }

    .task-list-hero__actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .task-list-summary {
        padding: 25px;
        border-radius: 22px;
    }

    .task-list-section {
        padding-block: 56px 68px;
    }

    .task-list-section__head {
        display: block;
    }

    .task-list-section__head > p {
        margin-top: 14px;
        text-align: left;
    }

    .task-list-grid {
        grid-template-columns: 1fr;
    }

    .task-list-card {
        min-height: 310px;
        padding: 23px;
        border-radius: 20px;
    }

    .task-list-card h3 {
        font-size: 25px;
    }

    .task-list-pagination {
        align-items: stretch;
        flex-wrap: wrap;
    }

    .task-list-pagination__pages {
        order: -1;
        width: 100%;
        justify-content: center;
    }

    .task-list-pagination .task-list-pagination__edge {
        flex: 1 1 0;
    }

    .task-list-cta__inner {
        display: block;
        min-height: 0;
        padding-block: 56px;
    }

    .task-list-cta h2 {
        font-size: 36px;
    }

    .task-list-cta .task-list-primary {
        width: 100%;
        margin-top: 28px;
    }
}

@media (max-width: 430px) {
    .task-list-header__actions .task-list-primary {
        display: none;
    }

    .task-list-nav {
        padding-bottom: 5px;
    }

    .task-list-hero h1 {
        font-size: 42px;
    }

    .task-list-card__meta {
        display: grid;
        gap: 6px;
    }

    .task-list-card__meta span:not(:first-child)::before {
        display: none;
    }

    .task-list-pagination__pages a {
        min-width: 38px;
        min-height: 38px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .task-list-body *,
    .task-list-body *::before,
    .task-list-body *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
    }
}

@media print {
    .task-list-header,
    .task-list-hero__actions,
    .task-list-cta,
    .rustud-site-footer {
        display: none !important;
    }

    .task-list-hero {
        color: #000;
        background: #fff;
    }

    .task-list-hero p,
    .task-list-breadcrumbs,
    .task-list-summary p,
    .task-list-summary span {
        color: #333;
    }

    .task-list-summary {
        border: 1px solid #bbb;
        color: #000;
        background: #fff;
        box-shadow: none;
    }

    .task-list-card {
        break-inside: avoid;
        box-shadow: none;
    }
}
