/* DSM++ admin productivity layer v49 */
.production-ui.admin-area .v35-topbar-inner{
    gap:16px;
}
.admin-top-productivity{
    display:flex;
    flex:1 1 620px;
    min-width:0;
    align-items:center;
    justify-content:center;
    gap:8px;
    margin-left:18px;
}
.admin-search-trigger{
    display:flex;
    width:min(520px,100%);
    min-width:180px;
    height:36px;
    align-items:center;
    gap:9px;
    padding:0 11px;
    border:1px solid rgba(255,255,255,.13);
    border-radius:10px;
    background:rgba(255,255,255,.065);
    color:#d6e7e2;
    font:inherit;
    cursor:pointer;
    transition:background .14s ease,border-color .14s ease;
}
.admin-search-trigger:hover{
    border-color:rgba(255,255,255,.22);
    background:rgba(255,255,255,.1);
}
.admin-search-trigger .admin-search-icon{
    flex:0 0 auto;
    font-size:14px;
    line-height:1;
    opacity:.8;
}
.admin-search-trigger .admin-search-placeholder{
    min-width:0;
    flex:1;
    overflow:hidden;
    text-align:left;
    text-overflow:ellipsis;
    white-space:nowrap;
    font-size:10px;
    font-weight:750;
}
.admin-search-trigger kbd{
    flex:0 0 auto;
    padding:2px 6px;
    border:1px solid rgba(255,255,255,.14);
    border-radius:6px;
    background:rgba(0,0,0,.12);
    color:#bcd2cb;
    font-family:inherit;
    font-size:8px;
    font-weight:850;
}
.admin-create-menu{
    position:relative;
    flex:0 0 auto;
}
.admin-create-menu>summary{
    display:inline-flex;
    min-height:36px;
    align-items:center;
    justify-content:center;
    gap:5px;
    padding:0 11px;
    border:1px solid rgba(255,255,255,.15);
    border-radius:10px;
    background:#fff;
    color:#123e37;
    font-size:10px;
    font-weight:900;
    list-style:none;
    cursor:pointer;
    user-select:none;
}
.admin-create-menu>summary::-webkit-details-marker{display:none}
.admin-create-menu[open]>summary{background:#edf6f2}
.admin-create-popover{
    position:absolute;
    top:calc(100% + 8px);
    right:0;
    z-index:180;
    display:grid;
    width:210px;
    gap:3px;
    padding:7px;
    border:1px solid #dbe7e2;
    border-radius:12px;
    background:#fff;
    box-shadow:0 18px 45px rgba(11,47,41,.18);
}
.admin-create-popover a{
    display:flex;
    align-items:center;
    justify-content:space-between;
    min-height:36px;
    padding:8px 9px;
    border-radius:8px;
    color:#35564e;
    font-size:10px;
    font-weight:800;
    text-decoration:none;
}
.admin-create-popover a:hover{background:#eef6f3;color:#0f5f55}
.admin-create-popover small{color:#8a9b95;font-size:8px;font-weight:750}

/* Command palette */
.admin-command-shell[hidden]{display:none!important}
.admin-command-shell{
    position:fixed;
    inset:0;
    z-index:500;
    display:grid;
    place-items:start center;
    padding:8vh 18px 24px;
}
.admin-command-backdrop{
    position:absolute;
    inset:0;
    background:rgba(7,25,22,.58);
    backdrop-filter:blur(3px);
}
.admin-command-dialog{
    position:relative;
    z-index:1;
    display:grid;
    width:min(720px,100%);
    max-height:78vh;
    overflow:hidden;
    border:1px solid #ceddd7;
    border-radius:17px;
    background:#fff;
    box-shadow:0 28px 80px rgba(7,33,28,.28);
}
.admin-command-searchbar{
    display:grid;
    grid-template-columns:auto minmax(0,1fr) auto;
    align-items:center;
    gap:9px;
    min-height:58px;
    padding:8px 10px 8px 14px;
    border-bottom:1px solid #e4ece8;
}
.admin-command-searchbar>span{color:#6e847c;font-size:15px}
.admin-command-searchbar input{
    width:100%;
    min-width:0;
    height:42px;
    padding:0!important;
    border:0!important;
    border-radius:0!important;
    background:transparent!important;
    box-shadow:none!important;
    color:#173a34!important;
    font-size:15px;
    font-weight:720;
    outline:none!important;
}
.admin-command-searchbar input::placeholder{color:#95a49f}
.admin-command-close{
    display:grid;
    width:34px;
    height:34px;
    place-items:center;
    border:1px solid #e0e9e5;
    border-radius:9px;
    background:#f8faf9;
    color:#61766f;
    font:inherit;
    font-size:16px;
    cursor:pointer;
}
.admin-command-results{
    min-height:210px;
    overflow:auto;
    padding:9px;
}
.admin-command-empty{
    display:grid;
    min-height:190px;
    place-items:center;
    padding:28px;
    color:#7d8f89;
    text-align:center;
    font-size:11px;
    line-height:1.65;
}
.admin-command-section{margin:4px 0 10px}
.admin-command-section:last-child{margin-bottom:2px}
.admin-command-section-title{
    display:flex;
    align-items:center;
    justify-content:space-between;
    min-height:28px;
    padding:0 7px;
    color:#82958e;
    font-size:8px;
    font-weight:900;
    letter-spacing:.08em;
    text-transform:uppercase;
}
.admin-command-result{
    display:grid;
    grid-template-columns:minmax(0,1fr) auto;
    gap:7px;
    align-items:center;
    border-radius:10px;
}
.admin-command-result:hover,
.admin-command-result.keyboard-active{background:#eef6f3}
.admin-command-result-main{
    display:grid;
    min-width:0;
    grid-template-columns:auto minmax(0,1fr) auto;
    gap:10px;
    align-items:center;
    min-height:54px;
    padding:7px 4px 7px 9px;
    color:inherit;
    text-decoration:none;
}
.admin-command-result-type{
    display:grid;
    min-width:58px;
    min-height:28px;
    place-items:center;
    padding:4px 7px;
    border-radius:8px;
    background:#edf4f1;
    color:#557068;
    font-size:8px;
    font-weight:900;
    text-transform:uppercase;
}
.admin-command-result-copy{min-width:0}
.admin-command-result-copy strong{
    display:block;
    overflow:hidden;
    color:#1c4038;
    font-size:11px;
    text-overflow:ellipsis;
    white-space:nowrap;
}
.admin-command-result-copy small{
    display:block;
    margin-top:3px;
    overflow:hidden;
    color:#7b8e87;
    font-size:9px;
    text-overflow:ellipsis;
    white-space:nowrap;
}
.admin-command-arrow{color:#9aaba5;font-size:12px}
.admin-command-star{
    display:grid;
    width:34px;
    height:34px;
    place-items:center;
    margin-right:7px;
    border:0;
    border-radius:9px;
    background:transparent;
    color:#97a7a2;
    font-size:16px;
    cursor:pointer;
}
.admin-command-star:hover{background:#fff;color:#b18c3d}
.admin-command-star.is-favorite{color:#b18c3d}
.admin-command-footer{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:10px;
    min-height:46px;
    padding:7px 11px;
    border-top:1px solid #e5ece9;
    background:#fafcfb;
}
.admin-command-favorite-current{
    min-height:30px;
    padding:5px 8px;
    border:1px solid #dce7e2;
    border-radius:8px;
    background:#fff;
    color:#4f6a62;
    font:inherit;
    font-size:9px;
    font-weight:800;
    cursor:pointer;
}
.admin-command-help{color:#91a09b;font-size:8px;font-weight:700}
.admin-command-help kbd{
    margin:0 2px;
    padding:2px 5px;
    border:1px solid #dfe7e4;
    border-radius:5px;
    background:#fff;
    font-family:inherit;
    font-size:8px;
}

/* Action-first dashboard */
.dashboard-attention{
    display:grid;
    grid-template-columns:auto repeat(5,minmax(0,1fr));
    gap:8px;
    align-items:stretch;
    margin:0 0 16px;
}
.dashboard-attention-intro{
    display:flex;
    min-width:150px;
    flex-direction:column;
    justify-content:center;
    padding:12px 14px;
    border:1px solid #dce7e2;
    border-radius:13px;
    background:#173f38;
    color:#fff;
}
.dashboard-attention-intro strong{font-size:12px}
.dashboard-attention-intro span{margin-top:3px;color:#c2d8d1;font-size:9px;line-height:1.4}
.dashboard-attention-card{
    display:flex;
    min-width:0;
    min-height:76px;
    flex-direction:column;
    justify-content:space-between;
    padding:11px 12px;
    border:1px solid #dce7e2;
    border-radius:13px;
    background:#fff;
    color:inherit;
    text-decoration:none;
    transition:border-color .14s ease,transform .14s ease,box-shadow .14s ease;
}
.dashboard-attention-card:hover{transform:translateY(-1px);border-color:#aecac0;box-shadow:0 7px 20px rgba(15,56,47,.06)}
.dashboard-attention-card span{color:#748981;font-size:8px;font-weight:850;text-transform:uppercase;letter-spacing:.05em}
.dashboard-attention-card strong{margin-top:5px;color:#173f37;font-size:19px;line-height:1}
.dashboard-attention-card small{margin-top:6px;color:#83948e;font-size:8px;line-height:1.35}
.dashboard-attention-card.is-clear strong{color:#4f826f}
.dashboard-attention-card.is-warning strong{color:#a56735}
.dashboard-attention-card.is-danger strong{color:#a34a43}

@media(max-width:1100px){
    .dashboard-attention{grid-template-columns:repeat(3,minmax(0,1fr))}
    .dashboard-attention-intro{grid-column:1/-1;min-height:auto}
}
@media(max-width:820px){
    .production-ui.admin-area .v35-topbar-inner{gap:8px}
    .admin-top-productivity{margin-left:4px;gap:5px;flex-basis:auto}
    .admin-search-trigger{width:40px;min-width:40px;padding:0;justify-content:center}
    .admin-search-trigger .admin-search-placeholder,.admin-search-trigger kbd{display:none}
    .admin-create-menu>summary{width:40px;padding:0;font-size:0}
    .admin-create-menu>summary:before{content:'+';font-size:18px;line-height:1}
    .admin-create-menu>summary span{display:none}
    .admin-account-area{margin-left:0!important}
}
@media(max-width:640px){
    .admin-command-shell{padding:0}
    .admin-command-dialog{width:100%;max-height:100vh;height:100vh;border:0;border-radius:0}
    .admin-command-searchbar{min-height:62px;padding-top:max(8px,env(safe-area-inset-top))}
    .admin-command-results{padding:7px}
    .admin-command-result-type{min-width:50px}
    .admin-command-footer{padding-bottom:max(7px,env(safe-area-inset-bottom))}
    .admin-command-help{display:none}
    .dashboard-attention{grid-template-columns:repeat(2,minmax(0,1fr))}
    .dashboard-attention-intro{grid-column:1/-1}
}
@media(max-width:420px){
    .production-ui.admin-area .v35-brand span{display:none}
    .dashboard-attention{grid-template-columns:1fr}
    .dashboard-attention-intro{grid-column:auto}
}
