<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">:root {
    --primary-color: #4a6cf7;
    --secondary-color: #6c757d;
    --success-color: #28a745;
    --background-color: #f8f9fa;
    --card-background: #ffffff;
    --text-color: #333333;
    --border-color: #e9ecef;
    --shadow-color: rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
}

.app-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.app-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background-color: var(--card-background);
    border-radius: 10px;
    box-shadow: 0 2px 10px var(--shadow-color);
    margin-bottom: 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo i {
    font-size: 2rem;
    color: var(--primary-color);
}

.logo h1 {
    font-size: 1.5rem;
    color: var(--text-color);
}

.app-main {
    display: flex;
    flex-direction: column;
    gap: 20px;
    flex: 1;
}

.main-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    flex: 1;
}

.content-left {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.content-right {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.preview-section {
    background-color: var(--card-background);
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 10px var(--shadow-color);
    flex: 1;
    display: flex;
    flex-direction: column;
}

.settings-section {
    background-color: var(--card-background);
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 10px var(--shadow-color);
}

.input-section,
.color-section,
.display-section,
.batch-section {
    background-color: var(--card-background);
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 10px var(--shadow-color);
}

.sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: sticky;
    top: 20px;
    height: fit-content;
}

.sidebar section {
    background-color: var(--card-background);
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 10px var(--shadow-color);
}

.sidebar h2 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: var(--text-color);
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
}

.sidebar h2 i {
    color: var(--primary-color);
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

input[type="text"],
select,
textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-size: 14px;
    transition: border-color 0.3s;
}

input[type="text"]:focus,
select:focus,
textarea:focus {
    border-color: var(--primary-color);
    outline: none;
}

.control-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-bottom: 10px;
}

.control-group label {
    font-size: 0.9rem;
    color: var(--secondary-color);
}

input[type="range"] {
    width: 100%;
    height: 5px;
    -webkit-appearance: none;
    background: var(--border-color);
    border-radius: 5px;
    outline: none;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 15px;
    height: 15px;
    background: var(--primary-color);
    border-radius: 50%;
    cursor: pointer;
}

input[type="color"] {
    width: 100%;
    height: 40px;
    padding: 0;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.preview-header,
.batch-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
}

.preview-header h2,
.batch-header h2 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
    color: var(--text-color);
}

.preview-header h2 i,
.batch-header h2 i {
    color: var(--primary-color);
}

.batch-actions {
    display: flex;
    gap: 10px;
}

.download-btn,
.generate-btn {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 8px 15px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.download-btn:hover,
.generate-btn:hover {
    background-color: #3a5bd9;
}

.barcode-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 200px;
    background-color: white;
    border-radius: 5px;
    padding: 20px;
    flex: 1;
    overflow: auto;
}

#barcode-canvas {
    max-width: 100%;
    height: auto;
    display: block;
}

.batch-controls {
    margin-bottom: 15px;
}

#batch-input {
    width: 100%;
    height: 100px;
    resize: vertical;
}

.batch-results {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 10px;
}

.batch-item {
    background-color: white;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 5px var(--shadow-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.batch-item canvas {
    max-width: 100%;
    height: auto;
}

.batch-item p {
    font-size: 0.9rem;
    color: var(--secondary-color);
    word-break: break-all;
    text-align: center;
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
}

.modal-content {
    position: relative;
    background-color: var(--card-background);
    margin: 50px auto;
    padding: 20px;
    width: 90%;
    max-width: 800px;
    border-radius: 10px;
    box-shadow: 0 2px 20px var(--shadow-color);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
}

.modal-header h2 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.2rem;
}

.close {
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--secondary-color);
}

.close:hover {
    color: var(--text-color);
}

.download-modal {
    max-width: 400px;
}

.download-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    padding: 20px;
}

.format-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 15px;
    background-color: var(--background-color);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
}

.format-option:hover {
    background-color: var(--primary-color);
    color: white;
}

.format-option i {
    font-size: 24px;
}

.format-option span {
    font-size: 14px;
    font-weight: 500;
}

.format-info {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.format-item {
    background-color: var(--background-color);
    padding: 15px;
    border-radius: 5px;
}

.format-item h3 {
    color: var(--primary-color);
    margin-bottom: 5px;
}

.format-item p {
    font-size: 0.9rem;
    color: var(--secondary-color);
}

@media (max-width: 1024px) {
    .main-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .app-container {
        padding: 10px;
    }

    .app-header {
        padding: 15px;
    }

    .logo h1 {
        font-size: 1.2rem;
    }

    .preview-section,
    .settings-section,
    .input-section,
    .color-section,
    .display-section,
    .batch-section {
        padding: 15px;
    }

    .batch-results {
        grid-template-columns: repeat(2, 1fr);
    }

    .format-info {
        grid-template-columns: 1fr;
    }

    .download-options {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .batch-results {
        grid-template-columns: 1fr;
    }

    .download-options {
        grid-template-columns: 1fr;
    }

    .batch-actions {
        flex-direction: column;
    }
} </pre></body></html>