:root {
    --bg: #f5f5f7;
    --card: #ffffff;
    --text: #1d1d1f;
    --text-secondary: #86868b;
    --accent: #0071e3;
    --accent-hover: #0077ed;
    --border: #d2d2d7;
    --success: #34c759;
    --danger: #ff3b30;
    --warning: #ff9500;
    --radius: 12px;
    --radius-sm: 8px;
    --shadow: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.04);
    --shadow-lg: 0 4px 20px rgba(0,0,0,0.1);
    --transition: 0.2s ease;
}

@media (prefers-color-scheme: dark) {
    :root {
        --bg: #000000;
        --card: #1c1c1e;
        --text: #f5f5f7;
        --text-secondary: #98989d;
        --accent: #0a84ff;
        --accent-hover: #409cff;
        --border: #38383a;
        --success: #30d158;
        --danger: #ff453a;
        --warning: #ff9f0a;
        --shadow: 0 1px 3px rgba(0,0,0,0.3), 0 1px 2px rgba(0,0,0,0.2);
        --shadow-lg: 0 4px 20px rgba(0,0,0,0.4);
    }
}


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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'SF Pro Display', 'Helvetica Neue', Arial, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

/* ===== 登录页 ===== */
.login-wrap {
    display: none;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 20px;
}

.login-box {
    background: var(--card);
    border-radius: 20px;
    padding: 48px 40px 36px;
    width: 100%;
    max-width: 400px;
    box-shadow: var(--shadow-lg);
    text-align: center;
}

.login-icon {
    font-size: 48px;
    margin-bottom: 16px;
    line-height: 1;
}

.login-box h1 {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 6px;
    letter-spacing: -0.5px;
}

.login-box .subtitle {
    color: var(--text-secondary);
    font-size: 15px;
    margin-bottom: 28px;
}

.login-label {
    display: block;
    text-align: left;
    font-size: 14px;
    font-weight: 500;
    color: var(--text);
    margin-bottom: 8px;
}

.login-box input {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 16px;
    text-align: left;
    outline: none;
    transition: border-color var(--transition);
    -webkit-appearance: none;
    background: var(--card);
    color: var(--text);
}

.login-box input:focus {
    border-color: var(--accent);
}

.login-box .error {
    color: var(--danger);
    font-size: 13px;
    margin-top: 12px;
    min-height: 20px;
}

.login-footer {
    margin-top: 24px;
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border: none;
    border-radius: 980px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
    gap: 6px;
    white-space: nowrap;
}

.btn-primary {
    background: var(--accent);
    color: #fff;
}

.btn-primary:not(.btn-sm) {
    margin-top: 16px;
    padding: 14px;
    font-size: 16px;
}

.btn-primary:hover { background: var(--accent-hover); }

.btn-sm {
    padding: 8px 16px;
    font-size: 13px;
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text);
}
.btn-outline:hover { background: rgba(128,128,128,0.1); }

