:root {
    --shell-width: 920px;
}

.topbar {
    margin-bottom: 28px;
}

.page-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 28px;
    margin-bottom: 18px;
}

.summary {
    max-width: 390px;
    text-align: right;
}

.tools {
    display: grid;
    gap: 12px;
}

.tool {
    min-height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--surface);
    padding: 16px;
    text-decoration: none;
}

.tool:hover {
    border-color: var(--accent);
}

.tool:focus-visible {
    outline: 3px solid var(--focus);
    outline-offset: 2px;
}

.tool-main {
    display: grid;
    gap: 7px;
}

.tool h2 {
    margin: 0;
    font-size: 1.1rem;
    letter-spacing: 0;
}

.tool p {
    margin: 0;
    color: var(--muted);
    line-height: 1.45;
    font-size: 0.94rem;
}

.tool-action {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--accent);
    font-weight: 800;
    white-space: nowrap;
}

.tool-action svg {
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
    stroke-width: 2.25;
}

.notice {
    margin: 0 0 18px;
    color: var(--text);
}

@media (max-width: 760px) {
    .page-head,
    .tool {
        align-items: flex-start;
        flex-direction: column;
    }

    .summary {
        text-align: left;
    }

    .tool-action {
        white-space: normal;
    }
}

@media (max-width: 560px) {
    .topbar {
        margin-bottom: 22px;
    }

    .page-head {
        gap: 12px;
        margin-bottom: 14px;
    }

    .tool {
        min-height: 0;
        gap: 14px;
        padding: 14px;
    }

    .tool-action {
        width: 100%;
        justify-content: space-between;
    }
}
