.tool-output-shell {
    width: min(1120px, calc(100% - 32px));
    margin: 32px auto 56px;
    padding: 28px;
    border: 1px solid #dfe7dc;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 16px 40px rgba(31, 51, 28, .08);
}

.tool-output-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.tool-output-header h2 { margin: 0; font-size: 1.35rem; }
.tool-output-actions { display: flex; gap: 8px; }
.tool-output-actions button {
    border: 1px solid #5aae3d;
    border-radius: 8px;
    padding: 8px 14px;
    color: #397a25;
    background: #f5fbf2;
    cursor: pointer;
}

.tool-output-content { display: grid; gap: 14px; }
.tool-output-item {
    padding: 16px;
    border-radius: 10px;
    background: #f7faf6;
    border: 1px solid #e6eee2;
}
.tool-output-item h3 { margin: 0 0 8px; font-size: 1rem; text-transform: capitalize; }
.tool-output-item pre,
.tool-output-text {
    margin: 0;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
    font: inherit;
    line-height: 1.65;
}
.tool-output-list { margin: 0; padding-left: 20px; }
.tool-output-error { color: #a32020; background: #fff4f4; border-color: #f0cccc; }
.tool-loading { opacity: .72; cursor: wait !important; }

.not-found-page {
    min-height: 62vh;
    display: grid;
    place-items: center;
    padding: 64px 20px;
    background: #f7faf6;
}
.not-found-card {
    width: min(680px, 100%);
    padding: 48px;
    text-align: center;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 16px 50px rgba(31, 51, 28, .1);
}
.not-found-card h1 { margin: 8px 0 12px; color: #123f50; font-size: clamp(2rem, 6vw, 3.5rem); }
.not-found-card p { margin: 0 auto 28px; max-width: 540px; color: #66736a; line-height: 1.7; }
.not-found-code { color: #5aae3d !important; font-size: 1.1rem; font-weight: 800; letter-spacing: .2em; }
.not-found-card .header-signup { display: inline-flex; text-decoration: none; }

@media (max-width: 720px) {
    .tool-output-shell { width: calc(100% - 20px); padding: 18px; }
    .tool-output-header { align-items: flex-start; flex-direction: column; }
}

