/* ==========================================================================
   SPREADSHEET FILTER & EXTRACTOR - PREMIUM CSS STYLE SHEET
   ========================================================================== */

/* --- CSS Variables & Design System --- */
:root {
    /* Color Palette (Premium light theme matching the attached pastel palette)
       - Light Blue: #9bcad6
       - Muted Blue: #738ca6
       - Pastel Pink: #f5cbd2
       - Shell Pink / Off-white: #faebeb
    */
    --bg-color: #faebeb; /* 4段目: 非常に淡いピンク */
    --card-bg: rgba(255, 255, 255, 0.72); /* 白ベースのガラス透過 */
    --card-border: rgba(115, 140, 166, 0.15); /* 2段目のくすんだ青を薄く */
    --card-border-active: rgba(155, 202, 214, 0.6); /* 1段目の水色の半透明 */
    
    --text-primary: #2b394a; /* スレートダークグレー（コントラスト確保） */
    --text-secondary: #4a5c70; /* 中間スレートグレー */
    --text-muted: #74889e; /* 薄めのスレートグレー */
    
    --primary-color: #738ca6; /* 2段目: くすんだ青 */
    --accent-color: #9bcad6; /* 1段目: 水色 */
    --success-color: #7ca893; /* パステル調の淡いグリーン */
    --danger-color: #e28e90; /* パステル調の淡い赤 */
    
    --gradient-primary: linear-gradient(135deg, #738ca6 0%, #9bcad6 100%); /* 青から水色 */
    --gradient-accent: linear-gradient(135deg, #f5cbd2 0%, #9bcad6 100%); /* ピンクから水色 */
    --gradient-text: linear-gradient(90deg, #738ca6 0%, #f5cbd2 100%); /* 青からピンク */
    --glow-shadow: 0 10px 30px rgba(115, 140, 166, 0.12);
    
    /* Layout Variables */
    --border-radius-sm: 8px;
    --border-radius-md: 14px;
    --border-radius-lg: 24px;
    --transition-smooth: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
    
    --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
    --font-heading: 'Outfit', var(--font-sans);
}

/* --- Base Resets & Layout --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-sans);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

/* --- Glow Decorations in Background --- */
.glass-bg-decorations {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -2;
    overflow: hidden;
    pointer-events: none;
}

.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(140px);
    opacity: 0.25;
}

.orb-1 {
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, #f5cbd2 0%, transparent 70%);
    top: -10vw;
    right: -10vw;
    animation: orb-float-1 25s infinite alternate ease-in-out;
}

.orb-2 {
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, #9bcad6 0%, transparent 70%);
    bottom: -15vw;
    left: -15vw;
    animation: orb-float-2 30s infinite alternate ease-in-out;
}

@keyframes orb-float-1 {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(-80px, 80px) scale(1.1); }
}

@keyframes orb-float-2 {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(100px, -60px) scale(1.05); }
}

/* --- Application Wrapper --- */
.app-container {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 2.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    gap: 2.5rem;
}

/* --- Header Styling --- */
.app-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.logo-area {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.logo-icon {
    font-size: 2.5rem;
    animation: pulse-slow 3s infinite ease-in-out;
}

.app-title {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.gradient-text {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.app-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    font-weight: 400;
    max-width: 680px;
    margin: 0.5rem auto 0;
}

@keyframes pulse-slow {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.08); }
}

/* --- Grid Layout --- */
.app-main-grid {
    display: grid;
    grid-template-columns: 460px 1fr;
    gap: 2rem;
    align-items: start;
    flex-grow: 1;
}

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

.controls-panel {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.results-panel {
    position: sticky;
    top: 2rem;
}

/* --- Premium Glass Cards --- */
.glass-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--border-radius-md);
    padding: 1.75rem;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    transition: var(--transition-smooth);
    box-shadow: 0 8px 32px 0 rgba(115, 140, 166, 0.08);
    position: relative;
    overflow: hidden;
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: transparent;
    transition: var(--transition-smooth);
}

.glass-card:hover {
    border-color: rgba(115, 140, 166, 0.25);
    box-shadow: 0 12px 40px 0 rgba(115, 140, 166, 0.12);
}

.glass-card.active-card {
    border-color: var(--card-border-active);
    box-shadow: var(--glow-shadow);
}

.glass-card.active-card::before {
    background: var(--gradient-primary);
}

.disabled-card {
    opacity: 0.45;
    pointer-events: none;
    user-select: none;
}

