@import"https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&display=swap";.app{max-width:640px;margin:0 auto;padding:2.5rem 1.25rem 3rem;min-height:100vh;display:flex;flex-direction:column}.header{display:flex;gap:1rem;align-items:flex-start;margin-bottom:2rem}.header h1{margin:0;font-size:1.75rem;font-weight:700;letter-spacing:-.02em}.tagline{margin:.25rem 0 0;color:var(--muted);font-size:.95rem}.main{flex:1;display:flex;flex-direction:column;gap:1.25rem}.dropzone{border:2px dashed var(--surface-2);border-radius:var(--radius);background:var(--surface);padding:2.5rem 1.5rem;text-align:center;cursor:pointer;transition:border-color .15s,background .15s}.dropzone:hover,.dropzone:focus-visible{border-color:var(--accent);outline:none}.dropzone--active{border-color:var(--accent-2);background:color-mix(in srgb,var(--accent-2) 12%,var(--surface))}.dropzone--busy{pointer-events:none;opacity:.75}.dropzone-icon{display:inline-flex;width:2.5rem;height:2.5rem;align-items:center;justify-content:center;border-radius:50%;background:var(--surface-2);font-size:1.25rem;margin-bottom:.75rem}.dropzone-title{margin:0;font-weight:600}.dropzone-hint{margin:.35rem 0 0;font-size:.875rem;color:var(--muted)}.list-section{background:var(--surface);border-radius:var(--radius);padding:1rem 1rem .5rem}.list-header{display:flex;flex-direction:column;gap:.35rem;padding:0 .25rem .75rem}.list-header-row{display:flex;justify-content:space-between;align-items:center;gap:.75rem}.view-toggle{display:flex;padding:3px;background:var(--bg);border-radius:8px;gap:2px}.view-toggle-btn{border:none;background:transparent;color:var(--muted);font-size:.75rem;font-weight:600;padding:.35rem .65rem;border-radius:6px;cursor:pointer}.view-toggle-btn--active{background:var(--surface-2);color:var(--text)}.list-hint{margin:.25rem 0 .5rem;padding:0 .25rem;font-size:.8rem;color:var(--muted)}.list-hint strong{font-weight:600;color:var(--text)}.list-header h2{margin:0;font-size:.875rem;text-transform:uppercase;letter-spacing:.06em;color:var(--muted);font-weight:600}.list-meta{font-size:.75rem;color:var(--muted);text-align:right}.file-list{list-style:none;margin:0;padding:0}.file-item{display:grid;grid-template-columns:auto auto 1fr auto auto;align-items:center;gap:.5rem .75rem;padding:.65rem .5rem;border-radius:8px;background:var(--surface-2);margin-bottom:.5rem}.file-item--dragging{opacity:.5}.file-grip{cursor:grab;color:var(--muted);font-size:.75rem;-webkit-user-select:none;user-select:none;padding:0 .15rem}.file-index{width:1.5rem;height:1.5rem;display:flex;align-items:center;justify-content:center;font-size:.75rem;font-weight:600;background:var(--bg);border-radius:6px;color:var(--accent)}.file-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.9rem}.page-item{grid-template-columns:auto auto 1fr auto}.page-label{min-width:0;display:flex;flex-direction:column;gap:.1rem}.page-detail,.file-size{font-size:.75rem;color:var(--muted)}.file-actions{display:flex;gap:.15rem}.icon-btn{border:none;background:transparent;color:var(--muted);width:1.75rem;height:1.75rem;border-radius:6px;cursor:pointer;font-size:.85rem;line-height:1}.icon-btn:hover:not(:disabled){background:var(--bg);color:var(--text)}.icon-btn:disabled{opacity:.35;cursor:not-allowed}.icon-btn--danger:hover:not(:disabled){color:var(--danger)}.error{margin:0;padding:.75rem 1rem;background:color-mix(in srgb,var(--danger) 15%,var(--surface));border-radius:8px;color:var(--danger);font-size:.9rem}.actions{display:flex;gap:.75rem;width:100%;margin-top:.5rem}.btn{flex:1;border:none;border-radius:10px;padding:.75rem 1.25rem;font-weight:600;font-size:.95rem;cursor:pointer;transition:opacity .15s,transform .1s}.btn:active:not(:disabled){transform:scale(.98)}.btn:disabled{opacity:.45;cursor:not-allowed}.btn--secondary{background:var(--surface-2);color:var(--text)}.btn--primary{background:linear-gradient(135deg,var(--accent),var(--accent-2));color:#fff}.footer{margin-top:2.5rem;text-align:center}.footer p{margin:0;font-size:.8rem;color:var(--muted)}@media (max-width: 480px){.file-item{grid-template-columns:auto 1fr auto;grid-template-rows:auto auto}.file-size{grid-column:2;grid-row:2}.file-actions{grid-column:3;grid-row:1 / span 2;align-self:center}}:root{--bg: #0f1219;--surface: #1a2030;--surface-2: #242c40;--text: #e8ecf4;--muted: #8b95a8;--accent: #5b8def;--accent-2: #7c6cf0;--danger: #f07178;--radius: 12px;--font: "DM Sans", system-ui, -apple-system, sans-serif}*,*:before,*:after{box-sizing:border-box}html,body{margin:0;min-height:100%}body{font-family:var(--font);background:var(--bg);color:var(--text);line-height:1.5;-webkit-font-smoothing:antialiased}#root{min-height:100vh}button{font-family:inherit}
