:root {
    --skan-blue: #0f548c;
    --skan-dark: #003d59;
    --skan-green: #006e64;
    --skan-bg: #f6f8fb;
    --skan-card: #ffffff;
    --skan-muted: #657084;
    --skan-border: rgba(15, 84, 140, .12);
}

.sk-app-shell {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 270px minmax(0, 1fr);
    background: var(--skan-bg);
}

.sk-app-sidebar {
    position: sticky;
    top: 0;
    height: 100vh;
    padding: 24px;
    background: #ffffff;
    border-right: 1px solid var(--skan-border);
    overflow-y: auto;
    z-index: 20;
}

.sk-app-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--skan-dark);
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 950;
}

    .sk-app-brand:hover {
        color: var(--skan-dark);
        text-decoration: none;
    }

    .sk-app-brand span {
        width: 42px;
        height: 42px;
        display: grid;
        place-items: center;
        flex: 0 0 42px;
        border-radius: 15px;
        color: #ffffff;
        background: linear-gradient(135deg, var(--skan-blue), var(--skan-green));
    }

    .sk-app-brand strong {
        white-space: nowrap;
    }

.sk-app-menu {
    display: grid;
    gap: 8px;
    margin-top: 34px;
}

    .sk-app-menu a {
        min-height: 46px;
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 0 14px;
        border-radius: 16px;
        color: #5f6d82;
        text-decoration: none;
        font-weight: 850;
        line-height: 1.15;
        transition: background-color .16s ease, color .16s ease, transform .16s ease;
    }

        .sk-app-menu a > span:first-child {
            width: 24px;
            min-width: 24px;
            height: 24px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
        }

        .sk-app-menu a i {
            width: 22px;
            min-width: 22px;
            display: inline-block;
            color: var(--skan-blue);
            text-align: center;
            font-size: 1rem;
            line-height: 1;
            opacity: .9;
        }

        .sk-app-menu a.active,
        .sk-app-menu a:hover {
            color: var(--skan-dark);
            background: rgba(15, 84, 140, .08);
            text-decoration: none;
        }

        .sk-app-menu a:hover {
            transform: translateX(2px);
        }

        .sk-app-menu a.active i {
            color: var(--skan-dark);
            opacity: 1;
        }

.sk-app-topbar {
    min-height: 112px;
    padding: 24px 34px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    background: rgba(255, 255, 255, .78);
    border-bottom: 1px solid var(--skan-border);
    backdrop-filter: blur(14px);
}

.sk-app-kicker {
    color: var(--skan-green);
    font-size: .84rem;
    font-weight: 950;
}

.sk-app-topbar h1 {
    margin: 6px 0 0;
    color: #111827;
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    line-height: 1.08;
    letter-spacing: -.04em;
}

.sk-app-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.sk-app-action,
.sk-app-action-light {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 18px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 900;
}

.sk-app-action {
    color: #ffffff;
    background: linear-gradient(135deg, var(--skan-blue), var(--skan-green));
    box-shadow: 0 16px 34px rgba(0, 61, 89, .16);
}

.sk-app-action-light {
    color: var(--skan-dark);
    background: #ffffff;
    border: 1px solid var(--skan-border);
}

.sk-app-content {
    padding: 28px 34px 54px;
}

.sk-dash-grid,
.sk-skeleton-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-bottom: 22px;
}

.sk-dash-stat,
.sk-panel,
.sk-request-card,
.sk-form-panel,
.sk-skeleton-card {
    background: #ffffff;
    border: 1px solid var(--skan-border);
    box-shadow: 0 20px 60px rgba(15, 84, 140, .08);
    border-radius: 26px;
}

.sk-dash-stat {
    padding: 24px;
}

    .sk-dash-stat span {
        display: block;
        color: var(--skan-muted);
        font-weight: 850;
    }

    .sk-dash-stat strong {
        display: block;
        margin-top: 12px;
        color: var(--skan-dark);
        font-size: 2.2rem;
        line-height: 1;
        font-weight: 950;
    }

.sk-panel,
.sk-form-panel {
    padding: 26px;
}

.sk-panel-head {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: flex-start;
    margin-bottom: 22px;
}

    .sk-panel-head span {
        color: var(--skan-green);
        font-weight: 950;
        font-size: .82rem;
    }

    .sk-panel-head h2 {
        margin: 6px 0 0;
        font-size: 1.45rem;
        letter-spacing: -.03em;
    }

    .sk-panel-head a {
        color: var(--skan-blue);
        font-weight: 900;
        text-decoration: none;
    }