.btn-danger { background: var(--danger); color: #fff; }
.btn-danger:hover { opacity: 0.9; }

.btn-accent { background: var(--success); color: #fff; }
.btn-accent:hover { opacity: 0.9; }

.modal-footer .btn {
    padding: 8px 16px;
    font-size: 13px;
}

.btn-icon {
    padding: 8px;
    border-radius: 50%;
    background: transparent;
    border: none;
    cursor: pointer;
    color: var(--text-secondary);
    transition: all var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.btn-icon:hover { background: rgba(128,128,128,0.1); color: var(--text); }

/* ===== 主布局 ===== */
.app { display: none; }
.app.active { display: block; }
.login-wrap.active { display: flex; }

.navbar {
    background: rgba(255,255,255,0.8);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
}

@media (prefers-color-scheme: dark) {
    .navbar {
        background: rgba(28,28,30,0.8);
    }
}

.navbar-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar-title {
    font-size: 17px;
    font-weight: 600;
    letter-spacing: -0.2px;
}

.navbar-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}


.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px;
}

/* ===== 统计卡片 ===== */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.stat-card {
    background: var(--card);
    border-radius: var(--radius);
    padding: 20px;
    box-shadow: var(--shadow);
}

.stat-card .label {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 4px;
}

.stat-card .value {
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -1px;
}

/* ===== 工具栏 ===== */
.toolbar {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.search-box {
    flex: 1;
    min-width: 200px;
    position: relative;
}

.search-box input {
    width: 100%;
    padding: 10px 16px 10px 40px;
    border: 1px solid var(--border);
    border-radius: 980px;
    font-size: 14px;
    outline: none;
    background: var(--card);
    color: var(--text);
    transition: border-color var(--transition);
}

.search-box input:focus { border-color: var(--accent); }

.search-box::before {
    content: '';
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2386868b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
}

@media (prefers-color-scheme: dark) {
    .search-box::before {
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2398989d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'/%3E%3C/svg%3E");
    }
}

.filter-select {
    padding: 10px 32px 10px 16px;
    border: 1px solid var(--border);
    border-radius: 980px;
    font-size: 14px;
    background: var(--card);
    color: var(--text);
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    outline: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%2386868b'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
}

/* ===== 记录卡片 ===== */
.records-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.record-card {
    background: var(--card);
    border-radius: var(--radius);
    padding: 20px 24px;
    box-shadow: var(--shadow);
    cursor: pointer;
    transition: all var(--transition);
    display: flex;
    align-items: center;
    gap: 20px;
}

.record-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-1px);
}

.record-date {
    text-align: center;
    min-width: 64px;
}

.record-date .month {
    font-size: 13px;
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.record-date .day {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -1px;
}

.record-date .year {
    font-size: 12px;
    color: var(--text-secondary);
    margin-top: 1px;
}

.record-info {
    flex: 1;
    min-width: 0;
}

.record-info .hospital {
    font-size: 16px;
    font-weight: 600;
}

.record-info .department {
    font-size: 14px;
    color: var(--text-secondary);
    margin-top: 2px;
}

.record-info .diagnosis {
    font-size: 13px;
    color: var(--text-secondary);
    margin-top: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.record-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 980px;
    font-size: 12px;
    font-weight: 500;
}

.badge-files {
    background: #e8f0fe;
    color: #1a73e8;
}

@media (prefers-color-scheme: dark) {
    .badge-files {
        background: rgba(10,132,255,0.2);
        color: #0a84ff;
    }
}

.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-secondary);
}

.empty-state .icon {
    font-size: 48px;
    margin-bottom: 12px;
}

/* ===== Modal ===== */
.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    backdrop-filter: blur(4px);
    z-index: 200;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-overlay.active {
    display: flex;
}

.modal {
    background: var(--card);
    border-radius: 16px;
    width: 100%;
    max-width: 640px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}

.modal-header {
    padding: 20px 24px;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    background: var(--card);
    border-radius: 16px 16px 0 0;
    z-index: 1;
}

.modal-header h2 {
    font-size: 18px;
    font-weight: 600;
}

.modal-body { padding: 24px; }

.modal-footer {
    padding: 16px 24px;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

/* ===== 表单 ===== */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-control {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 15px;
    font-family: inherit;
    outline: none;
    transition: border-color var(--transition);
    -webkit-appearance: none;
    background: var(--card);
    color: var(--text);
}

.form-control:focus { border-color: var(--accent); }

input[type="date"].form-control {
    min-height: 44px;
    line-height: 1.5;
}

textarea.form-control { resize: vertical; min-height: 80px; }

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

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

.toggle {
    position: relative;
    width: 44px;
    height: 26px;
    appearance: none;
    -webkit-appearance: none;
    background: var(--border);
    border-radius: 13px;
    cursor: pointer;
    transition: background var(--transition);
    border: none;
    flex-shrink: 0;
}

.toggle:checked { background: var(--success); }

.toggle::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 22px;
    height: 22px;
    background: var(--card);
    border-radius: 50%;
    transition: transform var(--transition);
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.toggle:checked::after { transform: translateX(18px); }

/* ===== 文件区域 ===== */
.files-section {
    margin-top: 24px;
}

.files-section h3 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 12px;
}

.file-category {
    margin-bottom: 16px;
}

.file-category .cat-header {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.file-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 12px;
}