.card-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.card-header h2 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-primary);
}

.step-badge {
    background: var(--gradient-primary);
    color: white;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 800;
    padding: 0.2rem 0.6rem;
    border-radius: var(--border-radius-sm);
    letter-spacing: 0.05em;
    box-shadow: 0 4px 10px rgba(138, 43, 226, 0.3);
}

/* --- Drag & Drop Zone --- */
.upload-zone {
    border: 2px dashed rgba(115, 140, 166, 0.25);
    border-radius: var(--border-radius-sm);
    padding: 2.25rem 1.5rem;
    text-align: center;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.4);
    transition: var(--transition-smooth);
    position: relative;
}

.upload-zone:hover, .upload-zone.dragover {
    border-color: var(--accent-color);
    background: rgba(155, 202, 214, 0.08);
    box-shadow: inset 0 0 15px rgba(155, 202, 214, 0.1);
}

.upload-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.upload-icon {
    font-size: 2.75rem;
    transition: var(--transition-smooth);
}

.upload-zone:hover .upload-icon {
    transform: translateY(-5px);
}

.upload-text {
    font-size: 0.95rem;
    color: var(--text-secondary);
    font-weight: 500;
    max-width: 250px;
}

.upload-btn {
    font-size: 0.85rem;
    font-weight: 600;
    color: white;
    background: hsla(224, 100%, 100%, 0.08);
    border: 1px solid hsla(224, 100%, 100%, 0.1);
    padding: 0.45rem 1.1rem;
    border-radius: var(--border-radius-sm);
    transition: var(--transition-smooth);
}

.upload-zone:hover .upload-btn {
    background: var(--accent-color);
    border-color: var(--accent-color);
    color: var(--bg-color);
    box-shadow: 0 4px 12px hsla(180, 100%, 50%, 0.25);
}

/* File info display */
.file-info-area {
    margin-top: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    border-top: 1px solid hsla(224, 100%, 100%, 0.06);
    padding-top: 1rem;
    animation: fadeIn 0.4s ease forwards;
}

.file-meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(255, 255, 255, 0.5);
    padding: 0.75rem 1rem;
    border-radius: var(--border-radius-sm);
    border: 1px solid rgba(115, 140, 166, 0.1);
}

.file-icon {
    font-size: 1.75rem;
}

.file-details {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.file-name {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.file-size {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* --- Form Elements & Select Wrapper --- */
.control-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
}

.control-label {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.section-hint {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

/* Beautiful custom select */
.select-wrapper {
    position: relative;
    width: 100%;
}

.select-wrapper::after {
    content: '▾';
    position: absolute;
    right: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
    pointer-events: none;
    font-size: 0.9rem;
}

select {
    width: 100%;
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(115, 140, 166, 0.2);
    color: var(--text-primary);
    padding: 0.75rem 2.5rem 0.75rem 1rem;
    border-radius: var(--border-radius-sm);
    font-family: var(--font-sans);
    font-size: 0.95rem;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    transition: var(--transition-smooth);
}

select:focus:not(:disabled) {
    border-color: var(--accent-color);
    box-shadow: 0 0 10px rgba(155, 202, 214, 0.3);
    outline: none;
}

select:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Input Fields */
.input-wrapper {
    position: relative;
    width: 100%;
}

input[type="text"] {
    width: 100%;
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(115, 140, 166, 0.2);
    color: var(--text-primary);
    padding: 0.75rem 2.5rem 0.75rem 1rem;
    border-radius: var(--border-radius-sm);
    font-family: var(--font-sans);
    font-size: 0.95rem;
    transition: var(--transition-smooth);
}

input[type="text"]:focus:not(:disabled) {
    border-color: var(--accent-color);
    box-shadow: 0 0 10px rgba(155, 202, 214, 0.3);
    outline: none;
}

input[type="text"]::placeholder {
    color: var(--text-muted);
}

input[type="text"]:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* 検索履歴エリアのスタイル */
.history-group {
    margin-top: -0.5rem;
    margin-bottom: 1.25rem;
    animation: fadeIn 0.3s ease forwards;
}

.history-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.4rem;
}

.history-label {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-muted);
}

.clear-history-btn {
    font-size: 0.72rem;
    font-weight: 500;
    text-decoration: none !important;
}

.clear-history-btn:hover {
    color: var(--danger-color) !important;
}

.history-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.history-pill {
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(115, 140, 166, 0.2);
    color: var(--text-secondary);
    padding: 0.25rem 0.65rem;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition-smooth);
    display: inline-block;
    max-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    user-select: none;
}

.history-pill:hover {
    background: hsla(180, 100%, 50%, 0.08);
    border-color: var(--accent-color);
    color: var(--text-primary);
    box-shadow: 0 0 8px hsla(180, 100%, 50%, 0.15);
}

.history-pill:active {
    transform: scale(0.95);
}

.input-clear-btn {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: var(--text-muted);
    font-size: 1.25rem;
    line-height: 1;
    transition: var(--transition-smooth);
}

.input-clear-btn:hover {
    color: var(--text-primary);
}

/* Custom Checkboxes */
.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.inline-checkboxes {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 1.25rem;
    margin-top: 0.5rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    cursor: pointer;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-secondary);
    user-select: none;
    transition: var(--transition-smooth);
}

