/* ========== style.css 最终完整版（基础样式 + 9套静态主题 + 5套动态主题） ========== */
/* 包含：滚动条修复、顶部留白、单位下拉白底黑字、所有主题及动态特效 */

/* ========== 全局设计变量 (默认主题) ========== */
:root {
    --bg-body: #f5f7fa;
    --bg-container: #fff;
    --header-gradient: linear-gradient(135deg, #ffb347 0%, #ffcc33 100%);
    --header-text: #333;
    --search-container-bg: #f0f9ff;
    --search-border: #99ccff;
    --search-input-bg: #f7fbff;
    --search-input-text: #2c3e50;
    --primary-btn-bg: #4da6ff;
    --primary-btn-text: #fff;
    --secondary-btn-bg: #0066cc;
    --secondary-btn-text: #fff;
    --status-border: #4da6ff;
    --status-bg: #ffffff;
    --status-text: #2c3e50;
    --table-header-bg: #f8f9fa;
    --table-header-text: #2c3e50;
    --table-border: #dee2e6;
    --table-row-even: #fffaf0;
    --table-row-hover: #ffe6cc;
    --cell-bg: #fff;
    --unit-cell-bg: #fff;
    --unit-cell-text: #2c3e50;
    --unit-cell-hover-bg: #fff3e0;
    --unit-cell-hover-text: #ff6b6b;
    --unit-selected-bg: #e6f0ff;
    --unit-selected-text: #0066cc;
    --action-btn-bg: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --action-btn-text: white;
    --modal-bg: #fff;
    --modal-overlay: rgba(0,0,0,0.5);
    --footer-bg: #f0f0f0;
    --footer-text: #666;
    --placeholder-bg: #ccc;
    --placeholder-text: #666;
    --no-results-color: #ff3300;
    --refresh-btn-normal: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
    --refresh-btn-warning: linear-gradient(135deg, #ff9800 0%, #ff8c00 100%);
    --refresh-btn-overdue: linear-gradient(135deg, #f44336 0%, #e53935 100%);
    --style-selector-border: #cbd5e1;
    --style-selector-bg: white;
    --style-selector-text: #2c3e50;
}

/* 基础重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background: var(--bg-body);
    color: var(--table-header-text);
    padding: 18px 0 20px 0 !important;   /* 上18px，下20px */
    margin: 0;
    min-height: 100vh;                   /* 改 height 为 min-height 保证内容少时也能撑开 */
    box-sizing: border-box;
    overflow-y: auto;
}

.container {
    max-width: 1200px;
    margin: 0 auto !important;
    background: var(--bg-container);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    overflow: hidden;
}

header {
    background: var(--header-gradient);
    color: var(--header-text);
    padding: 10px 16px 10px;
    position: relative;
}
.logo-container {
    text-align: center;
    margin-bottom: 8px;
}
.logo {
    width: 304px;
    height: 152px;
    object-fit: contain;
}

.search-container.unified-search {
    padding: 22px 16px;
    text-align: center;
    background: var(--search-container-bg);
    border-bottom: 1px solid var(--search-border);
    overflow: visible;
}

.result-container {
    display: none;
    padding: 18px;
    background: var(--search-container-bg);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    width: 100%;
}

.search-box {
    position: relative;
    max-width: 600px;
    margin: 0 auto 18px;
}

.search-input {
    width: 100%;
    padding: 14px 18px 14px 48px;
    border-radius: 15px;
    border: 2px solid var(--search-border);
    outline: none;
    background: var(--search-input-bg);
    color: var(--search-input-text);
    font-size: 15px;
    resize: vertical;
    min-height: 120px;
    max-height: 400px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.4;
    overflow: auto;
    white-space: pre-wrap;
    word-wrap: break-word;
    word-break: break-word;
    overflow-wrap: break-word;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}
.search-input.glow {
    animation: searchGlow 1.5s ease-in-out infinite alternate;
    border-color: #ffd700;
    box-shadow: 0 0 20px #ffd700;
}
@keyframes searchGlow {
    from { box-shadow: 0 0 10px #ffaa00; }
    to { box-shadow: 0 0 25px #ffd700, 0 0 35px #ffaa00; }
}

.search-icon {
    position: absolute;
    left: 18px;
    top: 20px;
    color: var(--primary-btn-bg);
    font-size: 18px;
    z-index: 2;
}

.button-container {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}
.btn {
    padding: 12px 22px;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    box-shadow: 0 4px 6px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}
.btn-search {
    background: var(--primary-btn-bg);
    color: var(--primary-btn-text);
}
.btn-clear {
    background: var(--secondary-btn-bg);
    color: var(--secondary-btn-text);
}
.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}
.btn:active {
    transform: translateY(0);
    box-shadow: 0 3px 6px rgba(0,0,0,0.1);
}

.batch-status {
    max-width: 600px;
    margin: 0 auto 18px;
    animation: fadeIn 0.3s ease-in-out;
}
.status-content {
    background: var(--status-bg);
    border: 2px solid var(--status-border);
    border-radius: 12px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 8px rgba(77, 166, 255, 0.15);
}
.status-icon {
    color: var(--status-border);
    font-size: 18px;
    flex-shrink: 0;
}
.status-text {
    color: var(--status-text);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
}
.status-success .status-content,
.status-warning .status-content,
.status-error .status-content {
    border-color: #d0d0d0;
    background: #f9f9f9;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}
.status-success .status-icon,
.status-warning .status-icon,
.status-error .status-icon {
    color: #666;
}
.status-text {
    color: #333;
}

/* 进度条样式 */
.progress-area {
    max-width: 600px;
    margin: 0 auto 18px;
    background: var(--status-bg);
    border-radius: 40px;
    padding: 6px 12px;
    border: 1px solid var(--search-border);
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}
.progress-bar-container {
    position: relative;
    height: 28px;
    background: rgba(0,0,0,0.1);
    border-radius: 30px;
    overflow: hidden;
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.1);
}
.progress-bar-fill {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, #4facfe, #00f2fe, #f093fb, #f5576c);
    background-size: 300% 100%;
    border-radius: 30px;
    transition: width 0.2s ease;
    animation: gradientMove 2s infinite alternate;
}
@keyframes gradientMove {
    0% { background-position: 0% 50%; }
    100% { background-position: 100% 50%; }
}
.progress-percent {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 13px;
    font-weight: bold;
    color: #fff;
    text-shadow: 0 0 3px rgba(0,0,0,0.5);
    z-index: 2;
}
.progress-tip {
    font-size: 12px;
    text-align: center;
    margin-top: 6px;
    color: var(--footer-text);
}

/* 分店库存手动状态栏 */
.store-freshness-bar {
    max-width: 600px;
    margin: 0 auto 18px;
    border: 2px solid var(--search-border);
    border-radius: 40px;
    background: var(--status-bg);
    padding: 8px 16px;
    box-sizing: border-box;
}
.freshness-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    font-weight: 500;
}
.freshness-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--table-header-text);
}
.freshness-item i {
    font-size: 12px;
    transition: color 0.2s;
}
.freshness-item[data-fresh="true"] i {
    color: #2ecc71;
}
.freshness-item[data-fresh="false"] i {
    color: #e74c3c;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.result-table {
    width: 100%;
    border-collapse: collapse;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
    background: var(--table-header-bg);
    table-layout: fixed !important;
}
.result-table th:nth-child(1),
.result-table td:nth-child(1) {
    width: 60px;
    min-width: 60px;
    max-width: 60px;
}
.result-table th:nth-child(2),
.result-table td:nth-child(2) {
    width: 100px;
    min-width: 100px;
    max-width: 100px;
}
.result-table th:nth-child(3),
.result-table td:nth-child(3) {
    width: auto;
    min-width: 150px;
}
.result-table th:nth-child(4),
.result-table td:nth-child(4) {
    width: 80px;
    min-width: 80px;
    max-width: 80px;
}
.result-table th:nth-child(n+5):nth-child(-n+10),
.result-table td:nth-child(n+5):nth-child(-n+10) {
    width: 100px;
    min-width: 100px;
    max-width: 100px;
}
.result-table td {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    padding: 12px;
    border-bottom: 1px solid var(--table-border);
    position: relative;
}
.result-table td.name-cell {
    white-space: normal;
    word-break: break-word;
    overflow: visible;
    text-align: left;
    vertical-align: middle;
}
.result-table thead th {
    background: var(--table-header-bg);
    color: var(--table-header-text);
    font-weight: 600;
    padding: 12px;
    text-align: left;
    white-space: nowrap;
    border-bottom: 2px solid var(--table-border);
}
.result-table thead th:first-child {
    text-align: center;
}
.result-table thead th.name-col {
    text-align: left;
}
.result-table thead th:not(:first-child):not(.name-col) {
    text-align: center;
}
.result-table tbody td:first-child {
    text-align: center;
    vertical-align: middle;
}
.name-col, .name-cell {
    text-align: left;
    vertical-align: middle;
    white-space: normal !important;
    word-wrap: break-word;
    word-break: break-word;
}
.result-table tbody td:not(:first-child):not(.name-cell) {
    text-align: center;
    vertical-align: middle;
}
.result-table tbody tr:nth-child(even) td {
    background: var(--table-row-even);
}
.result-table tbody tr:hover td {
    background: var(--table-row-hover);
}

