:root { font-family: Inter, system-ui, sans-serif; line-height: 1.4; color: #222; background: #f3f6f8; } .app { max-width: 760px; margin: 2rem auto; background: #ffffff; border-radius: 8px; padding: 1.5rem 2rem; box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06); } .controls { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; margin-bottom: 1rem; } .controls label { font-size: 0.9rem; display: flex; align-items: center; gap: 0.35rem; } .controls select, .controls input[type="number"] { padding: 0.25rem 0.5rem; border: 1px solid #d1d5db; border-radius: 4px; background: #fff; } button.primary { padding: 0.4rem 0.9rem; background: #3b82f6; color: #ffffff; border: none; border-radius: 4px; cursor: pointer; } button.primary:hover { background: #2563eb; } .status { margin-top: 0.5rem; font-weight: 500; } .progress-wrapper { margin: 0.5rem 0; } .progress-bar { height: 8px; background: #e2e8f0; border-radius: 4px; overflow: hidden; } .progress-bar > div { height: 100%; background: #10b981; transition: width 0.2s; } .progress-text { font-size: 0.8rem; color: #555; margin-top: 0.25rem; } .textarea { width: 100%; height: 6rem; resize: vertical; padding: 0.75rem; border: 1px solid #d1d5db; border-radius: 4px; font-family: inherit; font-size: 0.9rem; } .performance { font-size: 0.85rem; background: #ecfdf5; padding: 0.5rem 0.75rem; border-radius: 6px; border: 1px solid #d1fae5; margin-bottom: 1rem; } .history { margin-top: 1rem; } .history h3 { margin-bottom: 0.5rem; color: #333; } .history-item { padding: 1rem; border-bottom: 1px solid #f1f5f9; background: #ffffff; } .history-item:last-child { border-bottom: none; } .history-meta { display: flex; justify-content: space-between; font-size: 0.9rem; color: #666; margin-bottom: 0.5rem; } .history-stats { font-size: 0.75rem; color: #666; margin-bottom: 0.5rem; } .history-text { background: #f9fafb; padding: 0.5rem 0.75rem; border-radius: 4px; border: 1px solid #e5e7eb; font-size: 0.9rem; } /* HF Spaces specific styles */ .app h2 { margin-top: 0; color: #1f2937; } .app p { margin-bottom: 1rem; color: #6b7280; } .app h3 { color: #374151; margin-bottom: 0.5rem; } .app h4 { color: #374151; margin-bottom: 0.5rem; } .app a { color: #3b82f6; text-decoration: none; } .app a:hover { text-decoration: underline; }