.sk-request-list {
    display: grid;
    gap: 12px;
}

.sk-request-row {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding: 16px;
    border-radius: 18px;
    background: #f8fbfd;
}

    .sk-request-row h3,
    .sk-request-card h3 {
        margin: 0;
        color: #111827;
        font-weight: 950;
    }

    .sk-request-row p,
    .sk-request-card p,
    .sk-muted {
        color: var(--skan-muted);
        line-height: 1.65;
    }

    .sk-request-row a,
    .sk-request-card a {
        color: var(--skan-blue);
        font-weight: 900;
        text-decoration: none;
        white-space: nowrap;
    }

.sk-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

    .sk-tags span,
    .sk-request-card-head span,
    .sk-request-card-head small {
        min-height: 28px;
        display: inline-flex;
        align-items: center;
        padding: 0 10px;
        border-radius: 999px;
        color: var(--skan-dark);
        background: #dff0f7;
        font-size: .78rem;
        font-weight: 900;
    }

.sk-toolbar {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 18px;
}

.sk-search {
    width: min(520px, 100%);
    min-height: 48px;
    border-radius: 999px;
    border: 1px solid var(--skan-border);
    padding: 0 18px;
    outline: none;
}

.sk-request-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.sk-request-card {
    padding: 22px;
}

.sk-request-card-head,
.sk-request-card-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.sk-request-card h3 {
    margin-top: 18px;
}

.sk-request-card-foot {
    padding-top: 16px;
    margin-top: 16px;
    border-top: 1px solid var(--skan-border);
}

.sk-skeleton-card {
    min-height: 140px;
    background: linear-gradient(90deg, #ffffff, #f2f6f9, #ffffff);
    background-size: 240% 100%;
    animation: sk-pulse 1.2s ease infinite;
}

@keyframes sk-pulse {
    to {
        background-position: -240% 0;
    }
}

@media (max-width: 980px) {
    .sk-app-shell {
        display: flex;
        flex-direction: column;
        padding-bottom: 84px;
    }

    .sk-app-main {
        min-width: 0;
    }

    .sk-app-sidebar {
        position: fixed;
        left: 10px;
        right: 10px;
        bottom: 10px;
        top: auto;
        height: auto;
        min-height: 0;
        padding: 8px;
        border: 1px solid var(--skan-border);
        border-radius: 24px;
        box-shadow: 0 18px 46px rgba(15, 84, 140, .18);
        overflow: hidden;
    }

    .sk-app-brand {
        display: none;
    }

    .sk-app-menu {
        display: flex;
        gap: 4px;
        margin-top: 0;
        overflow-x: auto;
        scrollbar-width: none;
    }

        .sk-app-menu::-webkit-scrollbar {
            display: none;
        }

        .sk-app-menu a {
            min-width: 74px;
            min-height: 58px;
            flex: 0 0 auto;
            flex-direction: column;
            justify-content: center;
            gap: 5px;
            padding: 7px 10px;
            border-radius: 18px;
            font-size: .72rem;
            line-height: 1.05;
            text-align: center;
            white-space: nowrap;
        }

            .sk-app-menu a > span:first-child {
                width: auto;
                min-width: 0;
                height: auto;
            }

            .sk-app-menu a i {
                width: auto;
                min-width: 0;
                font-size: 1.05rem;
            }

            .sk-app-menu a:hover {
                transform: none;
            }

    .sk-app-topbar {
        min-height: 86px;
        padding: 18px;
        align-items: flex-start;
        flex-direction: column;
    }

    .sk-app-content,
    .sk-app-topbar {
        padding-left: 18px;
        padding-right: 18px;
    }

    .sk-dash-grid,
    .sk-skeleton-grid,
    .sk-request-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 520px) {
    .sk-app-content {
        padding: 18px 14px 42px;
    }

    .sk-app-topbar {
        padding: 16px 14px;
    }

        .sk-app-topbar h1 {
            font-size: 1.45rem;
        }

    .sk-app-menu a {
        min-width: 66px;
        font-size: .68rem;
    }

    .sk-toolbar,
    .sk-panel-head,
    .sk-request-row,
    .sk-request-card-head,
    .sk-request-card-foot {
        align-items: flex-start;
        flex-direction: column;
    }
}