.pic-cell {
    width: 60px;
    text-align: center;
}
.pic-cell img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    cursor: pointer;
    border-radius: 6px;
}
.image-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--placeholder-bg);
    color: var(--placeholder-text);
    font-size: 11px;
    height: 50px;
    width: 50px;
    border-radius: 6px;
    cursor: pointer;
}
.center-cell {
    text-align: center;
    vertical-align: middle;
}

/* 库存单元格样式 */
.stock-cell {
    cursor: pointer;
    position: relative;
    transition: all 0.2s ease;
    width: 100px !important;
    height: 75px !important;
    min-width: 100px !important;
    min-height: 75px !important;
    padding: 0 !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    vertical-align: middle !important;
    text-align: center !important;
    overflow: hidden !important;
}
.stock-cell-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.stock-value {
    position: relative;
    z-index: 2;
    background-color: transparent !important;
    font-weight: bold !important;
    font-size: 16px;
    color: var(--table-header-text);
    text-align: center;
    padding: 2px 8px;
    margin-bottom: 2px;
}
.store-abbreviation {
    font-size: 11px;
    color: var(--footer-text);
    margin-top: 2px;
    line-height: 1.2;
    position: relative;
    z-index: 2;
    font-weight: normal;
}
.stock-cell.selected {
    width: 100px !important;
    min-width: 100px !important;
    max-width: 100px !important;
    height: 75px !important;
    min-height: 75px !important;
    max-height: 75px !important;
    transform: none !important;
}
.stock-cell[data-store="ERIMA"].selected .stock-cell-container {
    background-color: rgba(255, 99, 132, 0.3) !important;
}
.stock-cell[data-store="KONE"].selected .stock-cell-container {
    background-color: rgba(54, 162, 235, 0.3) !important;
}
.stock-cell[data-store="6MILE"].selected .stock-cell-container {
    background-color: rgba(75, 192, 192, 0.3) !important;
}
.stock-cell[data-store="GEREHU"].selected .stock-cell-container {
    background-color: rgba(255, 205, 86, 0.3) !important;
}
.stock-cell[data-store="BADILI"].selected .stock-cell-container {
    background-color: rgba(153, 102, 255, 0.3) !important;
}
.stock-cell[data-store="ERIMA5"].selected .stock-cell-container {
    background-color: rgba(255, 159, 64, 0.3) !important;
}
.stock-cell.selected::after {
    content: '';
    position: absolute;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    border: 2px solid;
    border-radius: 6px;
    pointer-events: none;
    z-index: 3;
    box-sizing: border-box !important;
}
.stock-cell[data-store="ERIMA"].selected::after { border-color: rgba(255, 99, 132, 0.9); }
.stock-cell[data-store="KONE"].selected::after { border-color: rgba(54, 162, 235, 0.9); }
.stock-cell[data-store="6MILE"].selected::after { border-color: rgba(75, 192, 192, 0.9); }
.stock-cell[data-store="GEREHU"].selected::after { border-color: rgba(255, 205, 86, 0.9); }
.stock-cell[data-store="BADILI"].selected::after { border-color: rgba(153, 102, 255, 0.9); }
.stock-cell[data-store="ERIMA5"].selected::after { border-color: rgba(255, 159, 64, 0.9); }

.stock-input-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    gap: 5px;
    z-index: 10;
    background: var(--status-bg);
    padding: 4px;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}
.stock-input {
    width: 60px;
    padding: 4px 8px;
    border: 2px solid var(--primary-btn-bg);
    border-radius: 4px;
    background: var(--cell-bg);
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    color: var(--table-header-text);
    outline: none;
    z-index: 11;
}
.stock-input:focus {
    border-color: var(--secondary-btn-bg);
    box-shadow: 0 0 0 2px rgba(0, 102, 204, 0.2);
}
.confirm-btn {
    padding: 4px 8px;
    background: var(--primary-btn-bg);
    color: var(--primary-btn-text);
    border: none;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    z-index: 11;
}
.confirm-btn:hover {
    background: var(--secondary-btn-bg);
}

.no-results {
    margin-top: 12px;
    text-align: center;
    color: var(--no-results-color);
    font-size: 14px;
    background: var(--search-container-bg);
}

.image-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}
.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--modal-overlay);
}
.modal-box {
    position: relative;
    background: var(--modal-bg);
    border-radius: 12px;
    padding: 18px;
    max-width: 90%;
    max-height: 90%;
    overflow: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.modal-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}
.modal-content img {
    max-width: 100%;
    border-radius: 8px;
}
.modal-close {
    position: absolute;
    top: 8px;
    right: 12px;
    background: transparent;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: var(--table-header-text);
}

.refresh-status-container {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-left: 20px;
}
.refresh-btn {
    padding: 6px 14px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
    font-weight: 500;
    min-width: 100px;
    text-align: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.refresh-btn i {
    font-size: 12px;
}
.refresh-normal {
    background: var(--refresh-btn-normal);
    color: white;
}
.refresh-warning {
    background: var(--refresh-btn-warning);
    color: white;
    animation: pulse-warning 2s infinite;
}
.refresh-overdue {
    background: var(--refresh-btn-overdue);
    color: white;
    animation: pulse-overdue 1.5s infinite;
}
@keyframes pulse-warning {
    0% { box-shadow: 0 0 0 0 rgba(255, 152, 0, 0.7); }
    70% { box-shadow: 0 0 0 8px rgba(255, 152, 0, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 152, 0, 0); }
}
@keyframes pulse-overdue {
    0% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(0.98); }
    100% { opacity: 1; transform: scale(1); }
}
.next-refresh-time {
    font-size: 12px;
    margin-left: 5px;
    padding: 3px 8px;
    border-radius: 4px;
    font-weight: 500;
    white-space: nowrap;
}
.next-refresh-time.normal {
    color: #4CAF50;
    background-color: rgba(76, 175, 80, 0.1);
}
.next-refresh-time.warning {
    color: #ff9800;
    background-color: rgba(255, 152, 0, 0.1);
}
.next-refresh-time.overdue {
    color: #f44336;
    background-color: rgba(244, 67, 54, 0.1);
}
.refresh-toast {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 12px 20px;
    border-radius: 8px;
    background: var(--modal-bg);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 10000;
    transform: translateX(120%);
    transition: transform 0.3s ease;
    max-width: 300px;
    border-left: 4px solid var(--primary-btn-bg);
}
.refresh-toast.show {
    transform: translateX(0);
}
.refresh-toast i {
    font-size: 18px;
    color: var(--primary-btn-bg);
}
.refresh-toast span {
    font-size: 14px;
    font-weight: 500;
    color: var(--table-header-text);
}

footer {
    text-align: center;
    padding: 18px 12px;
    background: var(--footer-bg);
    font-size: 13px;
    color: var(--footer-text);
    line-height: 1.6;
}
footer p {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin: 0;
}

