@layer theme{:root,:host{--font-sans:ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--spacing:.25rem;--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.start{inset-inline-start:var(--spacing)}.hidden{display:none}}:root{--bg:#0a0a0f;--surface:#141419;--surface-hover:#1c1c24;--border:#2a2a35;--text:#e8e8ed;--text-muted:#8888a0;--accent:#6366f1;--accent-hover:#818cf8;--danger:#ef4444;--success:#22c55e}*{box-sizing:border-box;margin:0;padding:0}body{background:var(--bg);color:var(--text);-webkit-font-smoothing:antialiased;min-height:100vh;font-family:Inter,-apple-system,BlinkMacSystemFont,sans-serif}.login-page{justify-content:center;align-items:center;min-height:100vh;padding:1rem;display:flex}.login-card{background:var(--surface);border:1px solid var(--border);border-radius:16px;width:100%;max-width:380px;padding:2.5rem}.login-card .brand{align-items:center;gap:.5rem;margin-bottom:1.5rem;font-size:1.1rem;font-weight:700;display:flex}.brand-mark{background:var(--accent);color:#fff;border-radius:8px;justify-content:center;align-items:center;width:32px;height:32px;font-size:.9rem;font-weight:800;display:inline-flex}.login-card h1{margin-bottom:.25rem;font-size:1.4rem}.login-card p{color:var(--text-muted);margin-bottom:1.5rem;font-size:.9rem}.login-card .field{margin-bottom:1rem}.login-card label{color:var(--text-muted);margin-bottom:.35rem;font-size:.8rem;display:block}.login-card input{border:1px solid var(--border);background:var(--bg);width:100%;color:var(--text);border-radius:8px;outline:none;padding:.6rem .75rem;font-size:.95rem;transition:border-color .15s}.login-card input:focus{border-color:var(--accent)}.login-card .error{color:var(--danger);margin-bottom:.75rem;font-size:.85rem}.login-button{background:var(--accent);color:#fff;cursor:pointer;border:none;border-radius:8px;width:100%;padding:.65rem;font-size:.95rem;font-weight:600;transition:background .15s}.login-button:hover{background:var(--accent-hover)}.app-container{max-width:800px;margin:0 auto;padding:2rem 1rem}.app-header{justify-content:space-between;align-items:center;margin-bottom:2rem;display:flex}.app-header h1{align-items:center;gap:.5rem;font-size:1.5rem;font-weight:700;display:flex}.header-actions{gap:.5rem;display:flex}.btn-icon{border:1px solid var(--border);background:var(--surface);width:36px;height:36px;color:var(--text-muted);cursor:pointer;border-radius:8px;justify-content:center;align-items:center;font-size:1.1rem;transition:all .15s;display:inline-flex}.btn-icon:hover{background:var(--surface-hover);color:var(--text)}.drop-zone{border:2px dashed var(--border);text-align:center;cursor:pointer;border-radius:12px;margin-bottom:2rem;padding:2.5rem 1rem;transition:all .2s}.drop-zone:hover,.drop-zone.dragging{border-color:var(--accent);background:#6366f10d}.drop-zone .icon{margin-bottom:.5rem;font-size:2rem}.drop-zone .label{color:var(--text-muted);font-size:.9rem}.drop-zone .label strong{color:var(--accent)}.upload-status{background:var(--surface);border:1px solid var(--border);color:var(--text-muted);border-radius:8px;align-items:center;gap:.5rem;margin-bottom:1rem;padding:.75rem 1rem;font-size:.85rem;display:flex}.upload-status .spinner{border:2px solid var(--border);border-top-color:var(--accent);border-radius:50%;width:16px;height:16px;animation:.6s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}.file-list{flex-direction:column;gap:.5rem;display:flex}.file-item{background:var(--surface);border:1px solid var(--border);border-radius:10px;align-items:center;gap:.75rem;padding:.75rem 1rem;transition:background .15s;display:flex}.file-item:hover{background:var(--surface-hover)}.file-icon{background:var(--bg);border-radius:8px;flex-shrink:0;justify-content:center;align-items:center;width:38px;height:38px;font-size:1.1rem;display:flex}.file-info{flex:1;min-width:0}.file-name{white-space:nowrap;text-overflow:ellipsis;font-size:.9rem;font-weight:500;overflow:hidden}.file-meta{color:var(--text-muted);margin-top:2px;font-size:.75rem}.file-actions{flex-shrink:0;gap:.35rem;display:flex}.file-actions button{width:32px;height:32px;color:var(--text-muted);cursor:pointer;background:0 0;border:none;border-radius:6px;justify-content:center;align-items:center;font-size:1rem;transition:all .15s;display:inline-flex}.file-actions button:hover{background:var(--bg);color:var(--text)}.file-actions button.delete:hover{color:var(--danger)}.empty-state{text-align:center;color:var(--text-muted);padding:3rem 1rem}.empty-state .icon{margin-bottom:.75rem;font-size:2.5rem}
