/* CSS Reset & Variables */
:root {
    /* Colors */
    --bg-base: #F8FAFC;
    --surface: #FFFFFF;
    --primary: #4F46E5;
    --primary-hover: #4338CA;
    --secondary: #7C3AED;
    --text-main: #0F172A;
    --text-muted: #64748B;
    --border: #E2E8F0;
    --success: #10B981;

    /* Shadows */
    --shadow-soft: 0 4px 20px -2px rgba(79, 70, 229, 0.08);
    --shadow-elevated: 0 10px 25px -5px rgba(79, 70, 229, 0.12), 0 8px 10px -6px rgba(79, 70, 229, 0.08);
    --shadow-button: 0 4px 14px 0 rgba(79, 70, 229, 0.25);

    /* Radius */
    --radius-input: 8px;
    --radius-card: 12px;
    --radius-pill: 9999px;

    /* Spacing */
    --space-2: 0.5rem;
    --space-4: 1rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-12: 3rem;

    /* Animations */
    --transition-base: all 0.2s ease-out;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", "微软雅黑", sans-serif;
    background-color: var(--bg-base);
    color: var(--text-main);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Typography */
h1,
h2,
h3,
h4 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-main);
}

h1 {
    font-size: 2.5rem;
    letter-spacing: -0.02em;
}

h2 {
    font-size: 1.5rem;
}

p {
    color: var(--text-muted);
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

/* Layout Primitives */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: var(--space-6);
}

.flex-center {
    display: flex;
    justify-content: center;
    align-items: center;
}

.flex-between {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.flex-col {
    display: flex;
    flex-direction: column;
}

.grid {
    display: grid;
    gap: var(--space-6);
}

/* Atmospheric Background Elements */
.ambient-blob {
    position: fixed;
    border-radius: 50%;
    filter: blur(100px);
    z-index: -1;
    opacity: 0.15;
    pointer-events: none;
}

.blob-1 {
    top: -10%;
    left: -5%;
    width: 500px;
    height: 500px;
    background: var(--primary);
}

.blob-2 {
    bottom: -10%;
    right: -5%;
    width: 600px;
    height: 600px;
    background: var(--secondary);
}

/* Navigation */
header {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 50;
}

.nav-inner {
    display: flex;
    width: 100%;
    align-items: center;
    padding: 16px 0;
}

.header-split-left {
    flex: 0 0 50%;
    padding-left: 24px;
    display: flex;
    align-items: center;
    box-sizing: border-box;
}

.header-split-right {
    flex: 1;
    padding-right: 24px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    box-sizing: border-box;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 1.1rem;
}

.logo-icon {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
}

/* Views Management */
.view-section {
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease-in;
}

.view-section.active {
    display: block;
    opacity: 1;
}

/* ----- View 1: Upload Workstation ----- */
.hero-section {
    text-align: center;
    padding: var(--space-12) 0;
    animation: slideUp 0.5s ease-out forwards;
}

.upload-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--space-6);
    margin-top: var(--space-8);
}

/* Card Component */
.card {
    background: var(--surface);
    border-radius: var(--radius-card);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-soft);
    padding: var(--space-6);
    transition: var(--transition-base);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-4px) perspective(1000px) rotateX(2deg) rotateY(-2deg);
    box-shadow: var(--shadow-elevated);
    border-color: rgba(79, 70, 229, 0.3);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: var(--space-4);
    font-weight: 600;
}

.card-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: #EEF2FF;
    color: var(--primary);
    display: flex;
    justify-content: center;
    align-items: center;
}

/* File Dropzone */
.dropzone {
    border: 2px dashed var(--border);
    border-radius: var(--radius-input);
    padding: var(--space-6);
    text-align: center;
    cursor: pointer;
    transition: var(--transition-base);
    background: #F8FAFC;
    position: relative;
}

.dropzone input[type="file"] {
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.dropzone:hover {
    border-color: var(--primary);
    background: #EEF2FF;
}

.dz-text {
    margin-top: 8px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.status-badge {
    margin-top: var(--space-4);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: var(--radius-pill);
    font-size: 0.85rem;
    font-weight: 500;
    background: #F1F5F9;
    color: var(--text-muted);
}

.status-badge.success {
    background: #D1FAE5;
    color: #065F46;
}

.status-badge.loading {
    background: #DBEAFE;
    color: #1E40AF;
    display: none;
}

.file-list {
    margin-top: var(--space-4);
    font-size: 0.9rem;
}

.file-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    background: #F8FAFC;
    border-radius: 6px;
    border: 1px solid var(--border);
    margin-top: 8px;
}

.btn-delete {
    background: none;
    border: none;
    color: #EF4444;
    cursor: pointer;
    font-size: 0.85rem;
    padding: 4px;
}

.btn-delete:hover {
    text-decoration: underline;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 24px;
    border-radius: var(--radius-pill);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition-base);
    border: 1px solid transparent;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    box-shadow: var(--shadow-button);
    border: none;
}