.checkbox-label:hover {
    color: var(--text-primary);
}

.checkbox-label input[type="checkbox"] {
    display: none;
}

.custom-checkbox {
    width: 18px;
    height: 18px;
    border: 1px solid rgba(115, 140, 166, 0.3);
    border-radius: 4px;
    display: inline-block;
    position: relative;
    background: rgba(255, 255, 255, 0.8);
    transition: var(--transition-smooth);
    flex-shrink: 0;
}

.checkbox-label input[type="checkbox"]:checked + .custom-checkbox {
    background: var(--gradient-accent);
    border-color: var(--accent-color);
    box-shadow: 0 0 8px rgba(155, 202, 214, 0.3);
}

.checkbox-label input[type="checkbox"]:checked + .custom-checkbox::after {
    content: '✓';
    position: absolute;
    color: white;
    font-size: 0.75rem;
    font-weight: 800;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.checkbox-label input[type="checkbox"]:disabled + .custom-checkbox {
    opacity: 0.4;
    cursor: not-allowed;
}

/* --- Column Selector Panel --- */
.column-checkboxes-container {
    max-height: 200px;
    overflow-y: auto;
    border: 1px solid rgba(115, 140, 166, 0.15);
    border-radius: var(--border-radius-sm);
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.4);
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

/* Custom scrollbar for container */
.column-checkboxes-container::-webkit-scrollbar,
.preview-table-container::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

.column-checkboxes-container::-webkit-scrollbar-track,
.preview-table-container::-webkit-scrollbar-track {
    background: transparent;
}

.column-checkboxes-container::-webkit-scrollbar-thumb,
.preview-table-container::-webkit-scrollbar-thumb {
    background: hsla(224, 100%, 100%, 0.1);
    border-radius: 3px;
}

.column-checkboxes-container::-webkit-scrollbar-thumb:hover,
.preview-table-container::-webkit-scrollbar-thumb:hover {
    background: hsla(224, 100%, 100%, 0.2);
}

.no-columns-hint {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-align: center;
    padding: 2rem 0;
}

.column-bulk-actions {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 0.75rem;
    margin-top: 0.75rem;
}

.text-btn {
    background: none;
    border: none;
    color: var(--accent-color);
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.text-btn:hover {
    color: var(--text-primary);
    text-decoration: underline;
}

.divider {
    color: var(--text-muted);
    font-size: 0.8rem;
}

/* --- STEP 4 CARD: Preview & Statistics --- */
.stats-bar {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    background: rgba(255, 255, 255, 0.5);
    padding: 1rem 1.5rem;
    border-radius: var(--border-radius-sm);
    border: 1px solid rgba(115, 140, 166, 0.15);
}

.stat-item {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.stat-value {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.2;
}

.stat-label {
    font-size: 0.78rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 0.2rem;
}

.highlight-stat .stat-value {
    color: var(--accent-color);
    text-shadow: none;
}

.format-settings-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    margin-bottom: 1.25rem;
}

@media (max-width: 500px) {
    .format-settings-grid {
        grid-template-columns: 1fr;
    }
}

.extra-format-options {
    margin-bottom: 1.5rem;
    border-bottom: 1px solid rgba(115, 140, 166, 0.15);
    padding-bottom: 1rem;
}

/* --- Interactive Preview Table --- */
.preview-table-container {
    width: 100%;
    max-height: 280px;
    overflow-x: auto;
    overflow-y: auto;
    border: 1px solid rgba(115, 140, 166, 0.15);
    border-radius: var(--border-radius-sm);
    background: rgba(255, 255, 255, 0.4);
    margin-bottom: 1.75rem;
}

.preview-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.88rem;
    text-align: left;
}

.preview-table th {
    background: #738ca6;
    position: sticky;
    top: 0;
    z-index: 10;
    padding: 0.75rem 1rem;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.85rem;
    color: white;
    border-bottom: 1px solid rgba(115, 140, 166, 0.2);
}

.preview-table td {
    padding: 0.65rem 1rem;
    border-bottom: 1px solid rgba(115, 140, 166, 0.1);
    color: var(--text-secondary);
    vertical-align: top;
    white-space: pre-wrap;
    word-break: break-all;
}

.preview-table tr:nth-child(even) td {
    background: rgba(255, 255, 255, 0.25);
}

.preview-table tr:hover td {
    background: rgba(155, 202, 214, 0.1);
    color: var(--text-primary);
}

.empty-table-cell {
    text-align: center;
    color: var(--text-muted) !important;
    padding: 3.5rem 1.5rem !important;
    font-size: 0.9rem;
}

/* Matching word highlight inside preview */
.highlight-match {
    background-color: hsla(180, 100%, 50%, 0.2);
    color: var(--text-primary);
    font-weight: 600;
    border-radius: 2px;
    padding: 0 2px;
    box-shadow: 0 0 6px hsla(180, 100%, 50%, 0.3);
}

/* --- Buttons --- */
.action-buttons-group {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 1.25rem;
}

@media (max-width: 580px) {
    .action-buttons-group {
        grid-template-columns: 1fr;
    }
}

button {
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 600;
    padding: 0.85rem 1.5rem;
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.primary-btn {
    background: var(--gradient-primary);
    color: white;
    border: none;
    box-shadow: 0 4px 15px hsla(262, 80%, 62%, 0.3);
}

.primary-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px hsla(262, 80%, 62%, 0.45);
}

.primary-btn:active:not(:disabled) {
    transform: translateY(0);
}

.secondary-btn {
    background: rgba(255, 255, 255, 0.6);
    color: var(--text-primary);
    border: 1px solid rgba(115, 140, 166, 0.3);
}

.secondary-btn:hover:not(:disabled) {
    background: rgba(255, 255, 255, 0.9);
    border-color: var(--primary-color);
}

button:disabled {
    opacity: 0.35;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

.btn-icon {
    font-size: 1.1rem;
}

/* --- Footer --- */
.app-footer {
    text-align: center;
    border-top: 1px solid hsla(224, 100%, 100%, 0.05);
    padding-top: 2rem;
    margin-top: auto;
}

.app-footer p {
    font-size: 0.82rem;
    color: var(--text-muted);
}

/* --- Notifications Container --- */
.notification-container {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    max-width: 380px;
    width: 100%;
}

.toast-notification {
    background: rgba(255, 255, 255, 0.92);
    border-left: 4px solid var(--accent-color);
    border-top: 1px solid rgba(115, 140, 166, 0.15);
    border-right: 1px solid rgba(115, 140, 166, 0.15);
    border-bottom: 1px solid rgba(115, 140, 166, 0.15);
    border-radius: 0 var(--border-radius-sm) var(--border-radius-sm) 0;
    color: var(--text-primary);
    padding: 1rem 1.25rem;
    backdrop-filter: blur(12px);
    box-shadow: 0 10px 30px rgba(115, 140, 166, 0.15);
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    animation: toastSlideIn 0.35s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
    transition: var(--transition-smooth);
}

.toast-notification.success {
    border-left-color: var(--success-color);
}

.toast-notification.error {
    border-left-color: var(--danger-color);
}

.toast-notification.info {
    border-left-color: var(--accent-color);
}

.toast-icon {
    font-size: 1.25rem;
    flex-shrink: 0;
}

.toast-body {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.toast-title {
    font-weight: 700;
    font-size: 0.92rem;
    font-family: var(--font-heading);
}

.toast-message {
    font-size: 0.82rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

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

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

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

/* --- Update History Section --- */
.update-history-section {
    margin-top: 1rem;
    animation: fadeIn 0.8s ease forwards;
}

.update-history-card {
    padding: 1.25rem 1.75rem !important;
}

.history-title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.history-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.history-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    font-size: 0.88rem;
    color: var(--text-secondary);
}

.history-date {
    font-weight: 700;
    color: var(--primary-color);
    background: rgba(115, 140, 166, 0.1);
    padding: 0.15rem 0.6rem;
    border-radius: 4px;
    font-size: 0.8rem;
}

.history-desc {
    line-height: 1.5;
}