.file-thumb {
    position: relative;
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: var(--bg);
    aspect-ratio: 1;
    cursor: pointer;
    transition: transform var(--transition);
}

.file-thumb:hover { transform: scale(1.02); }

.file-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.file-thumb .pdf-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    font-size: 32px;
    color: var(--danger);
    background: rgba(255,69,58,0.1);
}

.file-thumb .file-name {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.6));
    color: #fff;
    font-size: 11px;
    padding: 16px 8px 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    cursor: text;
}

.file-thumb .file-name:hover {
    text-decoration: underline;
}

.file-thumb .file-name-input {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0,0,0,0.7);
    color: #fff;
    font-size: 11px;
    padding: 4px 8px;
    border: none;
    outline: 1px solid var(--accent);
    font-family: inherit;
}

.file-thumb .delete-btn {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(0,0,0,0.5);
    color: #fff;
    border: none;
    cursor: pointer;
    font-size: 14px;
    display: none;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.file-thumb:hover .delete-btn { display: flex; }

.upload-zone {
    border: 2px dashed var(--border);
    border-radius: var(--radius-sm);
    padding: 20px;
    text-align: center;
    color: var(--text-secondary);
    font-size: 14px;
    cursor: pointer;
    transition: all var(--transition);
    margin-top: 12px;
}

.upload-zone:hover,
.upload-zone.drag-over {
    border-color: var(--accent);
    background: rgba(0,113,227,0.05);
}

@media (prefers-color-scheme: dark) {
    .upload-zone:hover,
    .upload-zone.drag-over {
        background: rgba(10,132,255,0.1);
    }
}

.upload-zone .upload-icon {
    font-size: 24px;
    margin-bottom: 4px;
}

.upload-select {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 12px;
}

/* ===== 预览弹窗 ===== */
.preview-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.85);
    z-index: 300;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.preview-overlay.active { display: flex; }

.preview-overlay img,
.preview-overlay iframe {
    max-width: 90vw;
    max-height: 90vh;
    border-radius: 8px;
}

.preview-overlay iframe {
    width: 90vw;
    height: 90vh;
    border: none;
}

.preview-close {
    position: fixed;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    color: #fff;
    border: none;
    cursor: pointer;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 301;
}

/* ===== 响应式 ===== */
@media (max-width: 768px) {
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .form-row { grid-template-columns: 1fr; }
    .record-card { flex-wrap: wrap; gap: 12px; }
    .record-meta { width: 100%; justify-content: flex-end; }
    .toolbar { flex-direction: column; align-items: stretch; }
    .toolbar .btn { align-self: flex-end; }
    .search-box { min-width: unset; }
    .modal { max-width: 100%; margin: 0; border-radius: 16px 16px 0 0; align-self: flex-end; }
}

/* ===== 动画 ===== */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}

.record-card { animation: fadeIn 0.3s ease both; }
.record-card:nth-child(n+2) { animation-delay: 0.05s; }
.record-card:nth-child(n+3) { animation-delay: 0.1s; }

/* Loading spinner */
.spinner {
    width: 24px;
    height: 24px;
    border: 3px solid var(--border);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
    margin: 40px auto;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* ===== 智能导入 ===== */
.si-dropzone {
    border: 2px dashed var(--border);
    border-radius: var(--radius);
    padding: 40px 20px;
    text-align: center;
    cursor: pointer;
    transition: all var(--transition);
    font-size: 15px;
}

.si-dropzone:hover,
.si-dropzone.drag-over {
    border-color: var(--success);
    background: rgba(52,199,89,0.05);
}

@media (prefers-color-scheme: dark) {
    .si-dropzone:hover,
    .si-dropzone.drag-over {
        background: rgba(48,209,88,0.1);
    }
}

.si-progress-info {
    text-align: center;
    padding: 20px 0;
}

.si-progress-info #siProgressText {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.si-progress-bar {
    width: 100%;
    height: 6px;
    background: var(--border);
    border-radius: 3px;
    overflow: hidden;
}

.si-progress-fill {
    height: 100%;
    background: var(--success);
    border-radius: 3px;
    transition: width 0.3s ease;
    width: 0%;
}