.btn-primary:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(79, 70, 229, 0.4);
}

.btn-primary:disabled {
    background: #94A3B8;
    box-shadow: none;
    cursor: not-allowed;
    transform: none;
}

.btn-outline {
    background: transparent;
    border-color: var(--border);
    color: var(--text-main);
}

.btn-outline:hover {
    background: #F8FAFC;
    border-color: var(--text-muted);
}

.btn-icon {
    width: 36px;
    height: 36px;
    padding: 0;
    border-radius: 8px;
    border-color: var(--border);
    background: white;
}

.btn-icon:hover {
    background: #F8FAFC;
}


.start-calc-container {
    margin-top: var(--space-8);
    text-align: center;
    padding-top: var(--space-6);
    border-top: 1px solid var(--border);
}


/* ----- View 2: Split Screen Workbench ----- */
.workspace {
    display: flex;
    height: calc(100vh - 70px);
    overflow: hidden;
    background: var(--bg-base);
}

.pdf-panel {
    flex: 0 0 50%;
    width: 50%;
    border-right: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    background: #E2E8F0;
    box-sizing: border-box;
}

.panel-header {
    padding: 20px 24px;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    font-weight: 600;
}

.pdf-viewer-mock {
    flex: 1;
    padding: 0;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.pdf-page-mock {
    width: 100%;
    max-width: 100%;
    background: white;
    box-shadow: var(--shadow-soft);
    padding: 40px;
    font-family: "Microsoft YaHei", sans-serif;
    color: #333;
    line-height: 2;
    position: relative;
}

.pdf-text {
    margin-bottom: 1em;
}

.highlight-target {
    transition: background-color 0.3s;
    border-radius: 2px;
}

.highlight-active {
    background-color: rgba(250, 204, 21, 0.4);
    padding: 2px 4px;
    border-bottom: 2px solid #CA8A04;
    animation: pulse-hl 2s infinite;
}

@keyframes pulse-hl {
    0% { background-color: rgba(250, 204, 21, 0.3); }
    50% { background-color: rgba(250, 204, 21, 0.6); }
    100% { background-color: rgba(250, 204, 21, 0.3); }
}

.data-panel {
    flex: 0 0 50%;
    width: 50%;
    display: flex;
    flex-direction: column;
    background: var(--surface);
    box-sizing: border-box;
}

.data-content {
    flex: 1;
    padding: var(--space-6);
    overflow: auto;
    position: relative;
}

/* Tabs */
.tabs {
    display: flex;
    gap: 2px;
    background: #F1F5F9;
    padding: 4px;
    border-radius: 12px;
    width: fit-content;
    margin-bottom: var(--space-6);
}

.tab {
    padding: 8px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    color: var(--text-muted);
    transition: var(--transition-base);
}

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

.tab.active {
    background: white;
    color: var(--primary);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

/* Data Tables */
.table-container {
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    overflow: hidden;
    margin-bottom: var(--space-6);
    display: none;
    animation: fadeIn 0.3s ease-out;
}

.table-container.active {
    display: block;
}

.facility-group {
    background: #F8FAFC;
    padding: 12px 16px;
    font-weight: 600;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 8px;
}

.facility-group::before {
    content: '';
    width: 4px;
    height: 16px;
    background: var(--primary);
    border-radius: 4px;
}

table {
    width: 100%;
    border-collapse: collapse;
    text-align: center;
}

th,
td {
    padding: 12px 16px;
    border: 1px solid #CBD5E1;
    text-align: center;
}

th {
    background: #F1F5F9;
    color: var(--text-main);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.05em;
}

tr:hover td {
    background: #F8FAFC;
}

.clickable-entity {
    color: var(--primary);
    text-decoration: underline;
    text-decoration-color: rgba(79, 70, 229, 0.3);
    text-underline-offset: 4px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.2s;
}

.clickable-entity:hover {
    color: var(--secondary);
    text-decoration-color: var(--secondary);
}

.summary-row td {
    background: #F1F5F9 !important;
    font-weight: 700;
    color: var(--text-main);
}

.toast-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 9999;
}

.toast {
    background: var(--surface);
    color: var(--text-main);
    padding: 16px 20px;
    border-radius: 12px;
    box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.2);
    border-left: 4px solid var(--primary);
    display: flex;
    align-items: center;
    gap: 12px;
    transform: translateX(120%);
    animation: slideInRight 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    font-weight: 500;
    font-size: 0.95rem;
}

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

