:root { --bg: #0f1216; --panel: #171b21; --panel-2: #1e242c; --border: #2a323c; --text: #e6e9ee; --muted: #8a94a2; --accent: #e6483d; --accent-2: #3d7de6; --ok: #38b26a; --err: #e2544a; } * { box-sizing: border-box; } body { margin: 0; background: var(--bg); color: var(--text); font: 15px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; } header { padding: 22px 28px; border-bottom: 1px solid var(--border); background: linear-gradient(180deg, #191d24, #12151a); } header h1 { margin: 0; font-size: 22px; } header .sub { margin: 4px 0 0; color: var(--muted); font-size: 13px; } .header-inner { max-width: 960px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 16px; } .user { display: flex; align-items: center; gap: 10px; } .user.hidden { display: none; } .user-name { color: var(--text); font-size: 13px; white-space: nowrap; } main { max-width: 960px; margin: 0 auto; padding: 24px 20px; display: grid; gap: 22px; } .panel { background: var(--panel); border: 1px solid var(--border); border-radius: 12px; padding: 18px; } .panel h2 { margin: 0 0 12px; font-size: 15px; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; } .search { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; } .search input { flex: 1; padding: 12px 14px; border-radius: 9px; border: 1px solid var(--border); background: var(--panel-2); color: var(--text); font-size: 15px; outline: none; } .search input:focus { border-color: var(--accent-2); } .count { color: var(--muted); font-size: 13px; white-space: nowrap; } .files, .jobs { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; } .empty { color: var(--muted); padding: 14px; text-align: center; } .file { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 12px 14px; background: var(--panel-2); border: 1px solid var(--border); border-radius: 9px; } .file-main { min-width: 0; } .file-name { font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .file-name .dir { color: var(--muted); font-weight: 400; } .file-meta { color: var(--muted); font-size: 12px; margin-top: 2px; } .file-actions { display: flex; gap: 8px; flex-shrink: 0; } .btn { display: inline-flex; align-items: center; gap: 6px; padding: 8px 13px; border-radius: 8px; border: 1px solid var(--border); background: var(--panel); color: var(--text); font-size: 13px; cursor: pointer; text-decoration: none; white-space: nowrap; } .btn:hover { border-color: #3a4552; } .btn.primary { background: var(--accent); border-color: var(--accent); color: #fff; } .btn.primary:hover { filter: brightness(1.08); } .btn.ghost { background: transparent; } .btn.small { padding: 5px 9px; font-size: 12px; } /* Jobs */ .job { padding: 12px 14px; background: var(--panel-2); border: 1px solid var(--border); border-radius: 9px; } .job-head { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 8px; } .job-name { font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .job-status { color: var(--muted); font-size: 13px; white-space: nowrap; } .job.done .job-status { color: var(--ok); } .job.error .job-status { color: var(--err); } .bar { height: 8px; background: #0d1116; border-radius: 6px; overflow: hidden; } .bar-fill { height: 100%; background: linear-gradient(90deg, var(--accent-2), var(--ok)); transition: width .4s ease; } .job.done .bar-fill { background: var(--ok); } .job.error .bar-fill { background: var(--err); } .job-actions { margin-top: 10px; display: flex; gap: 8px; } .job-err { margin-top: 8px; color: var(--err); font-size: 12px; font-family: ui-monospace, monospace; word-break: break-word; } /* Modale */ .modal { position: fixed; inset: 0; background: rgba(0,0,0,.6); display: flex; align-items: center; justify-content: center; padding: 20px; z-index: 50; } .modal.hidden { display: none; } .modal-box { width: 100%; max-width: 460px; background: var(--panel); border: 1px solid var(--border); border-radius: 14px; padding: 22px; } .modal-box h3 { margin: 0 0 6px; font-size: 16px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .modal .info { color: var(--muted); font-size: 13px; margin-bottom: 16px; } .modal label { display: block; font-size: 13px; color: var(--muted); margin-bottom: 14px; } .modal select { width: 100%; margin-top: 6px; padding: 10px; border-radius: 8px; background: var(--panel-2); border: 1px solid var(--border); color: var(--text); font-size: 14px; } .modal-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 8px; } .tag { padding: 2px 8px; border-radius: 20px; font-size: 11px; } .tag.hdr { background: rgba(61,125,230,.18); color: #7ea6f0; } .err { color: var(--err); }