.tool-content{
    background:var(--white);
}

.tool-app{
    --space-control:12px;
    --space-element:24px;
    --space-section:48px;
    --space-major:72px;
    padding-top:48px;
    padding-bottom:24px;
}

.tool-box{
    max-width:700px;
    margin:auto;
    padding:40px;
    display:grid;
    gap:var(--space-element);
    background:var(--white);
    border:1px solid var(--border);
    border-radius:20px;
    box-shadow:var(--shadow);
}

.tool-breadcrumbs{
    max-width:700px;
    margin:0 auto 32px;
    display:flex;
    flex-wrap:wrap;
    gap:8px;
}

.tool-box h2{
    margin:0;
}

.field{
    display:grid;
    gap:var(--space-control);
}

.options{
    display:grid;
    gap:var(--space-control);
}

#passwordOutput{
    margin-top:4px;
    padding:16px;
    width:100%;
    min-width:0;
    background:var(--light);
    color:var(--dark);
    border:1px solid var(--border);
    border-radius:12px;
    font-size:18px;
    font-family:monospace;
}

.btn-primary,
.btn-secondary{
    padding:12px;
    cursor:pointer;
}

.tool-information{
    max-width:740px;
    margin:var(--space-major) auto 0;
    padding:40px;
    display:grid;
    gap:var(--space-section);
    background:var(--light);
    border:1px solid var(--border);
    border-radius:20px;
}

.tool-information section{
    display:grid;
    gap:16px;
}

.tool-information > section:not(.tool-faq) + section:not(.tool-faq){
    padding-top:var(--space-section);
    border-top:1px solid var(--border);
}

.tool-information h2,
.tool-information p,
.tool-information ol{
    margin:0;
}

.tool-information h2{
    line-height:1.25;
}

.tool-information p,
.tool-information li{
    line-height:1.7;
}

.tool-information li + li{
    margin-top:8px;
}

.tool-faq{
    margin:12px -12px -12px;
    padding:32px;
    background:var(--white);
    border:1px solid var(--border);
    border-radius:16px;
}

.tool-faq details{
    border-bottom:1px solid var(--border);
    padding:20px 0;
}

.tool-faq details:last-child{
    padding-bottom:0;
    border-bottom:0;
}

.tool-faq summary{
    cursor:pointer;
    font-weight:700;
}

.tool-faq details p{
    margin:14px 0 0;
}

.category-link{
    padding-top:4px;
}

.related-tools{
    margin-top:var(--space-major);
    padding-top:56px;
    padding-bottom:80px;
    background:var(--light);
    border-top:1px solid var(--border);
}

@media (max-width:760px){
    .tool-app{
        --space-element:20px;
        --space-section:36px;
        --space-major:56px;
        padding-top:36px;
        padding-bottom:8px;
    }

    .tool-breadcrumbs{
        margin-bottom:28px;
    }

    .tool-box,
    .tool-information{
        padding:24px;
    }

    .tool-faq{
        margin:8px -8px -8px;
        padding:24px;
    }

    .tool-faq details{
        padding:16px 0;
    }

    .related-tools{
        padding-top:44px;
        padding-bottom:64px;
    }
}
