.nav-dinuro-tool {
    position: relative;
    display: inline-flex !important;
    align-items: center;
    order: 20;
    flex: 0 0 auto;
    margin-left: 4px;
}

@media (min-width: 992px) {
    #header .wrapper-header {
        flex-wrap: nowrap;
    }
    #header .wrapper-header > .col-xl-6 {
        flex: 1 1 auto;
        width: auto;
        max-width: none;
        min-width: 0;
    }
    #header .wrapper-header > .col-xl-3:last-child {
        flex: 0 0 auto;
        width: auto;
        max-width: none;
    }
    #header .box-nav-ul {
        flex-wrap: nowrap;
    }
    #header .nav-icon {
        flex-wrap: nowrap !important;
        gap: 10px !important;
    }
}

.dinuro-tool-btn {
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: inherit;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
}

.dinuro-tool-btn:hover,
.dinuro-tool-btn[aria-expanded="true"] {
    background: rgba(26, 154, 163, 0.12);
    color: #1a9aa3;
}

.dinuro-tool-on-dark .dinuro-tool-btn {
    color: #fff;
}

.dinuro-tool-on-dark .dinuro-tool-btn:hover,
.dinuro-tool-on-dark .dinuro-tool-btn[aria-expanded="true"] {
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
}

.dinuro-tool-panel {
    position: fixed;
    z-index: 10050;
    width: 320px;
    max-width: calc(100vw - 16px);
    max-height: min(70vh, 480px);
    overflow: auto;
    background: #fff;
    color: #1c2430;
    border-radius: 16px;
    box-shadow: 0 16px 48px rgba(20, 30, 40, 0.22);
    border: 1px solid #e6eaee;
    padding: 14px 12px 12px;
}

.dinuro-tool-panel[hidden] {
    display: none !important;
}

.dinuro-tool-head {
    font-weight: 700;
    color: #1a9aa3;
    letter-spacing: 0.4px;
    padding: 2px 8px 10px;
    border-bottom: 1px solid #eef2f4;
    margin-bottom: 8px;
}

.dinuro-tool-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4px;
}

.dinuro-tool-app {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 6px;
    text-align: center;
    text-decoration: none;
    color: #1c2430;
    border-radius: 12px;
    padding: 10px 6px 8px;
    min-height: 92px;
}

.dinuro-tool-app:hover {
    background: #f3fbfb;
    color: #1a9aa3;
}

.dinuro-tool-icon,
.dinuro-tool-letter,
.dinuro-tool-mark {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    object-fit: cover;
    background: #f4f7f8;
    box-shadow: 0 6px 14px rgba(20, 40, 50, 0.16);
}

.dinuro-tool-mark {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.dinuro-tool-mark::after {
    content: "";
    position: absolute;
    width: 28px;
    height: 28px;
    right: -8px;
    top: -10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.22);
}

.dinuro-tool-mark svg {
    width: 26px;
    height: 26px;
    position: relative;
    z-index: 1;
}

.dinuro-tool-letter {
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #fff;
    background: #1a9aa3;
    font-size: 18px;
}

.dinuro-tool-app span {
    font-size: 12px;
    line-height: 1.3;
    max-width: 100%;
    word-break: break-word;
}

.dinuro-tool-status {
    grid-column: 1 / -1;
    margin: 8px;
    color: #5c6775;
    font-size: 14px;
    line-height: 1.5;
}

.dinuro-tool-status a {
    color: #eb2329;
    font-weight: 700;
}
