.tool-empty-state {
    display: grid;
    place-items: center;
    min-height: 440px;
    padding: 2rem 1.5rem;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    background:
        radial-gradient(ellipse at 100% 100%, #d6edef 0, transparent 43%),
        linear-gradient(141deg, #f4f8fd 0, var(--bg-card) 28%, #f5f9fc 100%);
    box-shadow: var(--shadow-sm);
    text-align: center;
}

.tool-empty-state[hidden] {
    display: none;
}

.tool-empty-inner {
    display: grid;
    justify-items: center;
    gap: .45rem;
    max-width: 42rem;
}

.tool-empty-icon {
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    margin-bottom: .35rem;
    border-radius: 14px;
    color: #2462ab;
    background: #eaf2ff;
}

.tool-empty-icon svg {
    width: 28px;
    height: 28px;
}

.tool-empty-title {
    margin: 0;
    color: var(--text-primary);
    font: 750 1.08rem/1.35 var(--font-display);
}

.tool-empty-hint {
    margin: 0;
    color: var(--text-secondary);
    font: .9rem/1.6 var(--font-display);
}

body .tool-empty-state .tool-example-button:not([hidden]) {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    margin-top: .32rem;
    padding: .42rem .86rem;
    border: 1px solid #c5d8ef;
    border-radius: 9px;
    background: var(--bg-card);
    color: #225d9e;
    font: 700 .81rem/1.2 var(--font-display);
    text-decoration: none;
    cursor: pointer;
}

body .tool-empty-state .tool-example-button:hover:not(:disabled) {
    border-color: #8eafd8;
    background: #f2f7ff;
}

.tool-empty-state .tool-example-button:focus-visible {
    outline: 2px solid #2868bf;
    outline-offset: 2px;
}

@media (max-width: 720px) {
    .tool-empty-state {
        min-height: clamp(280px, 42dvh, 360px);
        padding-inline: 1.25rem;
    }
}