.action-buttons-container {
    padding: 20px;
    background: var(--search-container-bg);
    border-top: 1px solid var(--search-border);
}
.action-buttons-title {
    text-align: center;
    margin-bottom: 15px;
}
.action-buttons-title h3 {
    color: var(--table-header-text);
    font-size: 18px;
    font-weight: 600;
}
.action-buttons-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
    max-width: 800px;
    margin: 0 auto;
}
.action-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 15px 10px;
    border: none;
    border-radius: 10px;
    background: var(--action-btn-bg);
    color: var(--action-btn-text);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    min-height: 80px;
}
.action-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}
.action-btn i {
    font-size: 20px;
    margin-bottom: 8px;
}
.action-btn span {
    font-size: 14px;
    line-height: 1.2;
}
.btn-inventory-demand {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a52 100%);
}
.btn-customer-demand {
    background: linear-gradient(135deg, #4ecdc4 0%, #44a08d 100%);
}
.btn-marketing-demand {
    background: linear-gradient(135deg, #45b7d1 0%, #96c93d 100%);
}
.btn-customer-pickup {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}
.btn-delivery-pickup {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.info-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    background: var(--modal-overlay);
    backdrop-filter: blur(5px);
}
.info-modal-box {
    position: relative;
    background: var(--modal-bg);
    border-radius: 16px;
    padding: 0;
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: modalSlideIn 0.3s ease-out;
}
@keyframes modalSlideIn {
    from { opacity: 0; transform: translateY(-50px) scale(0.9); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}
.modal-header {
    padding: 20px 24px 0;
}
.modal-header h3 {
    color: var(--table-header-text);
    font-size: 22px;
    font-weight: 700;
    margin: 0;
    text-align: center;
}
.info-modal-content {
    padding: 24px;
    flex: 1;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.info-content-container {
    background: var(--search-input-bg);
    border: 2px solid var(--table-border);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 24px;
    flex: 1;
    overflow-y: auto;
    position: relative;
}
.info-content {
    font-family: 'SF Mono', monospace;
    font-size: 15px;
    line-height: 1.7;
    white-space: pre-wrap;
    word-wrap: break-word;
    color: var(--table-header-text);
    margin: 0;
}
.info-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #4f46e5, #06b6d4, #10b981);
    border-radius: 12px 12px 0 0;
}
.single-button-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid var(--table-border);
}
.btn-close-info {
    background: linear-gradient(135deg, #6b7280 0%, #4b5563 100%);
    color: white;
    border: none;
    padding: 12px 40px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(107, 114, 128, 0.2);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 15px;
    min-width: 150px;
}
.btn-close-info:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(107, 114, 128, 0.3);
    background: linear-gradient(135deg, #4b5563 0%, #374151 100%);
}

.style-selector-label {
    color: var(--table-header-text);
    font-weight: 600;
    white-space: nowrap;
}
.style-selector {
    padding: 6px 10px;
    border: 2px solid var(--style-selector-border);
    border-radius: 6px;
    background: var(--style-selector-bg);
    color: var(--style-selector-text);
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 150px;
}
.style-selector:hover {
    border-color: var(--primary-btn-bg);
    box-shadow: 0 2px 8px rgba(77, 166, 255, 0.2);
}
.style-selector:focus {
    outline: none;
    border-color: var(--secondary-btn-bg);
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

.store-status-container {
    background: var(--search-container-bg);
    border-radius: 8px;
    padding: 8px 16px;
    display: inline-flex;
    margin: 8px auto;
    border: 1px solid var(--search-border);
    white-space: nowrap;
    max-width: 100%;
    box-sizing: border-box;
}
.store-status-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    flex-wrap: nowrap;
    width: 100%;
}
.store-status-item {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0 12px;
    flex-shrink: 0;
}
.store-status-item:not(:last-child) {
    border-right: 1px solid var(--search-border);
}
.store-status-name {
    font-weight: 600;
    color: var(--table-header-text);
    font-size: 13px;
    white-space: nowrap;
}
.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    animation: blink 1.5s infinite;
    flex-shrink: 0;
}
.status-dot.updated { background: #27ae60; }
.status-dot.outdated { background: #f39c12; }
.status-dot.offline { background: #e74c3c; }
@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

/* 单位单元格 */
.unit-cell {
    cursor: pointer;
    position: relative;
    transition: color 0.2s ease;
    font-weight: normal;
    background: transparent;
    color: var(--unit-cell-text);
    user-select: none;
    padding: 12px 8px !important;
    text-align: center;
    vertical-align: middle;
    width: 80px;
    min-width: 80px;
    max-width: 80px;
}
.unit-cell:hover {
    color: red !important;
}
.unit-cell.selected-unit {
    font-weight: bold;
    color: var(--unit-selected-text);
    background-color: var(--unit-selected-bg);
}
.unit-cell.selected-unit:hover {
    background-color: var(--unit-selected-bg) !important;
    color: red !important;
}

.unit-select-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.unit-select {
    width: 100%;
    height: 100%;
    min-height: 40px;
    padding: 4px 8px;
    border: 2px solid var(--primary-btn-bg);
    border-radius: 6px;
    background-color: var(--unit-cell-bg);
    color: var(--unit-cell-text);
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    outline: none;
    box-shadow: 0 2px 8px rgba(77, 166, 255, 0.3);
    transition: all 0.2s ease;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%234da6ff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
    background-repeat: no-repeat;
    background-position: right 8px center;
    background-size: 16px;
    padding-right: 32px;
}
.unit-select:hover {
    border-color: var(--unit-cell-hover-text);
    box-shadow: 0 2px 8px rgba(255, 107, 107, 0.3);
}
.unit-select:focus {
    border-color: var(--secondary-btn-bg);
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.2);
}

/* 强制单位下拉列表为白底黑字 */
.unit-select,
.unit-select option {
    background-color: #ffffff !important;
    color: #000000 !important;
}

/* 空行样式 */
.empty-row {
    opacity: 0.3;
    pointer-events: none;
}
.empty-row td {
    background: transparent !important;
    border-bottom: 1px dashed var(--table-border);
}

/* Code 单元格点击复制样式 */
.code-cell {
    cursor: pointer;
    transition: background-color 0.2s ease;
}
.code-cell:hover {
    background-color: rgba(77, 166, 255, 0.1);
    text-decoration: underline;
    text-decoration-color: var(--primary-btn-bg);
    text-underline-offset: 2px;
}
/* ===== 响应式断点 ===== */
@media (max-width: 1024px) {
    .result-table th:nth-child(n+5):nth-child(-n+10),
    .result-table td:nth-child(n+5):nth-child(-n+10) {
        width: 85px;
        min-width: 85px;
        max-width: 85px;
    }
    .stock-cell {
        width: 85px !important;
        min-width: 85px !important;
        max-width: 85px !important;
        height: 65px !important;
        min-height: 65px !important;
        max-height: 65px !important;
    }
    .action-buttons-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }
    .action-btn {
        padding: 12px 8px;
        min-height: 70px;
    }
    .action-btn i {
        font-size: 18px;
    }
    .action-btn span {
        font-size: 13px;
    }
    .info-modal-box {
        width: 85%;
        max-width: 500px;
    }
    .modal-header h3 {
        font-size: 20px;
    }
    .info-modal-content {
        padding: 20px;
    }
    .info-content-container {
        padding: 16px;
    }
    .info-content {
        font-size: 14px;
    }
    .single-button-container {
        margin-top: 15px;
        padding-top: 12px;
    }
    .btn-close-info {
        padding: 10px 30px;
        font-size: 14px;
        min-width: 130px;
    }
    .refresh-btn {
        padding: 5px 12px;
        font-size: 12px;
        min-width: 90px;
    }
    .next-refresh-time {
        font-size: 11px;
        padding: 2px 6px;
    }
    .unit-cell {
        font-size: 12px;
        padding: 8px 4px !important;
        width: 70px;
        min-width: 70px;
        max-width: 70px;
    }
    .unit-select {
        font-size: 12px;
        min-height: 36px;
        background-size: 14px;
        padding-right: 28px;
    }
}

@media (max-width: 768px) {
    .result-table th:nth-child(2),
    .result-table td:nth-child(2) {
        width: 80px;
        min-width: 80px;
        max-width: 80px;
    }
    .result-table th:nth-child(n+5):nth-child(-n+10),
    .result-table td:nth-child(n+5):nth-child(-n+10) {
        width: 70px;
        min-width: 70px;
        max-width: 70px;
    }
    .result-container { overflow-x: auto; -webkit-overflow-scrolling: touch; }
    .result-table { display: table; width: 100%; }
    .result-table th, .result-table td { 
        font-size: 12px; 
        padding: 6px 8px; 
    }
    .pic-cell { width:60px; min-width:60px; max-width:60px; }
    .pic-cell img, .image-placeholder { width:50px; height:50px; }
    .name-col, .name-cell {
        min-width: 150px;
        font-size: 12px;
    }
    .result-table thead th .full { display:none; }
    .result-table thead th::after {
        content: attr(data-short);
        display:inline;
        color: var(--table-header-text);
        font-weight:600;
    }
    .button-container {
        flex-direction: column;
        align-items: center;
    }
    .btn {
        width: 100%;
        max-width: 300px;
    }
    .search-input {
        min-height: 100px;
        max-height: 250px;
        font-size: 14px;
        resize: none;
        word-break: break-all;
    }
    .search-icon {
        top: 16px;
    }
    .status-content {
        padding: 10px 12px;
        border-radius: 10px;
    }
    .status-icon {
        font-size: 16px;
    }
    .status-text {
        font-size: 13px;
    }
    .stock-cell {
        width: 70px !important;
        min-width: 70px !important;
        max-width: 70px !important;
        height: 55px !important;
        min-height: 55px !important;
        max-height: 55px !important;
    }
    .stock-value {
        font-size: 14px;
        margin-bottom: 2px;
    }
    .store-abbreviation {
        font-size: 10px;
    }
    .stock-cell.selected::after {
        top: 1px;
        left: 1px;
        right: 1px;
        bottom: 1px;
    }
    .stock-input-container {
        flex-direction: column;
        gap: 3px;
        padding: 3px;
        top: 50%;
    }
    .stock-input {
        width: 50px;
        font-size: 12px;
        padding: 3px 6px;
    }
    .confirm-btn {
        font-size: 10px;
        padding: 3px 6px;
    }
    .action-buttons-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    .action-buttons-container {
        padding: 15px;
    }
    .action-buttons-title h3 {
        font-size: 16px;
    }
    .action-btn {
        padding: 10px 6px;
        min-height: 65px;
    }
    .action-btn i {
        font-size: 16px;
        margin-bottom: 5px;
    }
    .action-btn span {
        font-size: 12px;
    }
    .info-modal-box {
        width: 90%;
        max-width: 400px;
        max-height: 70vh;
        border-radius: 12px;
    }
    .modal-header {
        padding: 16px 20px 0;
    }
    .modal-header h3 {
        font-size: 18px;
    }
    .info-modal-content {
        padding: 16px;
    }
    .info-content-container {
        padding: 14px;
        border-radius: 8px;
    }
    .info-content {
        font-size: 13px;
        line-height: 1.6;
    }
    .single-button-container {
        margin-top: 15px;
        padding-top: 12px;
    }
    .btn-close-info {
        padding: 10px 30px;
        font-size: 14px;
        width: 100%;
        max-width: 200px;
        min-width: 120px;
    }
    footer p {
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }
    .refresh-status-container {
        margin-left: 0;
        order: 2;
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
        gap: 6px;
    }
    .refresh-btn {
        padding: 4px 10px;
        font-size: 11px;
        min-width: 85px;
    }
    .next-refresh-time {
        font-size: 10px;
        padding: 2px 5px;
        order: 3;
        width: 100%;
        text-align: center;
        margin-left: 0;
        margin-top: 2px;
    }
    .style-selector-label {
        display: block;
        margin-bottom: 4px;
        font-size: 12px;
        order: 4;
    }
    .style-selector {
        order: 5;
        min-width: 140px;
        font-size: 12px;
        padding: 5px 8px;
    }
    .refresh-toast {
        top: 10px;
        right: 10px;
        left: 10px;
        max-width: none;
        padding: 10px 15px;
    }
    .refresh-toast i {
        font-size: 16px;
    }
    .refresh-toast span {
        font-size: 13px;
    }
    .unit-cell {
        font-size: 11px;
        padding: 6px 2px !important;
        width: 60px;
        min-width: 60px;
        max-width: 60px;
    }
    .unit-select {
        font-size: 11px;
        min-height: 32px;
        padding: 2px 4px;
        padding-right: 24px;
        background-size: 12px;
    }
}

@media (max-width: 480px) {
    .result-table th:nth-child(n+5):nth-child(-n+10),
    .result-table td:nth-child(n+5):nth-child(-n+10) {
        width: 60px;
        min-width: 60px;
        max-width: 60px;
    }
    .action-buttons-grid {
        grid-template-columns: 1fr;
        gap: 6px;
    }
    .action-btn {
        min-height: 60px;
        flex-direction: row;
        justify-content: flex-start;
        padding: 10px 15px;
    }
    .action-btn i {
        margin-bottom: 0;
        margin-right: 10px;
        font-size: 18px;
    }
    .action-btn span {
        font-size: 14px;
    }
    .info-modal-box {
        width: 95%;
        max-width: 350px;
        max-height: 65vh;
        border-radius: 10px;
    }
    .modal-header {
        padding: 14px 16px 0;
    }
    .modal-header h3 {
        font-size: 16px;
    }
    .info-modal-content {
        padding: 14px;
    }
    .info-content-container {
        padding: 12px;
    }
    .info-content {
        font-size: 12px;
    }
    .single-button-container {
        margin-top: 12px;
        padding-top: 10px;
    }
    .btn-close-info {
        padding: 10px 25px;
        font-size: 13px;
        max-width: 180px;
        min-width: 100px;
    }
    .stock-cell {
        width: 60px !important;
        min-width: 60px !important;
        max-width: 60px !important;
        height: 50px !important;
        min-height: 50px !important;
        max-height: 50px !important;
    }
    .stock-value {
        font-size: 13px;
        margin-bottom: 1px;
    }
    .store-abbreviation {
        font-size: 9px;
    }
    .refresh-btn {
        padding: 3px 8px;
        font-size: 10px;
        min-width: 80px;
    }
    .next-refresh-time {
        font-size: 9px;
        padding: 1px 4px;
    }
}

@media (min-width: 1200px) {
    .name-col, .name-cell {
        max-width: 250px;
    }
}
@media (min-width: 1400px) {
    .name-col, .name-cell {
        max-width: 300px;
    }
}
@media (min-width: 769px) {
    .search-input {
        resize: vertical;
    }
    .search-input:active {
        border-color: var(--primary-btn-bg);
        box-shadow: 0 0 0 3px rgba(77, 166, 255, 0.1);
    }
    .search-input::-webkit-resizer {
        background-color: var(--primary-btn-bg);
        border-radius: 4px;
        padding: 4px;
    }
    .search-input::-webkit-resizer:hover {
        background-color: var(--secondary-btn-bg);
    }
}
@media (max-width: 768px) {
    .store-status-container {
        padding: 6px 12px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    .store-status-item {
        padding: 0 8px;
    }
    .store-status-name {
        font-size: 12px;
    }
}
@media (max-width: 480px) {
    .store-status-container {
        padding: 4px 10px;
    }
    .store-status-item {
        padding: 0 6px;
    }
    .store-status-name {
        font-size: 11px;
    }
    .status-dot {
        width: 6px;
        height: 6px;
    }
}
@media (max-height: 500px) and (orientation: landscape) {
    .info-modal-box {
        max-height: 90vh;
    }
    .info-modal-content {
        padding: 16px;
    }
    .info-content-container {
        max-height: 40vh;
    }
}

/* ========== 默认主题 ========== */
.theme-default {
    --bg-body: #f5f7fa;
    --bg-container: #fff;
    --header-gradient: linear-gradient(135deg, #ffb347 0%, #ffcc33 100%);
    --header-text: #333;
    --search-container-bg: #f0f9ff;
    --search-border: #99ccff;
    --search-input-bg: #f7fbff;
    --search-input-text: #2c3e50;
    --primary-btn-bg: #4da6ff;
    --primary-btn-text: #fff;
    --secondary-btn-bg: #0066cc;
    --secondary-btn-text: #fff;
    --status-border: #4da6ff;
    --status-bg: #ffffff;
    --status-text: #2c3e50;
    --table-header-bg: #f8f9fa;
    --table-header-text: #2c3e50;
    --table-border: #dee2e6;
    --table-row-even: #fffaf0;
    --table-row-hover: #ffe6cc;
    --cell-bg: #fff;
    --unit-cell-bg: #fff;
    --unit-cell-text: #2c3e50;
    --unit-cell-hover-bg: #fff3e0;
    --unit-cell-hover-text: #ff6b6b;
    --unit-selected-bg: #e6f0ff;
    --unit-selected-text: #0066cc;
    --action-btn-bg: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --action-btn-text: white;
    --modal-bg: #fff;
    --modal-overlay: rgba(0,0,0,0.5);
    --footer-bg: #f0f0f0;
    --footer-text: #666;
    --placeholder-bg: #ccc;
    --placeholder-text: #666;
    --no-results-color: #ff3300;
    --refresh-btn-normal: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
    --refresh-btn-warning: linear-gradient(135deg, #ff9800 0%, #ff8c00 100%);
    --refresh-btn-overdue: linear-gradient(135deg, #f44336 0%, #e53935 100%);
    --style-selector-border: #cbd5e1;
    --style-selector-bg: white;
    --style-selector-text: #2c3e50;
}

/* ========== 9套静态主题 ========== */

/* 1. 薄荷苏打 */
.theme-mint-soda {
    --bg-body: #e0f2f1;
    --bg-container: #ffffff;
    --header-gradient: linear-gradient(135deg, #26a69a 0%, #4db6ac 100%);
    --header-text: #ffffff;
    --search-container-bg: #f0faf9;
    --search-border: #80cbc4;
    --search-input-bg: #ffffff;
    --search-input-text: #004d40;
    --primary-btn-bg: #26a69a;
    --primary-btn-text: #ffffff;
    --secondary-btn-bg: #00897b;
    --secondary-btn-text: #ffffff;
    --status-border: #26a69a;
    --status-bg: #ffffff;
    --status-text: #004d40;
    --table-header-bg: #e0f2f1;
    --table-header-text: #004d40;
    --table-border: #b2dfdb;
    --table-row-even: #f9fcfb;
    --table-row-hover: #e8f5f5;
    --cell-bg: #ffffff;
    --unit-cell-bg: #fff;
    --unit-cell-text: #004d40;
    --unit-cell-hover-bg: #e0f2f1;
    --unit-cell-hover-text: #ff6b6b;
    --unit-selected-bg: #b2dfdb;
    --unit-selected-text: #004d40;
    --action-btn-bg: linear-gradient(135deg, #26a69a, #00897b);
    --action-btn-text: white;
    --modal-bg: #ffffff;
    --footer-bg: #e0f2f1;
    --footer-text: #004d40;
    --placeholder-bg: #b2dfdb;
    --placeholder-text: #004d40;
    --no-results-color: #e53935;
    --refresh-btn-normal: linear-gradient(135deg, #26a69a, #00897b);
    --refresh-btn-warning: linear-gradient(135deg, #ffa726, #fb8c00);
    --refresh-btn-overdue: linear-gradient(135deg, #ef5350, #e53935);
    --style-selector-border: #80cbc4;
    --style-selector-bg: #ffffff;
    --style-selector-text: #004d40;
}

/* 2. 蜜桃甜心 */
.theme-peach-sweet {
    --bg-body: #fdf0ed;
    --bg-container: #ffffff;
    --header-gradient: linear-gradient(135deg, #f48fb1 0%, #f06292 100%);
    --header-text: #ffffff;
    --search-container-bg: #fff5f7;
    --search-border: #f8bbd0;
    --search-input-bg: #ffffff;
    --search-input-text: #880e4f;
    --primary-btn-bg: #f06292;
    --primary-btn-text: #ffffff;
    --secondary-btn-bg: #d81b60;
    --secondary-btn-text: #ffffff;
    --status-border: #f06292;
    --status-bg: #ffffff;
    --status-text: #880e4f;
    --table-header-bg: #fce4ec;
    --table-header-text: #880e4f;
    --table-border: #f8bbd0;
    --table-row-even: #fffafc;
    --table-row-hover: #fef0f5;
    --cell-bg: #ffffff;
    --unit-cell-bg: #fff;
    --unit-cell-text: #880e4f;
    --unit-cell-hover-bg: #fce4ec;
    --unit-cell-hover-text: #ff6b6b;
    --unit-selected-bg: #f8bbd0;
    --unit-selected-text: #880e4f;
    --action-btn-bg: linear-gradient(135deg, #f06292, #d81b60);
    --action-btn-text: white;
    --modal-bg: #ffffff;
    --footer-bg: #fce4ec;
    --footer-text: #880e4f;
    --placeholder-bg: #f8bbd0;
    --placeholder-text: #880e4f;
    --no-results-color: #d81b60;
    --refresh-btn-normal: linear-gradient(135deg, #f06292, #d81b60);
    --refresh-btn-warning: linear-gradient(135deg, #ffb74d, #ff9800);
    --refresh-btn-overdue: linear-gradient(135deg, #ef5350, #e53935);
    --style-selector-border: #f8bbd0;
    --style-selector-bg: #ffffff;
    --style-selector-text: #880e4f;
}

/* 3. 柠檬汽水 */
.theme-lemon-soda {
    --bg-body: #fef9e0;
    --bg-container: #ffffff;
    --header-gradient: linear-gradient(135deg, #f9d423 0%, #f4b41a 100%);
    --header-text: #2c2c2c;
    --search-container-bg: #fffcf0;
    --search-border: #ffe082;
    --search-input-bg: #ffffff;
    --search-input-text: #3e3a2b;
    --primary-btn-bg: #ffb347;
    --primary-btn-text: #ffffff;
    --secondary-btn-bg: #8bc34a;
    --secondary-btn-text: #ffffff;
    --status-border: #f9d423;
    --status-bg: #ffffff;
    --status-text: #5d4e2b;
    --table-header-bg: #fef3c7;
    --table-header-text: #5d4e2b;
    --table-border: #fde68a;
    --table-row-even: #fffff7;
    --table-row-hover: #fff8e7;
    --cell-bg: #ffffff;
    --unit-cell-bg: #fff;
    --unit-cell-text: #5d4e2b;
    --unit-cell-hover-bg: #fef3c7;
    --unit-cell-hover-text: #ff6b6b;
    --unit-selected-bg: #fde68a;
    --unit-selected-text: #b45309;
    --action-btn-bg: linear-gradient(135deg, #ffb347, #fb8c00);
    --action-btn-text: white;
    --modal-bg: #ffffff;
    --footer-bg: #fff5e0;
    --footer-text: #7d6b3a;
    --placeholder-bg: #fde68a;
    --placeholder-text: #7d6b3a;
    --no-results-color: #e65100;
    --refresh-btn-normal: linear-gradient(135deg, #8bc34a, #689f38);
    --refresh-btn-warning: linear-gradient(135deg, #ffb74d, #f57c00);
    --refresh-btn-overdue: linear-gradient(135deg, #ef5350, #e53935);
    --style-selector-border: #ffe082;
    --style-selector-bg: #ffffff;
    --style-selector-text: #5d4e2b;
}

/* 4. 蓝莓之夜 */
.theme-blueberry-night {
    --bg-body: #e8eaf6;
    --bg-container: #ffffff;
    --header-gradient: linear-gradient(135deg, #5c6bc0 0%, #3f51b5 100%);
    --header-text: #ffffff;
    --search-container-bg: #f3f4fc;
    --search-border: #c5cae9;
    --search-input-bg: #ffffff;
    --search-input-text: #1a237e;
    --primary-btn-bg: #5c6bc0;
    --primary-btn-text: #ffffff;
    --secondary-btn-bg: #3f51b5;
    --secondary-btn-text: #ffffff;
    --status-border: #5c6bc0;
    --status-bg: #ffffff;
    --status-text: #1a237e;
    --table-header-bg: #e8eaf6;
    --table-header-text: #1a237e;
    --table-border: #c5cae9;
    --table-row-even: #fafaff;
    --table-row-hover: #eef2ff;
    --cell-bg: #ffffff;
    --unit-cell-bg: #fff;
    --unit-cell-text: #1a237e;
    --unit-cell-hover-bg: #e8eaf6;
    --unit-cell-hover-text: #ff6b6b;
    --unit-selected-bg: #c5cae9;
    --unit-selected-text: #1a237e;
    --action-btn-bg: linear-gradient(135deg, #5c6bc0, #3f51b5);
    --action-btn-text: white;
    --modal-bg: #ffffff;
    --footer-bg: #e8eaf6;
    --footer-text: #1a237e;
    --placeholder-bg: #c5cae9;
    --placeholder-text: #1a237e;
    --no-results-color: #d32f2f;
    --refresh-btn-normal: linear-gradient(135deg, #5c6bc0, #3f51b5);
    --refresh-btn-warning: linear-gradient(135deg, #ffa726, #fb8c00);
    --refresh-btn-overdue: linear-gradient(135deg, #ef5350, #e53935);
    --style-selector-border: #c5cae9;
    --style-selector-bg: #ffffff;
    --style-selector-text: #1a237e;
}

/* 5. 樱花慕斯 */
.theme-sakura-mousse {
    --bg-body: #fce4ec;
    --bg-container: #ffffff;
    --header-gradient: linear-gradient(135deg, #f8bbd0 0%, #f48fb1 100%);
    --header-text: #880e4f;
    --search-container-bg: #fff5f8;
    --search-border: #f8bbd0;
    --search-input-bg: #ffffff;
    --search-input-text: #880e4f;
    --primary-btn-bg: #ec407a;
    --primary-btn-text: #ffffff;
    --secondary-btn-bg: #d81b60;
    --secondary-btn-text: #ffffff;
    --status-border: #ec407a;
    --status-bg: #ffffff;
    --status-text: #880e4f;
    --table-header-bg: #fce4ec;
    --table-header-text: #880e4f;
    --table-border: #f8bbd0;
    --table-row-even: #fffafc;
    --table-row-hover: #fef0f5;
    --cell-bg: #ffffff;
    --unit-cell-bg: #fff;
    --unit-cell-text: #880e4f;
    --unit-cell-hover-bg: #fce4ec;
    --unit-cell-hover-text: #ff6b6b;
    --unit-selected-bg: #f8bbd0;
    --unit-selected-text: #880e4f;
    --action-btn-bg: linear-gradient(135deg, #ec407a, #d81b60);
    --action-btn-text: white;
    --modal-bg: #ffffff;
    --footer-bg: #fce4ec;
    --footer-text: #880e4f;
    --placeholder-bg: #f8bbd0;
    --placeholder-text: #880e4f;
    --no-results-color: #c2185b;
    --refresh-btn-normal: linear-gradient(135deg, #ec407a, #d81b60);
    --refresh-btn-warning: linear-gradient(135deg, #ffb74d, #ff9800);
    --refresh-btn-overdue: linear-gradient(135deg, #ef5350, #e53935);
    --style-selector-border: #f8bbd0;
    --style-selector-bg: #ffffff;
    --style-selector-text: #880e4f;
}

/* 6. 霓虹深渊（赛博朋克） */
.theme-cyber-neon {
    --bg-body: #0a0b1a;
    --bg-container: #12132e;
    --header-gradient: linear-gradient(135deg, #1f1c4a, #2d2b55);
    --header-text: #00ffff;
    --search-container-bg: #1a1c35;
    --search-border: #00ffff;
    --search-input-bg: #0f1025;
    --search-input-text: #00ffff;
    --primary-btn-bg: #ff00ff;
    --primary-btn-text: #ffffff;
    --secondary-btn-bg: #00ffff;
    --secondary-btn-text: #000000;
    --status-border: #ff00ff;
    --status-bg: #1a1c35;
    --status-text: #00ffff;
    --table-header-bg: #1e2040;
    --table-header-text: #00ffff;
    --table-border: #3d3b6b;
    --table-row-even: #171933;
    --table-row-hover: #222548;
    --cell-bg: #171933;
    --unit-cell-bg: #171933;
    --unit-cell-text: #00ffff;
    --unit-cell-hover-bg: #2a2d5a;
    --unit-cell-hover-text: #ff00ff;
    --unit-selected-bg: #3d3b6b;
    --unit-selected-text: #ff00ff;
    --action-btn-bg: linear-gradient(135deg, #ff00ff, #00ffff);
    --action-btn-text: #000000;
    --modal-bg: #1a1c35;
    --footer-bg: #0a0b1a;
    --footer-text: #8888cc;
    --placeholder-bg: #2a2d5a;
    --placeholder-text: #8888cc;
    --no-results-color: #ff4444;
    --refresh-btn-normal: linear-gradient(135deg, #00ff00, #00cc00);
    --refresh-btn-warning: linear-gradient(135deg, #ff8800, #ff6600);
    --refresh-btn-overdue: linear-gradient(135deg, #ff0000, #cc0000);
    --style-selector-border: #ff00ff;
    --style-selector-bg: #1a1c35;
    --style-selector-text: #00ffff;
}

/* 7. Apple 极简白 */
.theme-apple-white {
    --bg-body: #f5f5f7;
    --bg-container: #ffffff;
    --header-gradient: #ffffff;
    --header-text: #1d1d1f;
    --search-container-bg: #f5f5f7;
    --search-border: #d2d2d6;
    --search-input-bg: #ffffff;
    --search-input-text: #1d1d1f;
    --primary-btn-bg: #007aff;
    --primary-btn-text: #ffffff;
    --secondary-btn-bg: #86868b;
    --secondary-btn-text: #ffffff;
    --status-border: #007aff;
    --status-bg: #ffffff;
    --status-text: #1d1d1f;
    --table-header-bg: #f5f5f7;
    --table-header-text: #1d1d1f;
    --table-border: #e5e5ea;
    --table-row-even: #ffffff;
    --table-row-hover: #f5f5f7;
    --cell-bg: #ffffff;
    --unit-cell-bg: #fff;
    --unit-cell-text: #1d1d1f;
    --unit-cell-hover-bg: #f5f5f7;
    --unit-cell-hover-text: #ff3b30;
    --unit-selected-bg: #e5e5ea;
    --unit-selected-text: #007aff;
    --action-btn-bg: linear-gradient(135deg, #007aff, #0051d5);
    --action-btn-text: white;
    --modal-bg: #ffffff;
    --footer-bg: #f5f5f7;
    --footer-text: #86868b;
    --placeholder-bg: #e5e5ea;
    --placeholder-text: #86868b;
    --no-results-color: #ff3b30;
    --refresh-btn-normal: linear-gradient(135deg, #34c759, #28a745);
    --refresh-btn-warning: linear-gradient(135deg, #ff9500, #e68600);
    --refresh-btn-overdue: linear-gradient(135deg, #ff3b30, #dc2626);
    --style-selector-border: #d2d2d6;
    --style-selector-bg: #ffffff;
    --style-selector-text: #1d1d1f;
}

/* 8. 粉水晶（亮丽女性） */
.theme-pink-crystal {
    --bg-body: #fff0f5;
    --bg-container: #ffffff;
    --header-gradient: linear-gradient(135deg, #fbc2eb, #a6c1ee);
    --header-text: #6b3e6b;
    --search-container-bg: #fff5fa;
    --search-border: #f5a9c4;
    --search-input-bg: #ffffff;
    --search-input-text: #6b3e6b;
    --primary-btn-bg: linear-gradient(135deg, #f093fb, #f5576c);
    --primary-btn-text: #ffffff;
    --secondary-btn-bg: linear-gradient(135deg, #c0a9e6, #9f7ebe);
    --secondary-btn-text: #ffffff;
    --status-border: #f093fb;
    --status-bg: #ffffff;
    --status-text: #6b3e6b;
    --table-header-bg: #fce4ec;
    --table-header-text: #6b3e6b;
    --table-border: #f8bbd0;
    --table-row-even: #ffffff;
    --table-row-hover: #fff0f5;
    --cell-bg: #ffffff;
    --unit-cell-bg: #fff;
    --unit-cell-text: #6b3e6b;
    --unit-cell-hover-bg: #fce4ec;
    --unit-cell-hover-text: #ff6b6b;
    --unit-selected-bg: #f8bbd0;
    --unit-selected-text: #f5576c;
    --action-btn-bg: linear-gradient(135deg, #f093fb, #f5576c);
    --action-btn-text: white;
    --modal-bg: #ffffff;
    --footer-bg: #fce4ec;
    --footer-text: #6b3e6b;
    --placeholder-bg: #f8bbd0;
    --placeholder-text: #6b3e6b;
    --no-results-color: #f5576c;
    --refresh-btn-normal: linear-gradient(135deg, #a8edea, #fed6e3);
    --refresh-btn-warning: linear-gradient(135deg, #ffecd2, #fcb69f);
    --refresh-btn-overdue: linear-gradient(135deg, #ff9a9e, #fecfef);
    --style-selector-border: #f5a9c4;
    --style-selector-bg: #ffffff;
    --style-selector-text: #6b3e6b;
}
.theme-pink-crystal .btn,
.theme-pink-crystal .action-btn {
    box-shadow: 0 8px 20px rgba(240, 147, 251, 0.3);
    transition: all 0.3s ease;
    backdrop-filter: blur(2px);
}
.theme-pink-crystal .btn:hover,
.theme-pink-crystal .action-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(240, 147, 251, 0.5);
}

/* 9. 加州阳光（欧美风格） */
.theme-california-sun {
    --bg-body: #fdf6e3;
    --bg-container: #ffffff;
    --header-gradient: linear-gradient(135deg, #f4a261, #e76f51);
    --header-text: #ffffff;
    --search-container-bg: #fff9ef;
    --search-border: #e9c46a;
    --search-input-bg: #ffffff;
    --search-input-text: #2d2d2d;
    --primary-btn-bg: #e76f51;
    --primary-btn-text: #ffffff;
    --secondary-btn-bg: #f4a261;
    --secondary-btn-text: #ffffff;
    --status-border: #e76f51;
    --status-bg: #ffffff;
    --status-text: #2d2d2d;
    --table-header-bg: #f8f3e4;
    --table-header-text: #2d2d2d;
    --table-border: #e9c46a;
    --table-row-even: #ffffff;
    --table-row-hover: #fff3e0;
    --cell-bg: #ffffff;
    --unit-cell-bg: #fff;
    --unit-cell-text: #2d2d2d;
    --unit-cell-hover-bg: #f8f3e4;
    --unit-cell-hover-text: #ff6b6b;
    --unit-selected-bg: #e9c46a;
    --unit-selected-text: #2d2d2d;
    --action-btn-bg: linear-gradient(135deg, #e76f51, #f4a261);
    --action-btn-text: white;
    --modal-bg: #ffffff;
    --footer-bg: #f8f3e4;
    --footer-text: #2d2d2d;
    --placeholder-bg: #e9c46a;
    --placeholder-text: #2d2d2d;
    --no-results-color: #d62828;
    --refresh-btn-normal: linear-gradient(135deg, #2a9d8f, #264653);
    --refresh-btn-warning: linear-gradient(135deg, #e9c46a, #f4a261);
    --refresh-btn-overdue: linear-gradient(135deg, #e76f51, #d62828);
    --style-selector-border: #e9c46a;
    --style-selector-bg: #ffffff;
    --style-selector-text: #2d2d2d;
}

/* ========== 5套动态主题（带悬停/点击特效） ========== */

/* 动态特效全局定义 */
@keyframes btn-pulse {
    0% { box-shadow: 0 0 0 0 rgba(var(--accent-rgb), 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(var(--accent-rgb), 0); }
    100% { box-shadow: 0 0 0 0 rgba(var(--accent-rgb), 0); }
}
@keyframes card-glow {
    0% { box-shadow: 0 5px 15px rgba(0,0,0,0.1); }
    50% { box-shadow: 0 8px 25px rgba(var(--accent-rgb), 0.2); }
    100% { box-shadow: 0 5px 15px rgba(0,0,0,0.1); }
}

/* 动态主题共用按钮悬停/点击效果 */
.theme-neon-stream .btn,
.theme-neon-stream .action-btn,
.theme-aurora-dream .btn,
.theme-aurora-dream .action-btn,
.theme-crystal-ripple .btn,
.theme-crystal-ripple .action-btn,
.theme-starry-night .btn,
.theme-starry-night .action-btn,
.theme-flame-pulse .btn,
.theme-flame-pulse .action-btn {
    transition: all 0.25s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    position: relative;
    overflow: hidden;
}
.theme-neon-stream .btn:hover,
.theme-neon-stream .action-btn:hover,
.theme-aurora-dream .btn:hover,
.theme-aurora-dream .action-btn:hover,
.theme-crystal-ripple .btn:hover,
.theme-crystal-ripple .action-btn:hover,
.theme-starry-night .btn:hover,
.theme-starry-night .action-btn:hover,
.theme-flame-pulse .btn:hover,
.theme-flame-pulse .action-btn:hover {
    transform: translateY(-3px) scale(1.02);
    filter: brightness(1.05);
}
.theme-neon-stream .btn:active,
.theme-neon-stream .action-btn:active,
.theme-aurora-dream .btn:active,
.theme-aurora-dream .action-btn:active,
.theme-crystal-ripple .btn:active,
.theme-crystal-ripple .action-btn:active,
.theme-starry-night .btn:active,
.theme-starry-night .action-btn:active,
.theme-flame-pulse .btn:active,
.theme-flame-pulse .action-btn:active {
    transform: translateY(1px) scale(0.98);
    transition: 0.05s;
}
/* 点击波纹效果 */
.theme-neon-stream .btn::after,
.theme-neon-stream .action-btn::after,
.theme-aurora-dream .btn::after,
.theme-aurora-dream .action-btn::after,
.theme-crystal-ripple .btn::after,
.theme-crystal-ripple .action-btn::after,
.theme-starry-night .btn::after,
.theme-starry-night .action-btn::after,
.theme-flame-pulse .btn::after,
.theme-flame-pulse .action-btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255,255,255,0.6) 0%, rgba(255,255,255,0) 80%);
    transform: translate(-50%, -50%) scale(0);
    border-radius: 50%;
    opacity: 0;
    transition: transform 0.4s, opacity 0.4s;
    pointer-events: none;
}
.theme-neon-stream .btn:active::after,
.theme-neon-stream .action-btn:active::after,
.theme-aurora-dream .btn:active::after,
.theme-aurora-dream .action-btn:active::after,
.theme-crystal-ripple .btn:active::after,
.theme-crystal-ripple .action-btn:active::after,
.theme-starry-night .btn:active::after,
.theme-starry-night .action-btn:active::after,
.theme-flame-pulse .btn:active::after,
.theme-flame-pulse .action-btn:active::after {
    transform: translate(-50%, -50%) scale(2);
    opacity: 1;
    transition: 0s;
}
/* 表格行悬停微缩放 */
.theme-neon-stream .result-table tbody tr:hover td,
.theme-aurora-dream .result-table tbody tr:hover td,
.theme-crystal-ripple .result-table tbody tr:hover td,
.theme-starry-night .result-table tbody tr:hover td,
.theme-flame-pulse .result-table tbody tr:hover td {
    transition: all 0.2s ease;
    transform: scale(1.01);
    box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), 0.3);
}
/* 容器悬停发光 */
.theme-neon-stream .container:hover,
.theme-aurora-dream .container:hover,
.theme-crystal-ripple .container:hover,
.theme-starry-night .container:hover,
.theme-flame-pulse .container:hover {
    animation: card-glow 0.5s ease forwards;
}
/* 库存单元格悬停放大 */
.theme-neon-stream .stock-cell:hover,
.theme-aurora-dream .stock-cell:hover,
.theme-crystal-ripple .stock-cell:hover,
.theme-starry-night .stock-cell:hover,
.theme-flame-pulse .stock-cell:hover {
    transform: scale(1.02);
    z-index: 5;
    transition: 0.15s;
}

/* 动态主题1：霓虹流光（赛博朋克） */
.theme-neon-stream {
    --bg-body: #0a0c15;
    --bg-container: #12162b;
    --header-gradient: linear-gradient(135deg, #1e2a5e, #0d1b3e);
    --header-text: #00f2fe;
    --search-container-bg: #0f1322;
    --search-border: #00f2fe;
    --search-input-bg: #1a1f35;
    --search-input-text: #c4f5ff;
    --primary-btn-bg: #ff00cc;
    --primary-btn-text: #fff;
    --secondary-btn-bg: #00f2fe;
    --secondary-btn-text: #000;
    --accent-rgb: 0, 242, 254;
    --status-border: #ff00cc;
    --status-bg: #1a1f35;
    --status-text: #00f2fe;
    --table-header-bg: #1e2a5e;
    --table-header-text: #00f2fe;
    --table-border: #2a3a7a;
    --table-row-even: #11162b;
    --table-row-hover: #1a2040;
    --cell-bg: #11162b;
    --unit-cell-bg: #11162b;
    --unit-cell-text: #c4f5ff;
    --unit-cell-hover-bg: #2a3a7a;
    --unit-cell-hover-text: #ff00cc;
    --unit-selected-bg: #2a3a7a;
    --unit-selected-text: #ff00cc;
    --action-btn-bg: linear-gradient(135deg, #ff00cc, #00f2fe);
    --action-btn-text: #000;
    --modal-bg: #12162b;
    --footer-bg: #0a0c15;
    --footer-text: #6a7a9e;
    --placeholder-bg: #2a3a7a;
    --placeholder-text: #a0b0d0;
    --no-results-color: #ff4d4d;
    --refresh-btn-normal: linear-gradient(135deg, #00f2fe, #00c4d4);
    --refresh-btn-warning: linear-gradient(135deg, #ffaa44, #ff8800);
    --refresh-btn-overdue: linear-gradient(135deg, #ff4444, #cc0000);
    --style-selector-border: #00f2fe;
    --style-selector-bg: #12162b;
    --style-selector-text: #00f2fe;
}

/* 动态主题2：极光幻彩 */
.theme-aurora-dream {
    --bg-body: #e6f0fa;
    --bg-container: #ffffff;
    --header-gradient: linear-gradient(135deg, #00b4db, #0083b0);
    --header-text: #fff;
    --search-container-bg: #f0f8ff;
    --search-border: #7bc5d9;
    --search-input-bg: #ffffff;
    --search-input-text: #1a3b4f;
    --primary-btn-bg: #ff6b6b;
    --primary-btn-text: #fff;
    --secondary-btn-bg: #4ecdc4;
    --secondary-btn-text: #1a2f3f;
    --accent-rgb: 255, 107, 107;
    --status-border: #ff6b6b;
    --status-bg: #ffffff;
    --status-text: #1a3b4f;
    --table-header-bg: #cbe9f5;
    --table-header-text: #1a3b4f;
    --table-border: #cde5f0;
    --table-row-even: #ffffff;
    --table-row-hover: #f0faff;
    --cell-bg: #ffffff;
    --unit-cell-bg: #fff;
    --unit-cell-text: #1a3b4f;
    --unit-cell-hover-bg: #e0f0f7;
    --unit-cell-hover-text: #ff6b6b;
    --unit-selected-bg: #cbe9f5;
    --unit-selected-text: #ff6b6b;
    --action-btn-bg: linear-gradient(135deg, #ff6b6b, #4ecdc4);
    --action-btn-text: #fff;
    --modal-bg: #ffffff;
    --footer-bg: #e6f0fa;
    --footer-text: #4a6a7a;
    --placeholder-bg: #d9eaf2;
    --placeholder-text: #4a6a7a;
    --no-results-color: #ff4d4d;
    --refresh-btn-normal: linear-gradient(135deg, #4ecdc4, #3ba89f);
    --refresh-btn-warning: linear-gradient(135deg, #ffb347, #ff8c00);
    --refresh-btn-overdue: linear-gradient(135deg, #ff6b6b, #e63946);
    --style-selector-border: #7bc5d9;
    --style-selector-bg: #ffffff;
    --style-selector-text: #1a3b4f;
}

/* 动态主题3：水晶涟漪 */
.theme-crystal-ripple {
    --bg-body: #f0eef8;
    --bg-container: rgba(255,255,255,0.92);
    --header-gradient: linear-gradient(135deg, #b8c6ff, #d9b8ff);
    --header-text: #3a2a5a;
    --search-container-bg: rgba(255,255,255,0.7);
    --search-border: #c5b0f0;
    --search-input-bg: rgba(255,255,255,0.9);
    --search-input-text: #3a2a5a;
    --primary-btn-bg: #f5a3c7;
    --primary-btn-text: #fff;
    --secondary-btn-bg: #b0c4ff;
    --secondary-btn-text: #2a2a4a;
    --accent-rgb: 245, 163, 199;
    --status-border: #f5a3c7;
    --status-bg: rgba(255,255,255,0.8);
    --status-text: #3a2a5a;
    --table-header-bg: rgba(200,180,240,0.5);
    --table-header-text: #3a2a5a;
    --table-border: #e0d0f0;
    --table-row-even: rgba(255,255,255,0.6);
    --table-row-hover: rgba(245,163,199,0.15);
    --cell-bg: rgba(255,255,255,0.8);
    --unit-cell-bg: rgba(255,255,255,0.8);
    --unit-cell-text: #3a2a5a;
    --unit-cell-hover-bg: #e8dfff;
    --unit-cell-hover-text: #f5a3c7;
    --unit-selected-bg: #d9c8ff;
    --unit-selected-text: #b84a8a;
    --action-btn-bg: linear-gradient(135deg, #f5a3c7, #b0c4ff);
    --action-btn-text: #2a2a4a;
    --modal-bg: rgba(255,255,255,0.95);
    --footer-bg: #e8e0f8;
    --footer-text: #5a4a7a;
    --placeholder-bg: #e0d0f0;
    --placeholder-text: #5a4a7a;
    --no-results-color: #ff6f9f;
    --refresh-btn-normal: linear-gradient(135deg, #b0c4ff, #8fa8e0);
    --refresh-btn-warning: linear-gradient(135deg, #ffccaa, #ffaa77);
    --refresh-btn-overdue: linear-gradient(135deg, #ffaa99, #ff7777);
    --style-selector-border: #c5b0f0;
    --style-selector-bg: rgba(255,255,255,0.8);
    --style-selector-text: #3a2a5a;
}

/* 动态主题4：暗夜星光 */
.theme-starry-night {
    --bg-body: #0b0e1a;
    --bg-container: #111625;
    --header-gradient: linear-gradient(135deg, #1c2f4a, #0e1a2b);
    --header-text: #ffd966;
    --search-container-bg: #0d1220;
    --search-border: #ffd966;
    --search-input-bg: #1a2235;
    --search-input-text: #e0e0e0;
    --primary-btn-bg: #f39c12;
    --primary-btn-text: #000;
    --secondary-btn-bg: #3498db;
    --secondary-btn-text: #fff;
    --accent-rgb: 243, 156, 18;
    --status-border: #f39c12;
    --status-bg: #1a2235;
    --status-text: #ffd966;
    --table-header-bg: #1a2a44;
    --table-header-text: #ffd966;
    --table-border: #2a3a55;
    --table-row-even: #0f1625;
    --table-row-hover: #1a2a3f;
    --cell-bg: #0f1625;
    --unit-cell-bg: #0f1625;
    --unit-cell-text: #ddd;
    --unit-cell-hover-bg: #2a3a55;
    --unit-cell-hover-text: #f39c12;
    --unit-selected-bg: #2a3a55;
    --unit-selected-text: #f39c12;
    --action-btn-bg: linear-gradient(135deg, #f39c12, #e67e22);
    --action-btn-text: #fff;
    --modal-bg: #111625;
    --footer-bg: #0b0e1a;
    --footer-text: #5a6a8a;
    --placeholder-bg: #2a3a55;
    --placeholder-text: #8a9abb;
    --no-results-color: #e67e22;
    --refresh-btn-normal: linear-gradient(135deg, #3498db, #2980b9);
    --refresh-btn-warning: linear-gradient(135deg, #f1c40f, #f39c12);
    --refresh-btn-overdue: linear-gradient(135deg, #e74c3c, #c0392b);
    --style-selector-border: #ffd966;
    --style-selector-bg: #111625;
    --style-selector-text: #ffd966;
}

/* 动态主题5：烈焰脉冲 */
.theme-flame-pulse {
    --bg-body: #1a0c0c;
    --bg-container: #2d1a1a;
    --header-gradient: linear-gradient(135deg, #ff4b1f, #ff9068);
    --header-text: #fff3e0;
    --search-container-bg: #221212;
    --search-border: #ff6b4a;
    --search-input-bg: #3a2020;
    --search-input-text: #ffddcc;
    --primary-btn-bg: #ff6b4a;
    --primary-btn-text: #fff;
    --secondary-btn-bg: #ffb347;
    --secondary-btn-text: #2a0a0a;
    --accent-rgb: 255, 107, 74;
    --status-border: #ff6b4a;
    --status-bg: #3a2020;
    --status-text: #ffddcc;
    --table-header-bg: #4a2a2a;
    --table-header-text: #ffb87a;
    --table-border: #5a3a3a;
    --table-row-even: #2a1a1a;
    --table-row-hover: #3a2525;
    --cell-bg: #2a1a1a;
    --unit-cell-bg: #2a1a1a;
    --unit-cell-text: #ffccaa;
    --unit-cell-hover-bg: #5a3a3a;
    --unit-cell-hover-text: #ff9068;
    --unit-selected-bg: #5a3a3a;
    --unit-selected-text: #ffb347;
    --action-btn-bg: linear-gradient(135deg, #ff6b4a, #ffb347);
    --action-btn-text: #2a0a0a;
    --modal-bg: #2d1a1a;
    --footer-bg: #1a0c0c;
    --footer-text: #aa6a6a;
    --placeholder-bg: #5a3a3a;
    --placeholder-text: #cc8a6a;
    --no-results-color: #ff8a6a;
    --refresh-btn-normal: linear-gradient(135deg, #ffb347, #ff8c00);
    --refresh-btn-warning: linear-gradient(135deg, #ffaa44, #ff7700);
    --refresh-btn-overdue: linear-gradient(135deg, #ff4444, #cc0000);
    --style-selector-border: #ff6b4a;
    --style-selector-bg: #2d1a1a;
    --style-selector-text: #ffddcc;
}