#shared_body.admin-tools-active {
    box-sizing: border-box;
    padding: 0 0 20px;
    overflow-y: auto;
}

.admin-tools-page {
    box-sizing: border-box;
    width: 100%;
    min-height: 100%;
    padding: clamp(24px, 3.2vw, 46px);
    border: 1px solid rgba(0, 111, 108, .13);
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 14px 40px rgba(26, 57, 72, .11);
    color: #21324a;
    font-family: 'Albert Sans', Arial, Helvetica, sans-serif;
}

.admin-tools-header { max-width: 680px; }

.admin-tools-header__eyebrow {
    display: inline-flex;
    padding: 5px 10px;
    border-radius: 999px;
    background: #f0eaf8;
    color: #704e9f;
    font-size: .7rem;
    font-weight: 780;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.admin-tools-header h1 {
    margin: 12px 0 7px;
    color: #172451;
    font-size: clamp(1.65rem, 2.4vw, 2.3rem);
    font-weight: 800;
    line-height: 1.16;
}

.admin-tools-header h1:focus { outline: none; }

.admin-tools-header p {
    margin: 0;
    color: #607188;
    font-size: .96rem;
    line-height: 1.55;
}

.admin-tools-grid {
    display: grid;
    margin-top: clamp(24px, 3vw, 38px);
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.admin-tools-card {
    display: grid;
    min-height: 108px;
    grid-template-columns: 50px minmax(0, 1fr) 24px;
    align-items: center;
    gap: 15px;
    padding: 18px;
    border: 1px solid #dce5e7;
    border-radius: 16px;
    background: #fff;
    color: #22344c;
    font: inherit;
    text-align: left;
    cursor: pointer;
    transition: border-color 150ms ease, background-color 150ms ease, box-shadow 150ms ease, transform 150ms ease;
}

.admin-tools-card:hover {
    border-color: #b6a3d3;
    background: #fbf9fd;
    box-shadow: 0 8px 20px rgba(70, 48, 104, .1);
    transform: translateY(-1px);
}

.admin-tools-card:focus-visible {
    outline: 3px solid rgba(116, 82, 163, .28);
    outline-offset: 2px;
}

.admin-tools-card:active { transform: translateY(0); }

.admin-tools-card__icon {
    display: inline-flex;
    width: 50px;
    height: 50px;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: #f0eaf8;
    color: #7452a3;
}

.admin-tools-card__icon svg,
.admin-tools-card__arrow svg {
    width: 25px;
    height: 25px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.admin-tools-card__copy { display: flex; min-width: 0; flex-direction: column; }

.admin-tools-card__copy strong {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #22334c;
    font-size: .98rem;
    font-weight: 760;
    line-height: 1.3;
}

.admin-tools-card__badge {
    display: inline-flex;
    min-width: 1.45rem;
    height: 1.45rem;
    box-sizing: border-box;
    align-items: center;
    justify-content: center;
    padding: 0 .4rem;
    border-radius: 999px;
    background: #b42318;
    color: #fff;
    font-size: .72rem;
    font-weight: 800;
    line-height: 1;
}

.admin-tools-card__badge[hidden] { display: none; }

.admin-tools-card__copy small {
    margin-top: 4px;
    color: #65758a;
    font-size: .8rem;
    line-height: 1.45;
}

.admin-tools-card__arrow { display: inline-flex; color: #8b78a9; }
.admin-tools-card__arrow svg { width: 20px; height: 20px; }

@media (max-width: 760px) {
    .admin-tools-page { padding: 22px; border-radius: 18px; }
    .admin-tools-grid { grid-template-columns: 1fr; }
    .admin-tools-card { min-height: 96px; }
}

@media (prefers-reduced-motion: reduce) {
    .admin-tools-card { transition: none; }
}