.toast.error {
    border-left-color: #EF4444;
}

.toast.fade-out {
    animation: slideOutRight 0.3s ease-in forwards;
}

.panel-header-large {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-main);
    margin: 0;
}

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

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideInRight {
    to { transform: translateX(0); }
}

@keyframes slideOutRight {
    to { transform: translateX(120%); opacity: 0; }
}

.icon-svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

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

/* --- Enhanced Calculation Visualization --- */
.calculation-process-wrapper {
    background: linear-gradient(to bottom right, var(--surface), #F8FAFC);
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    padding: var(--space-6);
    box-shadow: var(--shadow-soft);
    animation: fadeIn 0.4s ease-out forwards;
}

.calc-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-4);
    padding-bottom: var(--space-4);
    border-bottom: 1px dashed var(--border);
}

.calc-header-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.calc-header-tag {
    background: rgba(79, 70, 229, 0.1);
    color: var(--primary);
    padding: 4px 12px;
    border-radius: var(--radius-pill);
    font-size: 0.8rem;
    font-weight: 600;
}

/* Method Blocks */
.calc-method-block {
    background: white;
    border-radius: var(--radius-card);
    border: 1px solid var(--border);
    padding: var(--space-4);
    margin-bottom: var(--space-6);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
}

.calc-method-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: var(--space-4);
    display: flex;
    align-items: center;
    gap: 8px;
}

.calc-method-title::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 18px;
    background: var(--secondary);
    border-radius: 4px;
}

/* Facility Item */
.calc-facility-item {
    margin-bottom: var(--space-4);
    padding-bottom: var(--space-4);
}

.calc-facility-item:not(:last-child) {
    border-bottom: 1px dashed #E2E8F0;
}

.calc-facility-name {
    font-size: 0.95rem;
    font-weight: 600;
    color: #334155;
    margin-bottom: 8px;
    display: inline-flex;
    background: #F1F5F9;
    padding: 4px 10px;
    border-radius: 6px;
}

/* Step Layout */
.math-step-container {
    padding: 12px 16px;
    background: #FAFAFA;
    border-radius: 8px;
    border-left: 3px solid var(--primary);
    margin-top: 8px;
}

.raw-data-ribbon {
    font-family: inherit;
    font-size: 0.85rem;
    color: #475569;
    background: #F8FAFC;
    padding: 8px 12px;
    border-radius: 6px;
    border: 1px solid #E2E8F0;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.raw-data-ribbon svg {
    width: 16px;
    height: 16px;
    color: var(--primary);
}

.formula-line {
    display: flex;
    align-items: baseline;
    font-family: "Cascadia Code", "Fira Code", monospace;
    font-size: 0.9rem;
    margin-bottom: 8px;
    color: #1E293B;
}

.formula-step-label {
    min-width: 140px;
    font-weight: 600;
    color: var(--text-muted);
    font-family: -apple-system, sans-serif;
    font-size: 0.85rem;
}

.formula-result-hl {
    color: var(--primary);
    font-weight: 700;
    background: rgba(79, 70, 229, 0.08);
    padding: 2px 6px;
    border-radius: 4px;
    border: 1px solid rgba(79, 70, 229, 0.2);
}

.calc-note {
    font-size: 0.8rem;
    color: #94A3B8;
    margin-top: 12px;
    font-style: italic;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* ----- 数据审核修改页面样式 ----- */
.review-hint {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 24px;
    background: rgba(79, 70, 229, 0.05);
    border: 1px solid rgba(79, 70, 229, 0.2);
    border-radius: 12px;
    margin-bottom: 24px;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-main);
}

.review-hint svg {
    color: var(--primary);
}

.review-tabs {
    display: flex;
    gap: 2px;
    background: #F1F5F9;
    padding: 4px;
    border-radius: 12px;
    width: fit-content;
    margin-bottom: 24px;
}

.review-tabs .tab {
    padding: 10px 28px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    color: var(--text-muted);
    transition: var(--transition-base);
    background: transparent;
    border: none;
}

.review-tabs .tab:hover {
    color: var(--text-main);
}

.review-tabs .tab.active {
    background: white;
    color: var(--primary);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.review-panel {
    display: none;
    animation: fadeIn 0.3s ease-out;
}

.review-panel.active {
    display: block;
}

.form-section {
    background: white;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 20px;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--border);
}

