:root{
    --bg-0: #0e1117;
    --bg-1: #11151c;
    --bg-2: #161b22;
    --card: #1b2330;
    --line: #2a3444;
    --text: #e5e7eb;
    --muted: #9aa3b2;
    --bolt: #facc15;
    --accent: #7dd3fc;
    --radius: 16px;
    --shadow: 0 10px 24px rgba(0, 0, 0, .35);
}

*{
    box-sizing: border-box;
}

html, body{
    height: 100%;
}

body{
    margin: 0;
    background: linear-gradient(180deg, var(--bg-0), var(--bg-1));
    color: var(--text);
    font: 16px/1.6 Inter, ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto;
    letter-spacing: .2px;
}

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

.container{
    max-width: 1120px;
    margin: 0 auto;
    padding: 20px;
}

header{
    position: sticky;
    top: 0;
    z-index: 20;
    backdrop-filter: saturate(140%) blur(8px);
    background: rgba(14, 17, 23, .85);
    border-bottom: 1px solid var(--line);
}

.nav{
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 20px;
}

.brand{
    display: flex;
    align-items: center;
    gap: 10px;
    margin-right: auto;
    font-weight: 800;
}

.bolt{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 10px;
    background: var(--bolt);
    color: #111;
    font-weight: 900;
    box-shadow: inset 0 -2px 0 #0003;
}

.tab{
    padding: 8px 12px;
    border-radius: 999px;
    border: 1px solid var(--line);
    color: var(--muted);
    transition: .2s;
    cursor: pointer;
    user-select: none;
    display: flex;
    gap: 8px;
    align-items: center;
}

.tab[aria-selected="true"]{
    color: #111;
    background: var(--bolt);
    border-color: transparent;
}

.pc{
    display: flex;
    gap: 16px;
}

.mobile{
    display: none;
}

#menu-btn{
    padding: 8px;
    border-radius: 8px;
    border: 1px solid var(--line);
    background: var(--card);
    color: var(--text);
    cursor: pointer;
    transition: .2s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

#menu{
    position: absolute;
    top: 60px;
    right: 20px;
    border: 1px solid var(--line);
    background: var(--card);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    display: none;
    flex-direction: column;
    min-width: 160px;
    gap: 5px;
}

@media(max-width:860px){
    .pc{
        gap: 8px;
    }
}

@media(max-width:800px){
    .pc{
        display: none;
    }

    .mobile{
        display: block;
        margin-left: auto;
    }
}

.hero{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(4, auto);
    grid-column-gap: 24px;
    grid-row-gap: 5px;
    align-items: center;
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: linear-gradient(180deg, var(--bg-2), var(--bg-1));
    box-shadow: var(--shadow);
    margin-top: 22px;
}

.hero > .pill{
    grid-area: 1 / 1 / 2 / 2;
}

.hero > h1{
    grid-area: 2 / 1 / 3 / 2;
    margin: 0;
}

.hero > .muted{
    grid-area: 3 / 1 / 4 / 2;
    margin: 0;
}

.hero > .actions{
    grid-area: 4 / 1 / 5 / 2;
}

.hero > .hero-stats{
    grid-area: 1 / 2 / 5 / 3;
}

.hero h1{
    font-size: 28px;
    letter-spacing: .4px;
}

.muted{
    color: var(--muted);
}

.pill{
    display: inline-flex;
    gap: 8px;
    align-items: center;
    padding: 8px 12px;
    border-radius: 999px;
    border: 1px solid var(--line);
    width: fit-content;
}

.status-dot{
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ef4444;
    box-shadow: 0 0 0 3px #ef444422;
}

.actions{
    display: flex;
    gap: 10px;
}

.btn{
    padding: 10px 14px;
    border-radius: 12px;
    border: 1px solid var(--line);
    background: var(--card);
    color: var(--text);
    cursor: pointer;
    transition: .2s;
    display: inline-flex;
    gap: 8px;
    align-items: center;
}

.btn:hover{
    transform: translateY(-1px);
    box-shadow: 0 6px 14px rgba(0, 0, 0, .25);
}

.btn.primary{
    background: var(--bolt);
    color: #111;
    border-color: transparent;
    font-weight: 700;
}

@media(max-width:900px){
    .hero{
        display: grid;
        grid-template-columns: auto;
        grid-template-rows: repeat(5, auto);
        grid-column-gap: 24px;
        grid-row-gap: 5px;
    }

    .hero > .pill{
        grid-area: 1 / 1 / 2 / 2;
    }

    .hero > h1{
        grid-area: 2 / 1 / 3 / 2;
    }

    .hero > .muted{
        grid-area: 3 / 1 / 4 / 2;
    }

    .hero > .actions{
        grid-area: 5 / 1 / 6 / 2;
    }

    .hero > .hero-stats{
        grid-area: 4 / 1 / 5 / 2;
        margin: 10px 0;
    }   
}

.grid{
    display: grid;
    gap: 16px;
}

@media(min-width:900px){
    .grid.cols-3{
        grid-template-columns: repeat(3, 1fr);
    }
}

@media(min-width:700px){
    .grid.cols-2{
        grid-template-columns: repeat(2, 1fr);
    }
}

.card{
    border: 1px solid var(--line);
    background: linear-gradient(180deg, var(--bg-2), var(--bg-1));
    padding: 18px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.card h3{
    margin: 0 0 6px;
    font-size: 18px;
}

.list{
    display: grid;
    gap: 8px;
    margin: 8px 0 0;
    padding: 0 0 0 18px;
}

.tabs{
    margin-top: 18px;
}

section[role="tabpanel"]{
    display: none;
    margin-top: 18px;
}

section[role="tabpanel"][data-active="true"]{
    display: block;
}

.acc{
    border: 1px solid var(--line);
    border-radius: 12px;
    overflow: hidden;
}

.acc-item+.acc-item{
    border-top: 1px solid var(--line);
}

.acc-head{
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    cursor: pointer;
    background: var(--bg-2);
}

.acc-head:hover{
    background: #1d2430;
}

.acc-body{
    padding: 0 16px 16px;
    display: none;
}

.acc-item[data-open="true"] .acc-body{
    display: block;
}

.row{
    display: flex;
    gap: 10px;
    align-items: center;
}

.two{
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

@media(min-width:850px){
    .two{
        grid-template-columns: 1fr 1fr;
    }
}

.input,
textarea,
select{
    width: 100%;
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid var(--line);
    background: var(--card);
    color: var(--text);
}

.hint{
    font-size: 12px;
    color: var(--muted);
}

footer{
    margin: 40px 0 20px;
    color: var(--muted);
    text-align: center;
}

.tag{
    display: inline-block;
    padding: 4px 8px;
    border-radius: 999px;
    background: #111;
    border: 1px solid var(--line);
    color: var(--muted);
    font-size: 12px;
}

.mini{
    font-size: 13px;
    color: var(--muted);
}

.hero-stats{
    display: grid;
    gap: 8px;
}