.workspace-content{
    padding:24px;
}

.command-screen{
    display:grid;
    gap:22px;
    max-width:1400px;
    margin:0 auto;
}

.command-header{
    background:
    linear-gradient(
        180deg,
        rgba(255,255,255,.08),
        rgba(255,255,255,.02)
    );

    border:1px solid rgba(255,255,255,.12);
    border-radius:14px;
    padding:26px;
}

.command-header small{
    letter-spacing:.18em;
    font-size:.72rem;
    opacity:.75;
}

.command-header h1{
    margin:8px 0;
    font-size:2rem;
}

.command-header p{
    opacity:.8;
    margin:0;
}


.command-section{
    background:
    rgba(255,255,255,.035);

    border:
    1px solid rgba(255,255,255,.1);

    border-radius:12px;
    overflow:hidden;
}


.command-section-header{
    padding:14px 18px;
    background:
    rgba(255,255,255,.04);
}


.command-section-header h2{
    margin:0;
    font-size:.85rem;
    letter-spacing:.18em;
    text-transform:uppercase;
}


.command-section-body{
    padding:18px;
    display:grid;
    gap:12px;
}


.command-card{

    background:
    rgba(0,0,0,.18);

    border:
    1px solid rgba(255,255,255,.08);

    border-radius:10px;

    padding:14px;

}


.command-card strong{

    display:block;
    margin-bottom:6px;

}


.status-good{
    color:#72e6a5;
}


.status-warning{
    color:#ffd36a;
}


.status-danger{
    color:#ff7b7b;
}

.command-result-card{
    display:flex;
    flex-direction:column;
    gap:6px;
    padding:12px 14px;
    margin:6px 0;
    border:1px solid rgba(255,255,255,.08);
    border-radius:10px;
    background:rgba(255,255,255,.04);
}

.command-result-title{
    font-weight:700;
    font-size:14px;
}

.command-result-description{
    opacity:.7;
    font-size:13px;
}

.command-result-type{
    width:max-content;
    padding:3px 8px;
    border-radius:999px;
    font-size:11px;
    opacity:.65;
    border:1px solid rgba(255,255,255,.12);
}


/* SEARCH RESULT STANDARDIZATION */

.command-palette-results{
    display:flex;
    flex-direction:column;
    gap:8px;
    padding:12px;
    max-height:420px;
    overflow-y:auto;
}

.command-result{
    width:100%;
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:16px;
    padding:14px 16px;
    border-radius:12px;
    border:1px solid rgba(255,255,255,.10);
    background:rgba(255,255,255,.03);
    color:inherit;
    text-align:left;
    cursor:pointer;
    transition:.15s ease;
}

.command-result:hover,
.command-result.is-active{
    background:rgba(255,255,255,.08);
    border-color:rgba(255,255,255,.25);
}

.command-result-main{
    display:flex;
    flex-direction:column;
    gap:4px;
}

.command-result-main strong{
    font-size:15px;
    font-weight:600;
}

.command-result-main small{
    font-size:13px;
    opacity:.65;
}

.command-result-meta{
    font-size:11px;
    text-transform:uppercase;
    letter-spacing:.08em;
    opacity:.55;
}

.command-empty{
    padding:24px;
    text-align:center;
    opacity:.65;
}


/* COMMAND PALETTE */

.command-palette{
    position:fixed;
    inset:0;
    z-index:9999;
    display:flex;
    align-items:center;
    justify-content:center;
}

.command-palette[hidden]{
    display:none;
}

.command-palette-backdrop{
    position:absolute;
    inset:0;
    background:rgba(0,0,0,.55);
    border:0;
}

.command-palette-dialog{
    position:relative;
    width:min(720px,90vw);
    max-height:80vh;
    overflow:hidden;

    background:#111821;
    border:1px solid rgba(255,255,255,.14);
    border-radius:18px;

    box-shadow:
        0 30px 80px rgba(0,0,0,.45);

    display:flex;
    flex-direction:column;
}

.command-palette-header{
    display:flex;
    align-items:center;
    gap:14px;

    padding:18px 22px;
    border-bottom:1px solid rgba(255,255,255,.1);
}

.command-palette-symbol{
    font-size:24px;
}

.command-palette-header div{
    flex:1;
}

.command-palette-header p{
    margin:0;
    opacity:.7;
    font-size:.8rem;
}

.command-palette-header h2{
    margin:2px 0 0;
    font-size:1rem;
}

.command-palette-search{
    padding:14px 18px;
}

.command-palette-search input{
    width:100%;
    padding:14px 16px;

    background:#081018;
    color:white;

    border:1px solid rgba(255,255,255,.18);
    border-radius:10px;

    font-size:1rem;
}

.command-palette-results{
    padding:0 18px 18px;

    display:flex;
    flex-direction:column;
    gap:8px;

    overflow-y:auto;
}

.command-result{
    width:100%;

    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:16px;

    padding:14px 16px;

    text-align:left;

    background:#151e29;
    color:white;

    border:1px solid rgba(255,255,255,.12);
    border-radius:12px;

    cursor:pointer;
}

.command-result:hover,
.command-result.is-active{
    border-color:rgba(255,255,255,.35);
}

.command-result-main{
    display:flex;
    flex-direction:column;
    gap:4px;
}

.command-result-main strong{
    font-size:.95rem;
}

.command-result-main small{
    opacity:.7;
}

.command-result-meta{
    font-size:.7rem;
    letter-spacing:.12em;
    text-transform:uppercase;
    opacity:.65;
}

.command-palette-footer{
    display:flex;
    justify-content:flex-end;
    gap:18px;

    padding:12px 18px;

    border-top:1px solid rgba(255,255,255,.1);
    opacity:.7;
}

