:root{--text:#1f2328;--bg:#fff;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light dark;color:var(--text);background:var(--bg);font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font:16px/1.5 system-ui,Segoe UI,Roboto,sans-serif}@media (prefers-color-scheme:dark){:root{--lightningcss-light: ;--lightningcss-dark:initial;--text:#e6e6e6;--bg:#16171d}}body{margin:0}#root{box-sizing:border-box;flex-direction:column;min-height:100svh;display:flex}h1,h2{font-weight:600}p{margin:0}.app{max-width:1100px;margin:0 auto;padding:0 1.5rem 3rem}.app-header{border-bottom:1px solid #333;margin-bottom:2rem;padding:1.5rem 0 1rem}.app-header h1{margin:0 0 .75rem;font-size:1.5rem}.app-header nav{flex-wrap:wrap;gap:.25rem;display:flex}.app-header nav a{color:inherit;opacity:.75;border-radius:6px;padding:.4rem .8rem;text-decoration:none}.app-header nav a:hover{opacity:1;background:#7f7f7f26}.app-header nav a.active{opacity:1;color:#fff;background:#646cff}.logout-link{margin-left:auto}.list-page-header{justify-content:space-between;align-items:center;margin-bottom:1rem;display:flex}.list-page-actions{gap:.75rem;display:flex}.btn{color:inherit;cursor:pointer;background:0 0;border:1px solid #555;border-radius:6px;padding:.5rem 1rem;font-size:.95rem;text-decoration:none;display:inline-block}.btn-primary{color:#fff;background:#646cff;border-color:#646cff}.data-table{border-collapse:collapse;width:100%}.data-table th,.data-table td{text-align:left;border-bottom:1px solid #7f7f7f4d;padding:.6rem .75rem}.data-table th{opacity:.7;text-transform:uppercase;letter-spacing:.03em;font-size:.85rem;font-weight:600}.actions-col{white-space:nowrap;width:1%}.actions-col a{color:#646cff;margin-right:.75rem}.link-button{color:#e05252;cursor:pointer;font-size:inherit;background:0 0;border:none;padding:0}.empty-row{text-align:center;opacity:.6;padding:2rem!important}.error{color:#e05252}.book-list-controls{flex-wrap:wrap;align-items:flex-end;gap:1rem;margin-bottom:1.5rem;display:flex}.book-search{color:inherit;font:inherit;background:0 0;border:1px solid #555;border-radius:6px;min-width:200px;padding:.5rem .6rem}.book-control{flex-direction:column;gap:.3rem;font-size:.85rem;font-weight:600;display:flex}.book-control select{color:inherit;font:inherit;background:0 0;border:1px solid #555;border-radius:6px;padding:.5rem .6rem;font-weight:400}.book-sort-dir{padding:.5rem .7rem;line-height:1}.book-grid{grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:1.5rem;display:grid}.book-card{flex-direction:column;gap:.5rem;display:flex}.book-cover{aspect-ratio:2/3;background:#7f7f7f26;border-radius:6px;position:relative;overflow:hidden}.book-cover img{object-fit:cover;width:100%;height:100%;display:block}.book-cover-placeholder{text-align:center;color:#fff;text-transform:uppercase;letter-spacing:.02em;background:#646cff;justify-content:center;align-items:center;width:100%;height:100%;padding:1rem;font-weight:700;line-height:1.3;display:flex}.book-card-actions{opacity:0;gap:.4rem;transition:opacity .15s;display:flex;position:absolute;top:.5rem;right:.5rem}.book-card:hover .book-card-actions{opacity:1}.book-card-action{color:#fff;cursor:pointer;background:#000000a6;border:none;border-radius:6px;justify-content:center;align-items:center;width:28px;height:28px;display:flex}.book-card-action:hover{background:#000000d9}.book-title{text-align:left;-webkit-line-clamp:2;-webkit-box-orient:vertical;font-size:.85rem;font-weight:600;display:-webkit-box;overflow:hidden}.form-page form{flex-direction:column;gap:1rem;max-width:560px;display:flex}.field{flex-direction:column;gap:.35rem;display:flex}.field label{font-size:.9rem;font-weight:600}.required{color:#e05252;margin-left:.25rem}.field input,.field textarea,.field select{color:inherit;font:inherit;background:0 0;border:1px solid #555;border-radius:6px;padding:.5rem .6rem}.field textarea{resize:vertical;min-height:80px}.checkbox-list{border:1px solid #444;border-radius:6px;flex-direction:column;gap:.35rem;max-height:180px;padding:.5rem .75rem;display:flex;overflow-y:auto}.checkbox-item{align-items:center;gap:.5rem;font-weight:400;display:flex}.hint{opacity:.6;margin:0;font-size:.85rem}.tag-select{position:relative}.tag-select-box{background:0 0;border:1px solid #555;border-radius:6px;flex-wrap:wrap;align-items:center;gap:.4rem;padding:.4rem .6rem;display:flex}.tag-chip{color:#fff;white-space:nowrap;background:#646cff;border-radius:999px;align-items:center;gap:.3rem;padding:.2rem .3rem .2rem .6rem;font-size:.85rem;display:inline-flex}.tag-chip-remove{color:#fff;cursor:pointer;background:#ffffff40;border:none;border-radius:50%;justify-content:center;align-items:center;width:18px;height:18px;padding:0;font-size:1rem;line-height:1;display:flex}.tag-chip-remove:hover{background:#fff6}.tag-select-input{min-width:140px;color:inherit;font:inherit;background:0 0;border:none;flex:1;padding:.2rem 0}.tag-select-input:focus{outline:none}.tag-suggestions{z-index:10;background:var(--bg);border:1px solid #555;border-radius:6px;max-height:220px;margin:0;padding:.25rem;list-style:none;position:absolute;top:calc(100% + .25rem);left:0;right:0;overflow-y:auto;box-shadow:0 4px 12px #00000040}.tag-suggestion{text-align:left;width:100%;color:inherit;font:inherit;cursor:pointer;background:0 0;border:none;border-radius:4px;padding:.45rem .6rem;display:block}.tag-suggestion:hover{background:#7f7f7f26}.tag-select-hint{margin-top:.35rem}.form-actions{gap:.75rem;margin-top:.5rem;display:flex}.import-search{gap:.75rem;max-width:560px;margin:1rem 0;display:flex}.import-search input{color:inherit;font:inherit;background:0 0;border:1px solid #555;border-radius:6px;flex:1;padding:.5rem .6rem}.import-results{flex-direction:column;gap:.75rem;max-width:720px;margin:1rem 0;padding:0;list-style:none;display:flex}.import-result{border:1px solid #7f7f7f4d;border-radius:8px;align-items:center;gap:1rem;padding:.75rem;display:flex}.import-cover{object-fit:cover;border-radius:4px;flex-shrink:0;width:48px;height:72px}.import-result-info{flex:1}.cover-preview{align-items:flex-end;gap:.75rem;margin-bottom:.5rem;display:flex}.cover-preview img{object-fit:cover;border:1px solid #7f7f7f4d;border-radius:4px;width:96px;height:144px}.cover-controls{gap:.5rem;margin-top:.5rem;display:flex}.cover-controls input[type=url]{color:inherit;font:inherit;background:0 0;border:1px solid #555;border-radius:6px;flex:1;padding:.5rem .6rem}.status-field{border-top:1px solid #7f7f7f4d;padding-top:1rem}.status-row{flex-wrap:wrap;align-items:flex-end;gap:1.5rem;display:flex}.status-subfield{flex-direction:column;gap:.35rem;font-size:.9rem;font-weight:600;display:flex}.status-subfield input{color:inherit;font:inherit;background:0 0;border:1px solid #555;border-radius:6px;padding:.5rem .6rem;font-weight:400}.status-field .form-actions{align-items:center;margin-top:.75rem}.enrich-field{border-top:1px solid #7f7f7f4d;padding-top:1rem}.enrich-field .form-actions{align-items:center;margin-top:.75rem}.enrich-comparison{border:1px solid #7f7f7f4d;border-radius:8px;margin-top:1rem;padding:1rem}.enrich-comparison-header{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.75rem;margin-bottom:.75rem;display:flex}.enrich-comparison-actions{gap:.5rem;display:flex}.enrich-table{border-collapse:collapse;width:100%}.enrich-table td{vertical-align:top;border-bottom:1px solid #7f7f7f33;padding:.4rem .5rem;font-size:.9rem}.enrich-current{opacity:.6;max-width:220px}.enrich-arrow{opacity:.4;padding:.4rem .25rem!important}.enrich-new{max-width:320px;font-weight:600}