.si-group {
    background: var(--bg);
    border-radius: var(--radius);
    padding: 20px;
    margin-bottom: 16px;
}

.si-group-header {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--success);
}

.si-file-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--border);
}

.si-file-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 12px;
    background: var(--card);
    border-radius: var(--radius-sm);
    font-size: 13px;
}

.si-file-name {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.si-file-name-link {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: var(--accent);
    cursor: pointer;
    text-decoration: none;
}

.si-file-name-link:hover {
    text-decoration: underline;
}

.si-file-edit-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 2px 4px;
    font-size: 13px;
    opacity: 0.5;
    transition: opacity 0.15s;
    flex-shrink: 0;
}

.si-file-edit-btn:hover {
    opacity: 1;
}

.si-file-name-input {
    flex: 1;
    min-width: 0;
    font-size: 13px;
    padding: 4px 8px;
    background: var(--card);
    color: var(--text);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
}

/* ===== Toast Notifications ===== */
.toast-container {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 400;
    display: flex;
    flex-direction: column;
    gap: 12px;
    pointer-events: none;
    max-width: 90vw;
}

.toast {
    background: var(--card);
    color: var(--text);
    padding: 14px 20px;
    border-radius: var(--radius);
    box-shadow: 0 8px 24px rgba(0,0,0,0.15), 0 2px 8px rgba(0,0,0,0.1);
    font-size: 14px;
    line-height: 1.5;
    max-width: 500px;
    min-width: 280px;
    pointer-events: auto;
    display: flex;
    align-items: center;
    gap: 12px;
    animation: toastSlideIn 0.3s ease;
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border: 1px solid rgba(0,0,0,0.05);
}

.toast.toast-success {
    background: #e8f8ec;
    color: #1a7f37;
    border-color: #34c759;
}

.toast.toast-error {
    background: #fff0ef;
    color: #d32f2f;
    border-color: #ff3b30;
}

.toast.toast-warning {
    background: #fff8e1;
    color: #c77700;
    border-color: #ff9500;
}

.toast.toast-info {
    background: #e8f0fe;
    color: #1a73e8;
    border-color: #0071e3;
}

@media (prefers-color-scheme: dark) {
    .toast.toast-success {
        background: rgba(48,209,88,0.15);
        color: #30d158;
        border-color: #30d158;
    }

    .toast.toast-error {
        background: rgba(255,69,58,0.15);
        color: #ff453a;
        border-color: #ff453a;
    }

    .toast.toast-warning {
        background: rgba(255,159,10,0.15);
        color: #ff9f0a;
        border-color: #ff9f0a;
    }

    .toast.toast-info {
        background: rgba(10,132,255,0.15);
        color: #0a84ff;
        border-color: #0a84ff;
    }
}

.toast-icon {
    font-size: 18px;
    flex-shrink: 0;
}

.toast-message {
    flex: 1;
    min-width: 0;
    word-break: break-word;
}

.toast.toast-removing {
    animation: toastSlideOut 0.3s ease forwards;
}

@keyframes toastSlideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes toastSlideOut {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(20px);
    }
}

@media (max-width: 768px) {
    .toast-container {
        bottom: 16px;
        max-width: calc(100vw - 32px);
    }

    .toast {
        min-width: unset;
        width: 100%;
    }
}

/* 待处理文件列表 */
.si-staged-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: 300px;
    overflow-y: auto;
    padding: 2px;
}

.si-staged-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 8px;
    transition: all 0.2s;
}

.si-staged-item:hover {
    background: var(--bg-secondary);
}

.si-staged-item-icon {
    font-size: 20px;
    flex-shrink: 0;
}

.si-staged-item-info {
    flex: 1;
    min-width: 0;
}

.si-staged-item-name {
    font-size: 14px;
    color: var(--text);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.si-staged-item-size {
    font-size: 12px;
    color: var(--text-secondary);
    margin-top: 2px;
}

.si-staged-item-remove {
    flex-shrink: 0;
    padding: 4px 8px;
    font-size: 12px;
    color: var(--text-secondary);
    background: transparent;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s;
}

.si-staged-item-remove:hover {
    color: var(--danger);
    background: rgba(255, 59, 48, 0.1);
}