.form-section h3 {
    margin-bottom: 20px;
    font-size: 1.1rem;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 12px;
}

.form-row {
    display: grid;
    grid-template-columns: 200px 1fr auto;
    gap: 16px;
    align-items: center;
    margin-bottom: 16px;
}

.form-row label {
    font-weight: 600;
    color: var(--text-main);
    font-size: 0.95rem;
}

.required {
    color: #ef4444;
    font-weight: 700;
}

.form-row input[type="text"],
.form-row input[type="number"],
.form-row select {
    padding: 10px 14px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--text-main);
    background: var(--surface);
    transition: var(--transition-base);
}

.form-row input:focus,
.form-row select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.source-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 12px;
    background: rgba(79, 70, 229, 0.08);
    color: var(--primary);
    border-radius: 12px;
    font-size: 0.8rem;
    cursor: help;
    font-weight: 500;
    border: 1px solid rgba(79, 70, 229, 0.2);
}

.editable-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 16px;
}

.editable-table thead {
    background: #F1F5F9;
}

.editable-table th {
    padding: 12px 16px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-main);
    text-align: left;
    border: 1px solid var(--border);
}

.editable-table td {
    padding: 10px 16px;
    border: 1px solid var(--border);
    background: white;
}

.editable-table input[type="text"],
.editable-table input[type="number"],
.editable-table select {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid var(--border);
    border-radius: 6px;
    font-size: 0.9rem;
    font-family: inherit;
    color: var(--text-main);
    background: white;
}

.editable-table input:focus,
.editable-table select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.field-error {
    border-color: #ef4444 !important;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1) !important;
}

.field-modified {
    background-color: #fef3c7 !important;
    border-left: 3px solid #f59e0b !important;
}

.review-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 24px;
    margin-top: 32px;
    border-top: 1px solid var(--border);
}

.btn-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    padding: 0;
    border-radius: 6px;
    border: 1px solid var(--border);
    background: white;
    cursor: pointer;
    transition: var(--transition-base);
}

.btn-icon:hover {
    background: #F8FAFC;
    border-color: var(--primary);
}

.btn-icon svg {
    color: var(--primary);
}

.btn-delete-row {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 12px;
    border: 1px solid #fecaca;
    background: #fef2f2;
    color: #dc2626;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 500;
    transition: var(--transition-base);
}

.btn-delete-row:hover {
    background: #fee2e2;
    border-color: #f87171;
}

/* 警告信息样式 */
.warning-box {
    background: #fef3c7;
    border: 1px solid #fbbf24;
    border-radius: 12px;
    padding: 16px 20px;
    margin-bottom: 24px;
}

.warning-box-header {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: #92400e;
    margin-bottom: 12px;
}

.warning-box-header svg {
    width: 20px;
    height: 20px;
    color: #f59e0b;
}

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

.warning-list li {
    padding: 6px 0;
    padding-left: 24px;
    color: #78350f;
    font-size: 0.9rem;
    position: relative;
}

.warning-list li::before {
    content: '•';
    position: absolute;
    left: 8px;
    color: #f59e0b;
    font-weight: 700;
}

/* 核算结果页面容器 - 全宽布局 */
.result-container {
    width: calc(100% - 40px);
    max-width: none;
    margin: 0 20px;
    padding: 32px;
    box-sizing: border-box;
}

/* 生产负荷验证样式 */
.input-error {
    border: 2px solid #e74c3c !important;
    background-color: #fee;
}

.field-error-message {
    color: #e74c3c;
    font-size: 0.85rem;
    margin-top: 4px;
    display: block;
}

/* --- 卡片式布局样式 --- */
.process-card-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.process-card {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: var(--transition-base);
}

.process-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    border-color: var(--primary);
}

.process-card-header {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-main);
    padding-bottom: 12px;
    border-bottom: 2px solid var(--primary);
}

.process-step {
    margin-bottom: 14px;
    padding-left: 16px;
    position: relative;
}

.process-step strong {
    color: var(--text-main);
    font-weight: 600;
    display: block;
    margin-bottom: 6px;
    font-size: 0.95rem;
}

.process-step-content {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.process-formula {
    background: #f5f5f5;
    padding: 10px 12px;
    border-radius: 4px;
    font-family: "Cascadia Code", "Fira Code", monospace;
    margin: 8px 0;
    font-size: 0.85rem;
    color: #1e293b;
    border-left: 3px solid var(--primary);
    overflow-x: auto;
}
