.tool-page-shell {
    padding: 0;
    min-height: 100%;
    background: #f6f7fb;
}

.tool-banner {
    background: #ffffff;
    border: 1px solid #dbe4f3;
    border-bottom: none;
    padding: 28px 24px;
}

.tool-banner--center {
    text-align: center;
}

.tool-banner__slogan {
    font-size: 26px;
    line-height: 1.4;
    font-weight: 700;
    color: #1e1e1e;
    letter-spacing: 1px;
}

.tool-panel {
    background: #ffffff;
    border: 1px solid #dbe4f3;
    padding: 22px 26px;
}

.tool-panel + .tool-panel {
    border-top: none;
}

.tool-panel--hero {
    min-height: 520px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tool-panel--preview {
    text-align: center;
    min-height: 560px;
}

.tool-panel--result-hero {
    min-height: 520px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 28px;
    text-align: center;
}

.tool-panel--steps {
    min-height: 220px;
}

.tool-panel__inner {
    width: 100%;
}

.tool-panel__inner--upload {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 28px;
}

.tool-hero-title {
    margin: 0;
    font-size: 64px;
    line-height: 1.25;
    font-weight: 800;
    color: #111111;
    text-align: center;
}

.tool-section-title {
    margin: 0 0 10px;
    font-size: 22px;
    line-height: 1.5;
    color: #111111;
    font-weight: 700;
}

.tool-step-list {
    margin: 0;
    padding-left: 24px;
    color: #202020;
    font-size: 16px;
    line-height: 1.8;
}

.tool-hidden-input {
    display: none;
}

.tool-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 180px;
    height: 56px;
    padding: 0 24px;
    border: none;
    border-radius: 10px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

.tool-btn:hover {
    transform: translateY(-1px);
    opacity: 0.95;
}

.tool-btn--primary {
    background: #79b54a;
    color: #ffffff;
}

.tool-btn--upload {
    min-width: 320px;
    height: 88px;
    font-size: 28px;
    border-radius: 14px;
    background: #79b54a;
    color: #ffffff;
}

.tool-link-btn {
    border: none;
    background: transparent;
    color: #333333;
    font-size: 15px;
    cursor: pointer;
    padding: 0;
}

.tool-notice-box {
    color: #222222;
}

.tool-notice-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
}

.tool-notice-list {
    margin: 0;
    padding-left: 22px;
    font-size: 15px;
    line-height: 1.9;
}

.tool-form-grid {
    display: grid;
    gap: 18px 22px;
}

.tool-form-grid--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.tool-form-grid--4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.tool-form-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.tool-form-item > span {
    color: #666666;
    font-size: 15px;
    line-height: 1.4;
}

.tool-form-item input[type="text"],
.tool-form-item input[type="number"],
.tool-form-item select {
    height: 48px;
    border: 1px solid #cfe0c9;
    background: #dff0d7;
    padding: 0 12px;
    font-size: 16px;
    color: #1f1f1f;
    outline: none;
}

.tool-inline-control {
    display: flex;
    align-items: center;
    gap: 8px;
}

.tool-inline-control input {
    flex: 1;
}

.tool-inline-control em {
    font-style: normal;
    color: #444444;
    font-size: 15px;
}

.tool-checkbox-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 48px;
}

.tool-checkbox-wrap span {
    color: #444444;
    font-size: 15px;
}

.tool-loading-mask {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.38);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tool-loading-mask.is-hidden {
    display: none;
}

.tool-loading-box {
    width: 420px;
    background: #ffffff;
    border-radius: 14px;
    padding: 28px 24px;
    text-align: center;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
}

.tool-loading-spinner {
    width: 52px;
    height: 52px;
    margin: 0 auto 16px;
    border: 4px solid #d9e8d0;
    border-top-color: #79b54a;
    border-radius: 50%;
    animation: tool-spin 0.9s linear infinite;
}

.tool-loading-title {
    font-size: 22px;
    font-weight: 700;
    color: #1f1f1f;
    margin-bottom: 8px;
}

.tool-loading-desc {
    color: #666666;
    font-size: 15px;
    line-height: 1.7;
}

@keyframes tool-spin {
    to {
        transform: rotate(360deg);
    }
}

@media (max-width: 1200px) {
    .tool-hero-title {
        font-size: 44px;
    }

    .tool-form-grid--3,
    .tool-form-grid--4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .tool-banner__slogan {
        font-size: 20px;
    }

    .tool-hero-title {
        font-size: 34px;
    }

    .tool-btn--upload {
        min-width: 220px;
        height: 68px;
        font-size: 22px;
    }

    .tool-form-grid--3,
    .tool-form-grid--4 {
        grid-template-columns: 1fr;
    }
}