.seamstamp-page {
    min-height: 100%;
    background: #f6f7fb;
}

.seamstamp-hero-panel {
    min-height: 560px;
}

.seamstamp-hero-title {
    font-size: 56px;
    max-width: 980px;
    margin-top: 36px;
}

.seamstamp-upload-wrap {
    text-align: center;
    margin-top: 26px;
}

.upload-tip-text {
    margin-top: 22px;
    font-size: 18px;
    color: #222222;
}

.seamstamp-preview-panel {
    padding: 16px 18px 8px;
}

.seamstamp-preview-header {
    margin-bottom: 14px;
}

.seamstamp-preview-header__title {
    font-size: 20px;
    font-weight: 700;
    color: #222222;
    line-height: 1.4;
}

.seamstamp-preview-header__desc {
    margin-top: 4px;
    font-size: 14px;
    line-height: 1.7;
    color: #666666;
}

.seamstamp-preview-shell {
    display: flex;
    justify-content: center;
    align-items: center;
}

.seamstamp-preview-board {
    width: 100%;
    max-width: 920px;
    min-height: 440px;
    border: 1px solid #dbe4f3;
    background: #f7f7f7;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
}

.seamstamp-settings-panel {
    padding-top: 18px;
    padding-bottom: 18px;
}

.seamstamp-settings-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 20px 26px;
    margin-bottom: 16px;
}

.seamstamp-form-item input[type="text"] {
    background: #dff0d7;
}

.seamstamp-start-wrap {
    display: flex;
    justify-content: flex-end;
}

.seamstamp-setting-note {
    margin-top: 10px;
    font-size: 13px;
    line-height: 1.7;
    color: #6b7280;
}

.seamstamp-files-panel {
    padding-top: 18px;
}

.seamstamp-files-head {
    margin-bottom: 14px;
}

.seamstamp-files-head__summary {
    font-size: 18px;
    color: #222222;
}

.seamstamp-files-body {
    display: grid;
    grid-template-columns: 1fr 120px;
    gap: 28px;
    align-items: start;
}

.seamstamp-table-wrap {
    overflow-x: auto;
}

.seamstamp-table {
    width: 100%;
    border-collapse: collapse;
}

.seamstamp-table th,
.seamstamp-table td {
    padding: 10px 8px;
    font-size: 16px;
    line-height: 1.4;
    color: #222222;
    text-align: center;
    border-bottom: 1px solid #e9edf4;
}

.seamstamp-table__name {
    text-align: left;
    word-break: break-all;
}

.seamstamp-side-actions {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding-top: 48px;
}

.seamstamp-side-btn {
    width: 96px;
    height: 40px;
    border: none;
    border-radius: 18px;
    background: #cde8ca;
    color: #1f1f1f;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
}

.seamstamp-side-btn:hover {
    opacity: 0.92;
}

.seamstamp-error {
    margin-bottom: 12px;
    color: #c62828;
    font-size: 15px;
    line-height: 1.6;
    white-space: pre-line;
}

.seamstamp-result-panel {
    min-height: 620px;
}

.seamstamp-result-success__title {
    font-size: 68px;
    line-height: 1.2;
    color: #79b54a;
    font-weight: 800;
}

.seamstamp-result-success__desc {
    font-size: 24px;
    line-height: 1.6;
    color: #222222;
}

.seamstamp-result-success__file {
    font-size: 18px;
    line-height: 1.6;
    color: #222222;
}

.seamstamp-result-btns {
    display: flex;
    gap: 28px;
    align-items: center;
    justify-content: center;
}

.seamstamp-link-btn {
    text-decoration: none;
}

.tool-loading-text {
    font-size: 16px;
    color: #222222;
}

@media (max-width: 1200px) {
    .seamstamp-settings-grid {
        grid-template-columns: 1fr;
    }

    .seamstamp-files-body {
        grid-template-columns: 1fr;
    }

    .seamstamp-side-actions {
        flex-direction: row;
        padding-top: 0;
    }
}
.seam-preview-layout {display:flex;align-items:center;justify-content:center;gap:48px;flex-wrap:wrap;padding:24px;}
.seam-preview-layout figure {margin:0;text-align:center;max-width:440px;flex:1 1 240px;}
.seam-reference {max-width:100%;max-height:300px;object-fit:contain;}
#seam-live-preview {width:220px;height:220px;fill:#db1a1a;stroke:#db1a1a;font-family:SimSun,"Songti SC",serif;}
.seam-preview-layout figcaption {margin-top:12px;line-height:1.7;color:#64748b;font-size:14px;}
.seam-quota-note {line-height:1.8;color:#64748b;margin:18px 0;}
