.tools-page {
    width: 100%;
    padding: 18px 20px 28px;
}

/* PAGE TITLE */

.tools-heading {
    min-height: 70px;

    padding: 0 19px;

    display: flex;
    align-items: center;

    background: #0b1728;

    border-bottom: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 6px 6px 0 0;
}

.tools-heading h1 {
    margin: 0;

    color: #ffffff;

    font-size: 27px;
    font-weight: 700;
    line-height: 1;

    letter-spacing: -0.02em;
}

/* DIRECTORY */

.tools-directory {
    width: 100%;

    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 12px;

    padding: 14px;

    background: #07111f;
    border-radius: 0 0 6px 6px;
}

/* PANELS */

.tools-panel {
    min-width: 0;

    overflow: hidden;

    background: #0b1728;
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-top: 2px solid var(--ffo-gold);
    border-radius: 6px;

    grid-column: span 3;
}

.tools-panel--transfers {
    grid-column: 1 / -1;
}

.tools-panel--misc {
    grid-column: span 3;
}

.tools-panel__heading {
    min-height: 50px;

    display: flex;
    align-items: center;

    padding: 0 14px;

    background: #101d31;
    border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.tools-panel__heading h2 {
    margin: 0;

    color: var(--ffo-gold);

    font-size: 13px;
    line-height: 1;
    font-weight: 900;

    text-transform: uppercase;
    letter-spacing: 0.055em;
}

/* TOOL ROWS */

.tools-panel__links {
    display: grid;
    gap: 8px;

    padding: 10px;
}

.tools-panel--transfers .tools-panel__links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.tool-row {
    min-width: 0;
    min-height: 48px;

    display: grid;
    grid-template-columns: minmax(0, 1fr) 22px;
    align-items: center;
    gap: 12px;

    padding: 0 12px;

    background: #07111f;
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 5px;

    color: #e4eaf3;
    text-decoration: none;

    transition:
        background 0.16s ease,
        border-color 0.16s ease,
        color 0.16s ease;
}

.tool-row:hover,
.tool-row:focus-visible {
    background: #101d31;
    border-color: rgba(240, 197, 69, 0.55);
    color: #ffffff;

    outline: none;
}

.tool-row__name {
    min-width: 0;

    overflow: hidden;

    font-size: 14px;
    line-height: 1.2;
    font-weight: 800;

    white-space: nowrap;
    text-overflow: ellipsis;
}

.tool-row__arrow {
    color: var(--ffo-gold);

    font-size: 25px;
    line-height: 1;
    font-weight: 700;
    text-align: right;
}

.tool-row:hover .tool-row__arrow,
.tool-row:focus-visible .tool-row__arrow {
    color: #ffffff;
}