
:root {
    --ground: #101116;
    --panel: #1a1c24;
    --panel-2: #242632;
    --rule: #343744;
    --gold: #ff873d;
    --ink-3: #a8acb9
}

body {
    display: block !important;
    padding: 0 !important;
    margin: 0 !important;
    background: #101116 !important;
    color: #f4f4f7 !important
}

.kor-sidebar {
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    width: 225px;
    background: #16171e;
    border-right: 1px solid #30313b;
    z-index: 1000;
    padding: 24px 13px;
    overflow-y: auto;
    box-sizing: border-box;
    font: 14px 'Segoe UI', sans-serif
}

.kor-brand {
    font-weight: 900;
    font-size: 22px;
    color: #fff;
    margin: 0 10px 35px
}

.kor-brand span {
    color: #ff873d
}

.kor-navlabel {
    font-size: 10px;
    letter-spacing: 2px;
    color: #838592;
    margin: 25px 13px 12px
}

.kor-sidebar a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 14px;
    margin: 5px 0;
    border-radius: 10px;
    color: #bfc0c9;
    text-decoration: none;
    font-weight: 600
}

.kor-sidebar a:hover, .kor-sidebar a.active {
    background: #35251f;
    color: #ff944d
}

.kor-sidebar a .emoji {
    font-size: 18px
}

.kor-sidebar a .icon {
    width: 100%;
    flex: none;
    object-fit: contain
}

.kor-shell {
    margin-left: 225px;
    padding: 26px 30px;
    min-height: 100vh;
    box-sizing: border-box
}

.kor-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 0 24px;
    margin-bottom: 24px;
    border-bottom: 1px solid #343744
}

.kor-top h2 {
    font-size: 20px;
    margin: 0;
    color: #fff
}

.kor-status {
    font-size: 12px;
    color: #8fd6aa;
    background: #1b2c24;
    border: 1px solid #2b513d;
    padding: 8px 12px;
    border-radius: 25px
}

.kor-shell .app {
    width: 100% !important
}

.kor-shell .grid {
    gap: 18px !important
}

.kor-shell .card {
    width: auto !important;
    margin: 0 !important;
    background: #1a1c24 !important;
    border-radius: 14px !important;
    padding: 20px !important
}

.kor-shell .card:hover {
    border-color: #ff873d !important
}

.kor-shell .go {
    border-radius: 9px !important
}

.kor-shell .go:not(.alt) {
    background: #ff873d !important;
    color: #1b120b !important
}

.kor-shell header {
    border-color: #30313b !important
}

.kor-shell .chip.kind {
    color: #ffad73 !important
}

.kor-page {
    max-width: 1200px;
    margin: auto
}

.kor-hero {
    background: linear-gradient(110deg, #45271f, #24212b 65%, #1b1d26);
    padding: 36px;
    border: 1px solid #574039;
    border-radius: 20px;
    margin-bottom: 24px
}

.kor-hero h1 {
    font-size: 30px;
    margin: 0 0 10px
}

.kor-hero p {
    color: #c6c1c0;
    max-width: 600px
}

.kor-cards {
    display: grid;
    grid-template-columns:repeat(auto-fit, minmax(240px, 1fr));
    gap: 18px
}

.kor-tile {
    background: #1c1e27;
    border: 1px solid #333642;
    border-radius: 16px;
    padding: 24px
}

.kor-tile h3 {
    margin: 0 0 10px
}

.kor-tile p {
    color: #aeb1be;
    line-height: 1.6
}

.kor-tile a {
    color: #ff9859
}

@media (max-width: 780px) {
    .kor-sidebar {
        position: relative;
        width: 100%;
        height: auto;
        padding: 12px;
        display: flex;
        flex-wrap: wrap;
        gap: 4px
    }

    .kor-brand {
        margin: 10px
    }

    .kor-navlabel {
        display: none
    }

    .kor-sidebar a {
        padding: 9px
    }

    .kor-shell {
        margin-left: 0;
        padding: 15px
    }

    .kor-top {
        margin-bottom: 12px
    }

    .kor-shell .grid {
        grid-template-columns:1fr !important
    }
}

/* Signed-in user and sign-out, at the bottom of the sidebar (KorSidebar.razor). */
.kor-user { margin-top: 18px; padding: 14px 12px 6px; border-top: 1px solid #ffffff14; font-size: .8rem; color: #aab4c5; }
.kor-user form { margin-top: 8px; }
.kor-user button {
    width: 100%; min-height: 34px; border-radius: 8px; cursor: pointer; background: #252d3b; color: #e2e8f3;
    border: 1px solid #404b60; font: 600 .78rem 'Segoe UI', system-ui, sans-serif;
}
