:root { color-scheme: dark; font-family: "Noto Sans SC", sans-serif; background: #111415; color: #edf1ee; }
* { box-sizing: border-box; } body { margin: 0; min-width: 760px; background: #111415; } button { font: inherit; }
.dashboard-shell { min-height: 100vh; background-color: #111415; background-image: radial-gradient(#242929 1px, transparent 1px); background-size: 16px 16px; }
.dashboard-topbar { height: 58px; display: flex; align-items: center; justify-content: space-between; padding: 0 28px; border-bottom: 1px solid #2a2e2e; background: #171a1be8; }.dashboard-brand { display: flex; align-items: center; gap: 10px; color: #edf1ee; text-decoration: none; font-size: 16px; font-weight: 700; }.brand-mark { color: #c5fa61; font: 26px "DM Mono", monospace; line-height: 1; }.topbar-status { display: flex; align-items: center; gap: 8px; color: #9ca6a3; font: 11px "DM Mono", monospace; }.status-dot { width: 7px; height: 7px; border-radius: 50%; background: #c5fa61; box-shadow: 0 0 0 3px #c5fa611c; }
.dashboard-main { width: min(1240px, calc(100% - 56px)); margin: 0 auto; padding: 52px 0 70px; }.intro-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }.eyebrow { margin: 0 0 8px; color: #98bb55; font: 10px "DM Mono", monospace; letter-spacing: .13em; }.intro-row h1, .tasks-heading h2 { margin: 0; letter-spacing: 0; }.intro-row h1 { font-size: 28px; line-height: 1.25; }.intro-copy { margin: 9px 0 0; color: #9ca5a3; font-size: 13px; }.primary-button, .secondary-button, .quiet-button, .repair-button, .action-button, .close-button { cursor: pointer; transition: background .15s, border-color .15s, color .15s; }.primary-button { border: 1px solid #c5fa61; border-radius: 5px; padding: 10px 15px; color: #1d250d; background: #c5fa61; font-size: 13px; font-weight: 700; }.primary-button span { margin-right: 6px; font-size: 18px; vertical-align: -1px; }.primary-button:hover { background: #d3ff80; }
.drop-zone { min-height: 190px; display: grid; place-items: center; align-content: center; gap: 7px; margin-top: 34px; border: 1px dashed #4a5351; border-radius: 6px; background: #171b1bbf; outline: none; transition: border-color .15s, background .15s; }.drop-zone.drag-over, .drop-zone:focus { border-color: #c5fa61; background: #20271aee; }.drop-icon { color: #c5fa61; font: 31px "DM Mono", monospace; line-height: 1; }.drop-zone strong { margin-top: 3px; font-size: 15px; }.drop-zone span { color: #8e9895; font-size: 12px; }.secondary-button { margin-top: 7px; padding: 6px 12px; border: 1px solid #424a48; border-radius: 4px; background: #232828; color: #d8dfdc; font-size: 12px; }.secondary-button:hover { border-color: #75807c; background: #2d3432; }
.tasks-section { margin-top: 47px; }.tasks-heading { display: flex; align-items: end; justify-content: space-between; padding-bottom: 15px; border-bottom: 1px solid #2a3030; }.tasks-heading .eyebrow { margin-bottom: 5px; }.tasks-heading h2 { font-size: 17px; }.tasks-heading h2 span { margin-left: 5px; color: #84908c; font: 12px "DM Mono", monospace; }.quiet-button { padding: 4px 0; border: 0; background: transparent; color: #8d9894; font-size: 12px; }.quiet-button:hover:not(:disabled) { color: #ffb1a6; }.quiet-button:disabled { opacity: .35; cursor: default; }
.empty-state { display: grid; place-items: center; min-height: 140px; color: #747e7a; font-size: 12px; }.task-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; padding-top: 18px; }.task-card { overflow: hidden; border: 1px solid #303737; border-radius: 6px; background: #1a1e1f; }.image-preview { position: relative; display: block; width: 100%; height: 182px; padding: 0; border: 0; background: #111415; cursor: zoom-in; overflow: hidden; }.image-preview img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .22s ease, opacity .22s; }.preview-hover { position: absolute; inset: auto 0 0; padding: 24px 8px 9px; color: #f0f4ef; background: linear-gradient(transparent, #0f1112d9); opacity: 0; text-align: left; font-size: 11px; transition: opacity .18s; }.image-preview:hover img { transform: scale(1.035); opacity: .82; }.image-preview:hover .preview-hover { opacity: 1; }.task-details { display: grid; gap: 5px; padding: 12px 12px 10px; }.file-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; }.file-meta { color: #899390; font: 10px "DM Mono", monospace; }.task-actions { display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: 6px; padding: 0 12px 12px; }.repair-button, .action-button { min-height: 31px; padding: 4px 6px; border-radius: 4px; font-size: 11px; }.repair-button { border: 1px solid #a9d95a; color: #d9fa9d; background: #28341e; }.repair-button:hover { background: #334624; }.action-button { border: 1px solid #3d4543; color: #cbd2cf; background: #232829; }.action-button:hover { border-color: #6d7773; background: #2e3533; }
.preview-dialog { position: relative; width: auto; max-width: 96vw; max-height: 96vh; padding: 0; border: 0; background: transparent; color: #edf1ee; box-shadow: none; overflow: visible; }.preview-dialog::backdrop { background: #060809d9; }.dialog-bar { position: absolute; top: 10px; right: 10px; z-index: 1; height: auto; padding: 0; border: 0; }.dialog-bar span { display: none; }.close-button { width: 30px; height: 30px; border: 0; border-radius: 50%; background: #121616b8; color: #f4f7f4; font-size: 22px; line-height: 1; }.close-button:hover { background: #272d2bd9; }.preview-dialog img { display: block; max-width: 96vw; max-height: 96vh; margin: 0 auto; object-fit: contain; }
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 3; padding: 9px 14px; border-radius: 4px; background: #e8eddb; color: #20251b; font-size: 12px; font-weight: 600; opacity: 0; pointer-events: none; translate: -50% 15px; transition: opacity .2s, translate .2s; }.toast.show { opacity: 1; translate: -50% 0; }
@media (max-width: 900px) { body { min-width: 0; }.dashboard-main { width: min(100% - 32px, 720px); padding-top: 34px; }.intro-row { align-items: flex-start; flex-direction: column; }.primary-button { align-self: stretch; }.task-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } } @media (max-width: 560px) { .dashboard-topbar { padding: 0 16px; }.task-grid { grid-template-columns: 1fr; } }
.image-preview { outline: none; }.image-preview:focus-visible { outline: 2px solid #c5fa61; outline-offset: -2px; }.preview-badge { position: absolute; top: 9px; left: 9px; z-index: 1; padding: 4px 7px; border: 1px solid #d7ded98c; border-radius: 3px; background: #121616c9; color: #f1f5ee; font: 10px "DM Mono", monospace; }.preview-nav { position: absolute; top: 50%; z-index: 2; width: 28px; height: 34px; padding: 0; border: 1px solid #d7ded966; border-radius: 3px; background: #101313c9; color: #f3f6f3; font-size: 25px; line-height: 26px; opacity: 0; translate: 0 -50%; transition: opacity .15s, background .15s; cursor: pointer; }.preview-prev { left: 9px; }.preview-next { right: 9px; }.image-preview:hover .preview-nav:not(:disabled), .image-preview:focus-within .preview-nav:not(:disabled) { opacity: 1; }.preview-nav:hover { background: #303937; }.preview-nav:disabled { display: none; }.repair-button:disabled, .action-button:disabled { opacity: .55; cursor: wait; }.task-card.is-processing .repair-button::before { content: ""; display: inline-block; width: 9px; height: 9px; margin-right: 5px; border: 1px solid #d9fa9d; border-right-color: transparent; border-radius: 50%; vertical-align: -1px; animation: repair-spin .75s linear infinite; } @keyframes repair-spin { to { transform: rotate(360deg); } }
