.search120-top-button{
    min-width:32px;
    height:32px;
    display:inline-grid;
    place-items:center;
    padding:0 9px;
    border:1px solid var(--line);
    border-radius:10px;
    background:#fff;
    color:#282824!important;
    font-size:14px;
    font-weight:800
}
.search120-top-button:hover{
    border-color:#181818;
    background:#fafaf8
}
.search120-main-form{
    display:grid;
    grid-template-columns:minmax(220px,1fr) 190px auto;
    gap:8px;
    max-width:980px;
    margin:15px 0 18px
}
.search120-main-input{
    min-height:47px;
    font-size:16px;
    font-weight:650
}
.search120-start{
    max-width:980px
}
.search120-kbd{
    padding:5px 8px;
    border:1px solid var(--line);
    border-bottom-width:2px;
    border-radius:7px;
    background:#fff;
    color:var(--muted);
    font-size:9px;
    font-weight:750
}
.search120-command-grid{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:7px
}
.search120-command-grid>a{
    display:grid;
    grid-template-columns:30px minmax(0,1fr);
    gap:9px;
    align-items:center;
    padding:10px 11px;
    border:1px solid var(--line);
    border-radius:11px;
    background:#fcfcfa
}
.search120-command-grid>a:hover{
    border-color:#181818
}
.search120-command-grid>a>span{
    text-align:center;
    font-size:16px
}
.search120-command-grid strong,
.search120-command-grid small{
    display:block
}
.search120-command-grid strong{
    font-size:11px
}
.search120-command-grid small{
    margin-top:2px;
    color:var(--muted);
    font-size:9px
}
.search120-summary{
    margin:0 0 11px;
    color:var(--muted);
    font-size:11px
}
.search120-summary strong{
    color:#181818;
    font-size:14px
}
.search120-groups{
    display:grid;
    gap:13px;
    max-width:1000px
}
.search120-group{
    padding-bottom:10px
}
.search120-count{
    min-width:26px;
    height:26px;
    display:grid;
    place-items:center;
    border-radius:999px;
    background:#efefeb;
    font-size:10px;
    font-weight:800
}
.search120-results{
    overflow:hidden;
    border:1px solid var(--line);
    border-radius:12px
}
.search120-result{
    display:grid;
    grid-template-columns:34px minmax(0,1fr) 22px;
    gap:9px;
    align-items:center;
    padding:10px 11px;
    border-bottom:1px solid var(--line);
    background:#fff
}
.search120-result:last-child{
    border-bottom:0
}
.search120-result:hover{
    background:#fafaf8
}
.search120-result.high{
    background:#fff9ef
}
.search120-icon{
    width:30px;
    height:30px;
    display:grid;
    place-items:center;
    border-radius:9px;
    background:#f1f1ed;
    font-size:13px
}
.search120-result strong,
.search120-result small{
    display:block
}
.search120-result strong{
    font-size:12px
}
.search120-result small{
    margin-top:3px;
    color:var(--muted);
    font-size:9px;
    line-height:1.35
}
.search120-arrow{
    color:#aaa;
    font-size:13px
}
.search120-security-note{
    max-width:1000px;
    margin-top:14px;
    padding:10px 12px;
    border-radius:10px;
    background:#f5f5f2;
    color:#666660;
    font-size:10px;
    line-height:1.5
}
.search120-empty{
    max-width:980px
}

/* Global Ctrl+K palette */
.search120-palette[hidden]{
    display:none!important
}
.search120-palette{
    position:fixed;
    inset:0;
    z-index:9999;
    display:grid;
    place-items:start center;
    padding:10vh 18px 20px;
    background:rgba(24,24,24,.38);
    backdrop-filter:blur(4px)
}
.search120-dialog{
    width:min(720px,100%);
    overflow:hidden;
    border:1px solid #d6d6d0;
    border-radius:17px;
    background:#fff;
    box-shadow:0 25px 90px rgba(0,0,0,.22)
}
.search120-dialog-head{
    display:grid;
    grid-template-columns:34px minmax(0,1fr) auto;
    gap:8px;
    align-items:center;
    padding:11px 12px;
    border-bottom:1px solid var(--line)
}
.search120-dialog-head>span{
    text-align:center;
    font-size:17px
}
.search120-dialog-input{
    width:100%;
    min-height:40px;
    border:0!important;
    outline:0!important;
    box-shadow:none!important;
    padding:6px 2px!important;
    background:transparent!important;
    font-size:16px;
    font-weight:650
}
.search120-close{
    width:30px;
    height:30px;
    border:1px solid var(--line);
    border-radius:8px;
    background:#fff;
    cursor:pointer;
    color:#777
}
.search120-dialog-body{
    max-height:58vh;
    overflow:auto;
    padding:7px
}
.search120-palette-group{
    padding:5px 0
}
.search120-palette-group>strong{
    display:block;
    padding:4px 8px 6px;
    color:#8b8b84;
    font-size:8px;
    letter-spacing:.08em;
    text-transform:uppercase
}
.search120-palette-item{
    display:grid;
    grid-template-columns:30px minmax(0,1fr) 18px;
    gap:8px;
    align-items:center;
    padding:9px 8px;
    border-radius:9px
}
.search120-palette-item:hover,
.search120-palette-item.active{
    background:#f1f1ed
}
.search120-palette-item>span:first-child{
    text-align:center;
    font-size:14px
}
.search120-palette-item strong,
.search120-palette-item small{
    display:block
}
.search120-palette-item strong{
    font-size:11px
}
.search120-palette-item small{
    margin-top:2px;
    color:var(--muted);
    font-size:8px;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis
}
.search120-palette-item>span:last-child{
    color:#aaa;
    font-size:10px
}
.search120-palette-empty{
    padding:28px 15px;
    text-align:center;
    color:#888;
    font-size:11px
}
.search120-dialog-foot{
    display:flex;
    gap:10px;
    align-items:center;
    justify-content:flex-end;
    padding:8px 11px;
    border-top:1px solid var(--line);
    background:#fafaf8;
    color:#999;
    font-size:8px
}
@media(max-width:720px){
    .search120-main-form{
        grid-template-columns:1fr
    }
    .search120-command-grid{
        grid-template-columns:1fr
    }
    .search120-palette{
        padding:7vh 10px 10px
    }
}
