.image-card{cursor:pointer;border:1px solid var(--border-primary);border-radius:var(--radius-xl);overflow:hidden;transition:all .2s ease;background:var(--bg-secondary);position:relative;height:fit-content}.image-card:hover{box-shadow:0 4px 12px #0000004d;scale:1.01}.image-card--selected{border:2px solid var(--accent);box-shadow:0 4px 12px #9b51e04d}.image-card--focused{border:3px solid #000000;box-shadow:0 4px 16px #0006}.image-card__image-wrapper{position:relative;width:100%;background:var(--bg-primary);overflow:hidden}.app-split-view--active .image-card__image-wrapper{aspect-ratio:1 / 1;object-position:top}.image-card__image{width:100%;height:auto;display:block}.app-split-view--active .image-card__image{width:100%;height:100%;object-fit:cover;object-position:top}.image-card__tag-count,.image-card__warning,.image-card__checkbox,.image-card__focused-badge{position:absolute;top:8px;right:8px;width:2rem;height:2rem;border-radius:100px;display:flex;align-items:center;justify-content:center;font-weight:600}.image-card__tag-count{background:var(--accent);color:#fff;font-size:.75rem}.image-card__warning{background:#fbbf24;color:#000;font-size:1rem;font-weight:700}.image-card__checkbox{background:#ffffffe6;border:2px solid var(--text-primary);color:transparent;transition:var(--transition);cursor:pointer}.image-card__checkbox--checked{background:var(--accent);border-color:var(--accent);color:#fff}.image-card__focused-badge{background:#000;color:#fff;border:none}.image-card__delete{position:absolute;top:8px;right:8px;width:2rem;height:2rem;background:#fffffff2;border:1px solid var(--border-primary);border-radius:100px;cursor:pointer;display:flex;align-items:center;justify-content:center;font-size:1.5rem;line-height:1;color:var(--text-primary);opacity:0;transition:var(--transition);z-index:10}.image-card:hover .image-card__delete{opacity:1}.image-card__delete:hover{background:var(--accent-red);color:#fff;border-color:var(--accent-red)}.image-grid{display:flex;margin-left:calc(var(--spacing-lg) * -1);width:auto}.image-grid__column{padding-left:var(--spacing-lg);background-clip:padding-box}.image-grid__column>div{margin-bottom:var(--spacing-lg)}.image-grid--empty{display:flex;align-items:center;justify-content:center;min-height:300px;text-align:center;color:var(--text-secondary);font-size:.875rem}.tag-badge{display:inline-flex;align-items:center;gap:var(--spacing-sm);background:var(--bg-primary);border:1px solid var(--border-primary);border-radius:var(--radius-md);padding:var(--spacing-xs) .625rem;font-size:.75rem;white-space:nowrap;transition:var(--transition)}.tag-badge--small{padding:.125rem var(--spacing-sm);font-size:.625rem}.tag-badge--medium{padding:var(--spacing-xs) .625rem;font-size:.75rem;border-radius:100px}.tag-badge--large{padding:.375rem .75rem;font-size:.875rem}.tag-badge:hover{background:var(--bg-hover)}.tag-badge__text{color:var(--text-primary)}.tag-badge__remove{background:none;border:none;color:#0000004d;cursor:pointer;font-size:1.25rem;line-height:1;padding:0;display:flex;align-items:center;justify-content:center;transition:var(--transition)}.tag-badge__remove:hover{color:var(--text-primary)}.tag-selector{display:flex;flex-direction:column;flex:1;background:#fff;overflow:hidden;min-height:0}.tag-selector__search-wrapper{position:sticky;top:0;z-index:10;display:flex;align-items:center;flex-shrink:0;background:#0000000d;border-radius:24px}.tag-selector__header{background:#fff;padding:20px;margin-bottom:0}.tag-selector__search-icon{position:absolute;left:.75rem;color:var(--text-secondary);pointer-events:none}.tag-selector__search{width:100%;padding:.75rem 2rem .75rem 2.5rem;border:none;font-size:.875rem;outline:none;background:transparent;color:var(--text-primary)}.tag-selector__clear{position:absolute;right:var(--spacing-sm);width:1.5rem;height:1.5rem;display:flex;align-items:center;justify-content:center;background:transparent;border:none;border-radius:var(--radius-sm);cursor:pointer;font-size:1.25rem;color:var(--text-secondary);transition:var(--transition)}.tag-selector__clear:hover{background:var(--bg-hover);color:var(--text-primary)}.tag-selector__no-results{padding:.75rem;font-size:.8125rem;color:var(--text-secondary);background:var(--bg-primary);border-bottom:1px solid var(--border-primary);text-align:center}.tag-selector__added-tags-section{padding:var(--spacing-md);background:var(--bg-primary);border-bottom:1px solid var(--border-primary)}.tag-selector__added-tags{display:flex;flex-wrap:wrap;gap:.375rem}.tag-selector__no-tags{color:var(--text-secondary);font-size:.8125rem;margin:0;text-align:center;padding:var(--spacing-md) 0}.tag-selector__list{flex:1;overflow-y:auto;min-height:0}.tag-selector__category{border-bottom:1px solid var(--border-primary)}.tag-selector__category-header{width:100%;display:flex;justify-content:space-between;align-items:center;gap:var(--spacing-sm);padding:.75rem var(--spacing-md);background:transparent;border:none;cursor:pointer;text-align:left;font-size:.8125rem;font-weight:500;text-transform:capitalize;transition:var(--transition);color:var(--text-primary);padding-left:24px}.tag-selector__category-header:hover{background:var(--bg-tertiary)}.tag-selector__chevron{color:var(--text-secondary);transition:transform .15s ease}.tag-selector__chevron--expanded{transform:rotate(90deg)}.tag-selector__category-content{background:var(--bg-primary)}.tag-selector__subcategory-header{padding:var(--spacing-sm) 24px;font-size:.75rem;font-weight:500;color:var(--text-secondary);text-transform:capitalize}.tag-selector__tags{padding:var(--spacing-sm) 24px;display:flex;flex-wrap:wrap;gap:.375rem}.tag-selector__tag{padding:var(--spacing-xs) .625rem;background:var(--bg-primary);border:1px solid var(--border-primary);border-radius:100px;font-size:.75rem;color:var(--text-primary);text-transform:capitalize;cursor:pointer;transition:var(--transition)}.tag-selector__tag:hover{background:var(--bg-hover);border-color:var(--border-secondary)}.tag-selector__tag--selected{background:var(--accent);color:#fff;border-color:var(--accent)}.tag-selector__tag--selected:hover{background:var(--accent-hover);border-color:var(--accent-hover)}.auto-tag-modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#000c;display:flex;align-items:center;justify-content:center;z-index:1000;animation:fadeIn .2s ease-out}.auto-tag-modal{background:var(--bg-primary);border:1px solid var(--border-primary);border-radius:12px;box-shadow:0 20px 60px #00000080;max-width:700px;width:90%;max-height:90vh;display:flex;flex-direction:column;animation:slideUp .3s ease-out}@keyframes slideUp{0%{transform:translateY(20px);opacity:0}to{transform:translateY(0);opacity:1}}.auto-tag-modal__header{display:flex;align-items:center;justify-content:space-between;padding:24px;border-bottom:1px solid var(--border-primary)}.auto-tag-modal__image-container{display:flex;flex-direction:column}.auto-tag-modal__image-preview-container{position:relative}.auto-tag-modal__header h2{margin:0;font-size:24px;color:var(--text-primary)}.auto-tag-modal__close{position:absolute;top:24px;right:24px;background:none;border:none;font-size:32px;color:var(--text-secondary);cursor:pointer;padding:0;width:32px;height:32px;display:flex;align-items:center;justify-content:center;border-radius:var(--radius-md);transition:var(--transition)}.auto-tag-modal__close:hover{background:var(--bg-tertiary);color:var(--text-primary)}.auto-tag-modal__content{overflow-y:auto;position:relative;flex:1}.auto-tag-modal__image-preview{border-radius:var(--radius-lg);overflow:hidden;border:1px solid var(--border-primary);background:var(--bg-secondary);padding:24px;display:flex;align-items:center;justify-content:center}.auto-tag-modal__image{max-width:100%;max-height:200px;width:auto;height:auto;display:block;object-fit:contain}.auto-tag-modal__empty{text-align:center;color:var(--text-secondary);padding:40px 20px;font-size:16px}.auto-tag-modal__content-section{display:flex}.auto-tag-modal__section{padding:20px;flex:1}.auto-tag-modal__section:last-child{margin-bottom:0}.auto-tag-modal__content-section h3{margin:0 0 16px;font-size:14px;font-weight:500;color:var(--text-secondary)}.auto-tag-modal__hint{margin:0 0 16px;font-size:14px;color:var(--text-secondary);font-style:italic}.auto-tag-modal__section--already-applied{padding:20px;flex:1;border-right:1px solid var(--border-primary);color:var(--text-secondary)}.auto-tag-modal__metadata-label{display:block;font-size:13px;font-weight:600;color:var(--text-secondary);margin-bottom:4px;text-transform:uppercase;letter-spacing:.5px}.auto-tag-modal__metadata-value{font-size:24px;color:var(--text-primary);font-weight:500;line-height:1.4}.auto-tag-modal__section--metadata{padding:20px;flex:1;border-bottom:1px solid var(--border-primary)}.auto-tag-modal__metadata-value--description{white-space:pre-line;display:block;font-size:16px;color:var(--text-secondary);margin-bottom:4px;font-weight:400;line-height:1.5;padding-top:8px}.auto-tag-modal__tags{display:flex;flex-wrap:wrap;gap:8px}.auto-tag-modal__tag-chip{display:inline-block;height:30px}.auto-tag-modal__tag-chip--disabled .tag-badge{height:30px}.auto-tag-modal__footer{display:flex;gap:12px;padding:24px;border-top:1px solid var(--border-primary);justify-content:flex-end}.auto-tag-modal__button{padding:12px 24px;border:none;border-radius:var(--radius-lg);font-size:16px;font-weight:600;cursor:pointer;transition:all .2s}.auto-tag-modal__button--cancel{background:transparent;color:var(--text-primary);border:1px solid var(--border-primary);height:40px;border-radius:100px;font-size:14px;font-weight:400}.auto-tag-modal__button--cancel:hover{background:var(--bg-hover);color:var(--text-primary)}.auto-tag-modal__button--approve{background:var(--accent);font-size:14px;height:40px;border-radius:100px;padding:0 16px;color:#fff;font-weight:400}.auto-tag-modal__button--approve:hover{background:#0056b3;transform:translateY(-1px);box-shadow:0 4px 12px #3b82f64d}.auto-tag-modal__button--approve:disabled{background:var(--bg-hover);color:var(--text-secondary);cursor:not-allowed;transform:none;box-shadow:none}.auto-tag-modal__loading{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:60px 20px;color:var(--text-secondary)}.auto-tag-modal__spinner{width:48px;height:48px;border:4px solid var(--border-primary);border-top-color:var(--accent-blue);border-radius:50%;animation:spin 1s linear infinite;margin-bottom:16px}.auto-tag-modal__loading-text{font-size:16px;margin:0}.image-focused{display:flex;flex-direction:column;height:calc(100vh - 82px);max-height:calc(100vh - 82px)}.image-focused__header{display:flex;justify-content:space-between;align-items:center;margin-bottom:var(--spacing-md);padding-bottom:var(--spacing-md);border-bottom:1px solid var(--border-primary);gap:var(--spacing-md)}.image-focused__bulk-title{font-size:1rem;font-weight:500;color:var(--text-primary)}.image-focused__back{padding:var(--spacing-sm);background:transparent;border:1px solid var(--border-primary);border-radius:100px;cursor:pointer;font-size:.875rem;transition:var(--transition);color:var(--text-primary);display:flex;align-items:center;justify-content:center;width:36px;height:36px}.image-focused__back:hover{background:var(--bg-tertiary);border-color:var(--border-secondary)}.image-focused__back--floating{position:absolute;top:32px;left:32px;width:48px;height:48px;display:flex;align-items:center;justify-content:center;z-index:10;background:#fffffff2;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);box-shadow:0 2px 8px #00000026}.image-focused__back--floating:hover{background:#fff;box-shadow:0 4px 12px #0003}.image-focused__delete-btn{width:40px;height:40px;padding:0;background:transparent;border:1px solid var(--border-primary);border-radius:var(--radius-md);cursor:pointer;font-size:1.25rem;transition:var(--transition);color:var(--text-secondary);display:flex;align-items:center;justify-content:center}.image-focused__delete-btn:hover{background:#ef44441a;border-color:var(--accent-red);color:var(--accent-red)}.image-focused__header-actions{display:flex;gap:var(--spacing-sm);align-items:center}.image-focused__metadata-actions{display:flex;gap:var(--spacing-sm);align-items:center;padding:0 24px 24px;border-bottom:1px solid var(--border-primary)}.image-focused__metadata-header{font-size:.875rem;font-weight:600;color:var(--text-primary);padding-left:16px;letter-spacing:-.3px}.image-focused__auto-tag-btn{display:flex;align-items:center;justify-content:center;width:auto;height:40px;padding:0 var(--spacing-md);background:#fff;color:#000;flex:1;border:1px solid #adadad;border-radius:100px;font-size:.75rem;font-weight:500;cursor:pointer;transition:background .15s ease,color .15s ease;white-space:nowrap}.image-focused__auto-tag-btn:hover:not(:disabled){background:#f5f5f5}.image-focused__auto-tag-btn:disabled{opacity:.6;cursor:not-allowed}.image-focused__delete-btn{display:flex;align-items:center;justify-content:center;width:40px;height:40px;padding:0;background:#fff;color:#000;border:1px solid #adadad;border-radius:100px;font-size:.75rem;font-weight:500;cursor:pointer;transition:background .15s ease,color .15s ease}.image-focused__delete-btn:hover{background:#f5f5f5}.image-focused__error{display:flex;align-items:center;justify-content:space-between;padding:.75rem var(--spacing-md);background:#ef44441a;border:1px solid rgba(239,68,68,.3);border-radius:var(--radius-md);color:var(--accent-red);font-size:.875rem;margin-bottom:var(--spacing-md)}.image-focused__error-close{background:none;border:none;color:var(--accent-red);font-size:1.25rem;cursor:pointer;padding:0;width:24px;height:24px;display:flex;align-items:center;justify-content:center;border-radius:var(--radius-sm);transition:var(--transition)}.image-focused__error-close:hover{background:#ef444433}.image-focused__content{position:relative;flex:1;overflow:hidden;min-height:0;display:flex}.image-focused__right--bulk{position:static;width:100%;max-width:100%;box-shadow:none;border-radius:0;border:none}.image-focused__left{flex:1;display:flex;align-items:center;justify-content:center;overflow:hidden;min-height:0}.image-focused__image-wrapper{width:100%;height:100%;display:flex;align-items:center;justify-content:center;border:1px solid var(--border-primary);border-radius:var(--radius-md);background-color:#e8e8e8;background-image:radial-gradient(circle,#c0c0c0 1px,transparent 1px);background-size:20px 20px;background-position:top;overflow:hidden;position:relative;-webkit-user-select:none;user-select:none;overscroll-behavior:contain;padding-right:420px;touch-action:pan-x pan-y;-ms-touch-action:pan-x pan-y}@media (max-width: 1400px){.image-focused__image-wrapper{padding-right:35%}}@media (max-width: 1024px){.image-focused__image-wrapper{padding-right:0;padding-bottom:60%}}.image-focused__image{max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain;display:block;transform-origin:center center;pointer-events:none}.image-focused__zoom-controls{position:absolute;bottom:var(--spacing-md);left:var(--spacing-md);display:flex;gap:8px;border-radius:100px;background:#fff;padding:var(--spacing-xs);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);z-index:10}.image-focused__zoom-btn{width:36px;height:36px;background:transparent;border:1px solid rgba(0,0,0,.1);border-radius:var(--radius-md);color:#000;font-size:1rem;font-weight:600;cursor:pointer;transition:var(--transition);display:flex;align-items:center;border-radius:100px;justify-content:center}.image-focused__zoom-btn:nth-of-type(2){font-size:12px;font-weight:400;border:0}.image-focused__zoom-btn:hover{background:#ffffff1a;border-color:#ffffff4d}.image-focused__zoom-btn:active{transform:scale(.95)}.image-focused__right{position:absolute;top:16px;right:16px;bottom:16px;width:400px;max-width:35%;height:calc(100% - 32px);display:flex;border-radius:16px;flex-direction:column;overflow:hidden;border:1px solid var(--border-primary);background:#fff;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);z-index:100;animation:slideInFromRight .3s ease}@keyframes slideInFromRight{0%{transform:translate(100%);opacity:0}to{transform:translate(0);opacity:1}}.image-focused__metadata{flex:1;overflow-y:auto;min-height:0;display:flex;flex-direction:column;gap:0}.image-focused__metadata-tags{display:flex;padding:var(--spacing-md);flex-wrap:wrap;gap:.375rem;max-height:40vh;overflow-y:auto;flex-shrink:0}.image-focused__metadata-tags-container{display:flex;flex-direction:column;gap:var(--spacing-md);flex-shrink:0}.image-focused__info-section{padding:24px}.image-focused__info-item:last-child{margin-bottom:0}.image-focused__info-value{font-size:.875rem;color:var(--text-primary);line-height:1.5}.image-focused__info-title{font-weight:600;font-size:1rem}.image-focused__info-description{white-space:pre-line;color:var(--text-secondary)}.image-focused__info-placeholder{color:var(--text-tertiary);font-style:italic;opacity:.6}.image-focused__info-hint{margin-top:12px;padding:12px;background:var(--bg-secondary);border-radius:6px;font-size:.8125rem;color:var(--text-secondary);line-height:1.5;text-align:center}.image-focused__info-label{font-size:.75rem;font-weight:600;color:var(--text-tertiary);text-transform:uppercase;letter-spacing:.5px;margin-bottom:6px}.image-focused__added-tags-section{padding:0 20px 20px}.image-focused__added-tags{display:flex;flex-wrap:wrap;gap:.5rem}.image-focused__no-tags{color:var(--text-secondary);font-size:.8125rem;margin:0;text-align:center;padding:var(--spacing-md) 0;flex-shrink:0}.image-focused__notes{padding-top:var(--spacing-lg);padding:var(--spacing-md);flex-shrink:0}.image-focused__notes-label{display:block;font-size:.8125rem;font-weight:600;color:var(--text-primary);margin-bottom:var(--spacing-sm)}.image-focused__notes-textarea{width:100%;padding:.75rem;border:1px solid var(--border-primary);border-radius:var(--radius-md);font-size:.875rem;font-family:inherit;line-height:1.5;resize:vertical;transition:var(--transition);background:var(--bg-primary);color:var(--text-primary);max-height:30vh;min-height:100px}.image-focused__notes-textarea:focus{outline:none;border-color:var(--accent);box-shadow:0 0 0 2px #9b51e033}.image-focused__notes-textarea::placeholder{color:var(--text-secondary)}.image-focused__bulk-header{padding:var(--spacing-md);font-size:.875rem;color:var(--text-secondary);text-align:center;border-bottom:1px solid var(--border-primary);background:var(--bg-primary)}@media (max-width: 1024px){.image-focused__right{width:100%;max-width:90%;height:60%;top:auto;bottom:0;box-shadow:0 -4px 24px #0000004d}.image-focused__left{min-height:400px}}.database-view{position:relative;padding:32px}.database-view__search-wrapper,.database-view__modal-search-wrapper{position:relative;display:flex;align-items:center;border-radius:100px;margin-bottom:64px;border:1px solid var(--border-primary);background:var(--bg-secondary)}.database-view__search-icon{position:absolute;left:.75rem;color:var(--text-secondary);pointer-events:none}.database-view__search,.database-view__modal-search{width:100%;padding:.75rem 2rem .75rem 2.5rem;border:none;border-radius:var(--radius-md);font-size:.875rem;outline:none;background:transparent;color:var(--text-primary)}.database-view__clear{position:absolute;right:var(--spacing-sm);width:1.5rem;height:1.5rem;display:flex;align-items:center;justify-content:center;background:transparent;border:none;border-radius:var(--radius-sm);cursor:pointer;font-size:1.25rem;color:var(--text-secondary);transition:var(--transition)}.database-view__clear:hover{background:var(--bg-hover);color:var(--text-primary)}.database-view__popular{margin-bottom:48px;display:grid;grid-template-columns:repeat(8,1fr);gap:.375rem;border-bottom:1px solid var(--border-primary);padding-bottom:48px}.database-view__popular-header{padding:0 0 .75rem;grid-column:span 2;font-size:32px;font-weight:500;color:var(--text-primary)}.database-view__popular-total{padding:0 0 .75rem;grid-column:span 2}.database-view__popular-total-title{font-size:32px;font-weight:500;color:var(--text-primary)}.database-view__popular-total-subtitle{font-size:.75rem;font-weight:500;color:var(--text-secondary);text-transform:capitalize}.database-view__popular-tags{display:flex;grid-column:span 4;flex-wrap:wrap;gap:.375rem;position:relative;margin-bottom:var(--spacing-lg)}.database-view__popular-tag-wrapper{position:relative}.database-view__popular-tag{display:flex;align-items:center;gap:.2rem;padding:var(--spacing-xs) 10px;border-radius:var(--radius-full);font-size:.75rem;border:1px solid rgba(0,0,0,.1);transition:var(--transition)}.database-view__popular-tag:has(.database-view__popular-tag-count){padding-right:4px}.database-view__popular-tag:hover{transform:scale(1.05);box-shadow:0 2px 4px #0000001a}.database-view__popular-tag-name{text-transform:capitalize}.database-view__popular-tag-count{display:flex;align-items:center;justify-content:center;min-width:1.25rem;height:1.25rem;border-radius:var(--radius-full);font-size:.625rem;font-weight:600;color:#0000008e;cursor:pointer;transition:var(--transition)}.database-view__popular-tag-count:hover{background:#ef444426}.database-view__popular-tag-count--delete{background:#ef444433;color:#ef4444;font-size:1rem;font-weight:700}.database-view__list{display:flex;flex-direction:column;border-radius:var(--radius-md);overflow:hidden}.database-view__category{margin-bottom:var(--spacing-lg);display:grid;grid-template-columns:repeat(4,1fr);gap:.375rem}.database-view__category:last-child{border-bottom:none}.database-view__category-header{padding:0 0 .75rem;font-size:24px;font-weight:500;color:var(--text-primary);letter-spacing:-.06em}.database-view__subcategory{border-bottom:1px solid var(--border-primary);padding-block:32px;display:grid;grid-template-columns:repeat(6,1fr)}.database-view__subcategory:first-child{padding-top:0}.database-view__subcategory-header{display:flex;transition:var(--transition);grid-column:span 2;padding-right:32px;align-items:baseline}.database-view__subcategory-name{font-size:.75rem;font-weight:500;color:var(--text-secondary);text-transform:capitalize}.database-view__add-btn{width:32px;height:32px;border-radius:100px;display:flex;align-items:center;justify-content:center;background:transparent;border:1px solid var(--border-primary);cursor:pointer;font-size:.875rem;color:var(--text-secondary);transition:var(--transition)}.database-view__subcategory-name-wrapper{display:flex;align-items:center;gap:.375rem;justify-content:space-between;width:100%}.database-view__add-btn:hover{background:var(--accent);color:#fff;border-color:var(--accent)}.database-view__edit-form{padding:var(--spacing-sm) var(--spacing-md);background:var(--bg-secondary);border-top:1px solid var(--border-primary)}.database-view__edit-form-inline{display:flex;align-items:baseline;gap:.375rem;flex:1;min-width:0;justify-content:end}.database-view__edit-form-inline .database-view__input{flex:1;min-width:0}.database-view__close-btn{width:32px;height:32px;display:flex;align-items:center;justify-content:center;background:transparent;border:1px solid var(--border-primary);border-radius:100px;cursor:pointer;font-size:1.25rem;color:var(--text-secondary);line-height:1;padding:0;transition:var(--transition);flex-shrink:0}.database-view__close-btn:hover{background:var(--bg-tertiary);border-color:var(--border-secondary);color:var(--text-primary)}.database-view__input,.database-view__modal-input{width:100%;max-width:150px;padding:12px 8px;border:1px solid var(--border-primary);border-radius:100px;font-size:.8125rem;outline:none;transition:var(--transition);background:var(--bg-secondary);height:32px;color:var(--text-primary)}.database-view__input:focus,.database-view__modal-input:focus{border-color:var(--accent)}.database-view__modal-input{padding:var(--spacing-sm) .75rem;border-radius:var(--radius-md);font-size:.875rem;margin-bottom:var(--spacing-md)}.database-view__tags{grid-column:span 4;display:flex;flex-wrap:wrap;gap:var(--spacing-sm)}.database-view__tag-wrapper{position:relative}.database-view__tag{display:flex;align-items:center;height:30px;border:1px solid rgba(0,0,0,.1);gap:.2rem;padding:var(--spacing-xs) 10px;border-radius:var(--radius-full);font-size:.75rem;text-transform:capitalize;cursor:pointer;transition:var(--transition)}.database-view__tag:has(.database-view__tag-count){padding-right:4px}.database-view__tag:hover{transform:scale(1.05);box-shadow:0 2px 4px #0000001a}.database-view__tag--disabled{opacity:.4;cursor:default!important;background:var(--bg-secondary)!important;color:var(--text-secondary)!important}.database-view__tag--disabled:hover{transform:none;box-shadow:none}.database-view__tag-count{display:flex;align-items:center;justify-content:center;min-width:1.25rem;height:1.25rem;border-radius:var(--radius-full);font-size:.625rem;font-weight:600;color:#0000008e;cursor:pointer;transition:var(--transition)}.database-view__tag-count:hover{background:#ef444426}.database-view__tag-count--delete{background:#ef444433;color:#ef4444;font-size:1rem;font-weight:700}.database-view__tag-preview{position:absolute;bottom:calc(100% + var(--spacing-sm));left:50%;transform:translate(-50%);display:flex;gap:var(--spacing-xs);padding:var(--spacing-sm);background:var(--bg-secondary);border:1px solid rgba(0,0,0,.1);border-radius:var(--radius-md);box-shadow:0 4px 12px #00000080;z-index:10000;pointer-events:none}.database-view__tag-preview-img{width:60px;height:60px;object-fit:cover;border-radius:var(--radius-sm)}.database-view__tag-preview--popular{bottom:calc(100% + var(--spacing-sm));left:50%;transform:translate(-50%)}.database-view__context-menu{position:fixed;z-index:1000;background:var(--bg-secondary);border:1px solid var(--border-primary);border-radius:var(--radius-md);box-shadow:0 4px 12px #00000080;min-width:140px;overflow:hidden}.database-view__context-item{width:100%;padding:.625rem var(--spacing-md);background:transparent;border:none;text-align:left;font-size:.8125rem;cursor:pointer;transition:var(--transition);color:var(--text-primary)}.database-view__context-item:hover{background:var(--bg-tertiary)}.database-view__context-item--danger{color:var(--accent-red)}.database-view__context-item--danger:hover{background:#2a1a1a}.database-view__modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#000c;display:flex;align-items:center;justify-content:center;z-index:2000}.database-view__modal{background:var(--bg-secondary);border:1px solid var(--border-primary);border-radius:var(--radius-xl);padding:var(--spacing-lg);min-width:400px;max-width:90vw;box-shadow:0 8px 24px #00000080}.database-view__modal--large{min-width:600px;max-height:80vh;overflow-y:auto}.database-view__modal h3{margin:0 0 var(--spacing-md) 0;font-size:1rem;font-weight:600;color:var(--text-primary)}.database-view__modal-actions{display:flex;gap:var(--spacing-sm);justify-content:flex-end}.database-view__category-content-container{grid-column:span 3;display:flex;flex-direction:column}.database-view__modal-btn{padding:var(--spacing-sm) var(--spacing-md);border:1px solid var(--accent);background:var(--accent);color:#fff;border-radius:var(--radius-md);cursor:pointer;font-size:.875rem;transition:var(--transition)}.database-view__modal-btn:hover{background:var(--accent-hover)}.database-view__modal-btn--secondary{background:transparent;color:var(--text-primary);border-color:var(--border-primary)}.database-view__modal-btn--secondary:hover{background:var(--bg-tertiary)}.database-view__move-list{display:flex;flex-direction:column;gap:var(--spacing-sm);max-height:400px;overflow-y:auto;margin-bottom:var(--spacing-md);padding:var(--spacing-sm);border:1px solid var(--border-primary);border-radius:var(--radius-md);background:var(--bg-primary)}.database-view__move-option{width:100%;padding:.75rem var(--spacing-md);background:var(--bg-secondary);border:1px solid var(--border-primary);border-radius:var(--radius-md);text-align:left;font-size:.8125rem;cursor:pointer;transition:var(--transition);text-transform:capitalize;color:var(--text-primary)}.database-view__move-option:hover{background:var(--bg-tertiary);border-color:var(--border-secondary)}.database-view__no-results{padding:var(--spacing-xl);text-align:center;color:var(--text-secondary);font-size:.875rem}.instructions{width:100%;height:100%;overflow-y:auto;background:linear-gradient(to bottom,var(--bg-primary) 0%,var(--bg-secondary) 100%)}.instructions__container{max-width:800px;margin:0 auto;padding:3rem var(--spacing-xl)}.instructions__header{text-align:center;margin-bottom:3rem;padding-bottom:var(--spacing-xl);border-bottom:2px solid var(--border-primary)}.instructions__title{font-size:2.5rem;font-weight:700;color:var(--text-primary);margin:0 0 var(--spacing-md) 0}.instructions__subtitle{font-size:1.125rem;color:var(--text-secondary);margin:0;font-weight:400}.instructions__content{display:flex;flex-direction:column;gap:2.5rem}.instructions__section{background:var(--bg-secondary);border-radius:12px;padding:var(--spacing-xl);box-shadow:0 1px 3px #0000004d;border:1px solid var(--border-primary)}.instructions__section--highlight{background:#3b82f61a;border-color:var(--accent-blue)}.instructions__section--subtle{background:var(--bg-primary);border-color:var(--border-primary)}.instructions__section-icon{font-size:2.5rem;margin-bottom:var(--spacing-md)}.instructions__section-title{font-size:1.5rem;font-weight:600;color:var(--text-primary);margin:0 0 var(--spacing-md) 0}.instructions__section-content{color:var(--text-secondary);line-height:1.7}.instructions__section-content p{margin:0 0 var(--spacing-md) 0}.instructions__section-content p:last-child{margin-bottom:0}.instructions__list,.instructions__tips-list{list-style:none;padding:0;margin:var(--spacing-md) 0 0 0}.instructions__list li,.instructions__tips-list li{position:relative;padding-left:1.75rem;margin-bottom:var(--spacing-md);color:var(--text-secondary)}.instructions__list li:before{content:"→";position:absolute;left:0;color:var(--accent-blue);font-weight:600}.instructions__tips-list li:before{content:"✓";position:absolute;left:0;color:var(--accent-blue);font-weight:700}.instructions__list li strong,.instructions__tips-list li strong{color:var(--text-primary);font-weight:600}.instructions__step{display:flex;gap:var(--spacing-lg);margin-bottom:var(--spacing-xl);padding:var(--spacing-lg);background:var(--bg-primary);border-radius:var(--radius-xl);border:1px solid var(--border-primary)}.instructions__step:last-child{margin-bottom:0}.instructions__step-number{flex-shrink:0;width:2.5rem;height:2.5rem;background:var(--accent);color:#fff;border-radius:50%;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:1.125rem}.instructions__step-content h3{margin:0 0 var(--spacing-sm) 0;font-size:1.125rem;font-weight:600;color:var(--text-primary)}.instructions__step-content p{margin:0;color:var(--text-secondary);line-height:1.6}.instructions__tip{margin-top:.75rem;padding:.75rem var(--spacing-md);background:#fbbf241a;border-left:3px solid #fbbf24;border-radius:var(--radius-md);font-size:.875rem;color:var(--text-secondary)}.instructions__tip strong{color:var(--text-primary)}.instructions__tip kbd{display:inline-block;padding:.125rem .375rem;background:var(--bg-secondary);border:1px solid var(--border-primary);border-radius:3px;font-family:monospace;font-size:.8125rem;box-shadow:0 1px 2px #0003}.instructions__help-text{text-align:center;color:var(--text-secondary);font-size:.9375rem;margin:0}.instructions__help-text strong{color:var(--text-primary)}@media (max-width: 768px){.instructions__container{padding:var(--spacing-xl) var(--spacing-md)}.instructions__title{font-size:2rem}.instructions__subtitle{font-size:1rem}.instructions__section{padding:var(--spacing-lg)}.instructions__step{flex-direction:column;gap:var(--spacing-md)}.instructions__step-number{width:2rem;height:2rem;font-size:1rem}}.dropzone__upload-btn{display:flex;align-items:center;justify-content:center;width:auto;height:40px;gap:var(--spacing-sm);padding:0 var(--spacing-md);background:#000!important;color:#fff!important;border:1px solid #000000;border-radius:100px;font-size:.75rem;font-weight:500;cursor:pointer;transition:background .15s ease;white-space:nowrap}.dropzone__upload-btn:hover{background:#1a1a1a!important;border-color:#1a1a1a}.dropzone__upload-btn svg{flex-shrink:0;width:16px;height:16px}.dropzone__overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#000000e6;z-index:9999;display:flex;align-items:center;justify-content:center;animation:fadeIn .2s ease;pointer-events:none}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.dropzone__overlay-content{display:flex;flex-direction:column;align-items:center;gap:var(--spacing-lg);color:#fff}.dropzone__overlay-content svg{animation:float 2s ease-in-out infinite}@keyframes float{0%,to{transform:translateY(0)}50%{transform:translateY(-10px)}}.dropzone__overlay-text{font-size:1.5rem;font-weight:600;margin:0;text-align:center}.auto-tag-status{position:fixed;bottom:var(--spacing-xl);left:var(--spacing-xl);z-index:1000;animation:slideIn .3s ease-out}@keyframes slideIn{0%{transform:translateY(100%);opacity:0}to{transform:translateY(0);opacity:1}}.auto-tag-status__content{display:flex;align-items:center;gap:.75rem;padding:var(--spacing-md) 1.25rem;background:var(--bg-secondary);border:1px solid var(--border-primary);border-radius:var(--radius-xl);box-shadow:0 4px 12px #0000004d;min-width:280px}.auto-tag-status__icon{position:relative;display:flex;align-items:center;justify-content:center;font-size:1.5rem;flex-shrink:0}.auto-tag-status__spinner{position:absolute;color:var(--accent-blue);animation:spin 1s linear infinite}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.auto-tag-status__text{flex:1;min-width:0}.auto-tag-status__title{font-size:.875rem;font-weight:500;color:var(--text-primary);margin-bottom:var(--spacing-xs)}.auto-tag-status__details{font-size:.75rem;color:var(--text-secondary);display:flex;flex-wrap:wrap;gap:var(--spacing-sm)}.auto-tag-status__details span{white-space:nowrap}.auto-tag-status__count{color:#16a34a;font-weight:500}.bulk-tag-bar{background:var(--bg-secondary);border:1px solid var(--border-primary);border-radius:100px;flex:1}.bulk-tag-bar__content{padding:0 var(--spacing-md);display:flex;align-items:center;gap:var(--spacing-md);height:48px}.bulk-tag-bar__info{display:flex;align-items:center;gap:.5rem;color:var(--text-primary);font-size:.875rem;flex-shrink:0;padding-left:var(--spacing-sm)}.bulk-tag-bar__info svg{color:var(--accent-blue);flex-shrink:0;width:18px;height:18px}.bulk-tag-bar__info strong{font-weight:600}.bulk-tag-bar__search-wrapper{border-left:1px solid rgba(0,0,0,.1);flex:1;position:relative}.bulk-tag-bar__search{width:100%;padding:.5rem var(--spacing-md);border:none;border-radius:100px;font-size:.875rem;outline:none;transition:all .2s;background:transparent;color:var(--text-primary)}.bulk-tag-bar__search::placeholder{color:var(--text-secondary)}.bulk-tag-bar__results{position:absolute;top:calc(100% + var(--spacing-sm));left:0;right:0;background:var(--bg-primary);border:1px solid var(--border-primary);border-radius:var(--radius-lg);box-shadow:0 4px 12px #0000001a;max-height:300px;overflow-y:auto;z-index:10}.bulk-tag-bar__result-item{width:100%;padding:.75rem var(--spacing-md);border:none;background:none;text-align:left;cursor:pointer;display:flex;align-items:center;gap:var(--spacing-sm);font-size:.875rem;transition:var(--transition);border-bottom:1px solid var(--border-primary);color:var(--text-primary)}.bulk-tag-bar__result-item:last-child{border-bottom:none}.bulk-tag-bar__result-item:hover{background:var(--bg-tertiary)}.bulk-tag-bar__result-category{color:var(--text-secondary);font-weight:500}.bulk-tag-bar__result-separator{color:var(--text-secondary)}.bulk-tag-bar__result-subcategory,.bulk-tag-bar__result-tag{color:var(--text-primary);font-weight:500}.bulk-tag-bar__no-results{padding:var(--spacing-md);text-align:center;color:var(--text-secondary);font-size:.875rem}.bulk-tag-bar__actions{display:flex;gap:var(--spacing-sm);align-items:center}.bulk-tag-bar__delete,.bulk-tag-bar__close{display:flex;align-items:center;justify-content:center;width:48px;height:48px;background:transparent;border:1px solid var(--border-primary);border-radius:100px;cursor:pointer;color:var(--text-secondary);transition:var(--transition);flex-shrink:0}.bulk-tag-bar__delete:hover{background:var(--accent-red);color:#fff;border-color:var(--accent-red)}.bulk-tag-bar__close:hover{background:var(--bg-tertiary);border-color:var(--border-secondary);color:var(--text-primary)}.bulk-tag-bar__delete svg,.bulk-tag-bar__close svg{flex-shrink:0;width:16px;height:16px}.scramble-text{font-size:1.25rem;font-weight:500;letter-spacing:-.02em;cursor:pointer;margin:0;-webkit-user-select:none;user-select:none;font-family:Doto,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;transition:opacity .05s ease;color:var(--text-primary)}.scramble-text:hover{opacity:.8}.scramble-text:active{opacity:.6}.app{min-height:100vh;display:flex;flex-direction:column;touch-action:pan-x pan-y;-ms-touch-action:pan-x pan-y}.app-header{padding:20px 32px;display:flex;grid-template-columns:1fr auto 1fr;align-items:center;gap:var(--spacing-md);background:#fff;border:1px solid var(--border-primary);z-index:1000;flex-shrink:0}.app-nav{display:flex;gap:var(--spacing-sm);align-items:center;position:relative}.app-nav--center{justify-content:center;grid-column:2;position:absolute;left:0;right:0;margin:0 auto;pointer-events:none}.app-nav--center button{background:none!important;border:none!important;padding:var(--spacing-sm) var(--spacing-md);font-size:.875rem;font-weight:400;cursor:pointer;transition:color .15s ease;color:var(--text-secondary);pointer-events:auto}.app-nav--center button:hover{background:none!important;color:var(--text-primary)}.app-nav--center button.active{background:none!important;color:var(--text-primary);font-weight:700;border:none!important}.app-nav--right{justify-content:flex-end;grid-column:3}.app-nav button,.app-nav-link{padding:var(--spacing-sm) var(--spacing-md);background:transparent;border:1px solid var(--border-primary);border-radius:100px;cursor:pointer;font-size:.875rem;font-weight:400;transition:var(--transition);color:var(--text-secondary);text-decoration:none;display:inline-flex;align-items:center;gap:.375rem}.app-nav button:hover,.app-nav-link:hover{background:var(--bg-tertiary)}.app-nav button.active{background:var(--accent);color:#000;font-weight:600;border-color:var(--accent)}.app-bookmarklet,.app-bookmarklet-btn{background:var(--bg-primary);color:var(--text-secondary);border-color:var(--border-primary);cursor:grab;height:40px;font-weight:400;padding:var(--spacing-sm) var(--spacing-md);border-radius:var(--radius-full);border:1px solid var(--border-primary);font-size:.8125rem;transition:all .15s ease;text-decoration:none;display:flex;align-items:center;gap:.375rem}.app-bookmarklet svg,.app-bookmarklet-btn svg{flex-shrink:0;opacity:.6}.app-bookmarklet:hover,.app-bookmarklet-btn:hover{background:var(--bg-tertiary);border-color:var(--border-secondary);color:var(--text-primary)}.app-bookmarklet:hover svg,.app-bookmarklet-btn:hover svg{opacity:1}.app-bookmarklet:active,.app-bookmarklet-btn:active{cursor:grabbing;background:var(--bg-hover)}.app-header-inner{width:100%;margin:0 auto;display:flex;justify-content:space-between;align-items:center}.app-main{flex:1;width:100%;margin:0 auto;max-width:100%;display:flex;flex-direction:column}.app-split-view{display:grid;grid-template-columns:repeat(12,1fr);flex:1;width:100%;max-width:100%}.app-split-view--active{height:calc(100vh - 82px);max-height:calc(100vh - 82px);overflow:hidden}.app-split-view__left{grid-column:1 / -1;min-width:0;display:flex;flex-direction:column;transition:grid-column .3s ease;position:relative}.app-split-view--active .app-split-view__left{grid-column:3 / 1;overflow:hidden;height:100%}.app-split-view__left-scroll{flex:1;overflow-y:auto;overflow-x:hidden;padding:0 var(--spacing-xl);padding-bottom:0;min-height:0;scrollbar-width:thin;scrollbar-color:var(--border-secondary) transparent}.app-split-view--active .app-split-view__left-scroll{padding:var(--spacing-xl);padding-bottom:0}.app-split-view__left-scroll::-webkit-scrollbar{width:8px}.app-split-view__left-scroll::-webkit-scrollbar-track{background:transparent}.app-split-view__left-scroll::-webkit-scrollbar-thumb{background-color:var(--border-secondary);border-radius:4px}.app-split-view__left-scroll::-webkit-scrollbar-thumb:hover{background-color:var(--border-primary)}.app-split-view__right{grid-column:3 / -1;min-width:0;height:100%;display:flex;flex-direction:column;animation:slideInRight .3s ease}@keyframes slideInRight{0%{opacity:0;transform:translate(20px)}to{opacity:1;transform:translate(0)}}@media (max-width: 1024px){.app-split-view{grid-template-columns:1fr;grid-template-rows:auto 1fr}.app-split-view__left{grid-column:1 / -1;grid-row:1;max-height:50vh}.app-split-view--active .app-split-view__left{grid-column:1 / -1}.app-split-view__right{grid-column:1 / -1;grid-row:2;min-height:600px}}.app-search-wrapper{position:relative;display:flex;align-items:center;border:1px solid var(--border-primary);border-radius:100px;background:var(--bg-secondary);width:100%;height:48px}.app-search-icon{position:absolute;left:1rem;color:var(--text-secondary);pointer-events:none;width:18px;height:18px}.app-search{width:100%;padding:.75rem 2.5rem .75rem 3rem;border:none;border-radius:100px;font-size:.875rem;outline:none;background:transparent;color:var(--text-primary)}.app-search::placeholder{color:var(--text-secondary)}.app-search-clear{position:absolute;right:.75rem;width:1.5rem;height:1.5rem;display:flex;align-items:center;justify-content:center;background:transparent;border:none;border-radius:var(--radius-sm);cursor:pointer;font-size:1.25rem;color:var(--text-secondary);transition:var(--transition)}.app-search-clear:hover{background:var(--bg-hover);color:var(--text-primary)}.app-search-container{display:flex;justify-content:space-between;align-items:center;margin-bottom:var(--spacing-lg);gap:var(--spacing-md)}.app-grid-toolbar{display:flex;justify-content:space-between;align-items:center;gap:var(--spacing-md)}.app-grid-header{display:flex;justify-content:space-between;align-items:center;gap:var(--spacing-md);margin-bottom:var(--spacing-lg);flex-shrink:0}.app-split-view:not(.app-split-view--active) .app-grid-header:has(.bulk-tag-bar){position:sticky;top:0;z-index:1001;background:var(--bg-primary);padding:var(--spacing-lg);margin:0}.app-split-view:not(.app-split-view--active) .app-grid-header{padding:var(--spacing-lg);margin-bottom:0}.app-split-view--active .app-grid-header{position:absolute;width:100%;top:0;z-index:10;background:linear-gradient(to top,rgba(255,255,255,0) 0%,var(--bg-primary) 25%,var(--bg-primary) 100%);padding:var(--spacing-xl);margin-bottom:0}.app-split-view--active .app-grid-header:has(.bulk-tag-bar){position:sticky;top:0;background:var(--bg-primary);box-shadow:0 2px 8px #0000000f}.app-split-view--active .image-grid{padding-top:100px}.app-split-view--active:has(.bulk-tag-bar) .app-split-view__left-scroll{padding-top:120px}.app-split-view--active .app-grid-header .app-search-wrapper{min-width:unset}.app-auto-tag-selected-btn{display:flex;align-items:center;justify-content:center;gap:8px;background:var(--accent-blue);color:#fff;height:48px;padding:0 var(--spacing-md);border:1px solid var(--accent-blue);border-radius:100px;cursor:pointer;transition:all .15s ease;flex-shrink:0;font-size:14px;font-weight:500;white-space:nowrap}.app-auto-tag-selected-btn:hover{background:#1a1a1a;border-color:#1a1a1a;transform:translateY(-1px);box-shadow:0 4px 12px #00000026}.app-auto-tag-selected-btn svg{flex-shrink:0}.app-multi-select-btn{display:flex;align-items:center;justify-content:center;background:var(--bg-secondary);color:var(--text-primary);width:48px;height:48px;border:1px solid var(--border-primary);border-radius:100px;cursor:pointer;transition:background .15s ease;flex-shrink:0}.app-multi-select-btn span{display:none}.app-multi-select-btn:hover{background:var(--bg-tertiary);border-color:var(--border-secondary)}.app-multi-select-btn svg{flex-shrink:0;width:16px;height:16px}.app-multi-select-btn--active{background:var(--accent-blue);color:#fff;border-color:var(--accent-blue);box-shadow:0 0 0 3px #3b82f633}.app-multi-select-btn--active:hover{background:#2563eb;border-color:#2563eb;color:#fff;box-shadow:0 0 0 3px #2563eb33}.app-sort-btn{display:flex;align-items:center;justify-content:center;gap:6px;background:var(--bg-secondary);color:var(--text-primary);width:48px;height:48px;border:1px solid var(--border-primary);border-radius:100px;cursor:pointer;transition:all .15s ease;flex-shrink:0}.app-sort-btn:hover{background:var(--bg-tertiary);border-color:var(--border-secondary)}.app-sort-btn svg{flex-shrink:0}.app-sort-btn--active{background:var(--accent-blue);color:#fff;box-shadow:0 0 0 3px #0000001a;width:max-content;padding:0 14px}.app-sort-btn--active:hover{background:#1a1a1a;border-color:#1a1a1a;color:#fff;box-shadow:0 0 0 3px #00000026}.app-sort-btn--active svg{opacity:.7}.app-sort-btn--active:hover svg{opacity:1}.app-filter-wrapper{position:relative}.app-filter-dropdown{position:absolute;top:calc(100% + 8px);right:0;background:var(--bg-primary);border:1px solid var(--border-primary);border-radius:12px;box-shadow:0 8px 24px #0000001f;min-width:280px;padding:8px;z-index:1000;animation:slideDown .2s ease-out}@keyframes slideDown{0%{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:translateY(0)}}.app-filter-option{display:flex;align-items:flex-start;gap:12px;width:100%;padding:12px;background:transparent;border:none;border-radius:8px;cursor:pointer;transition:all .15s ease;text-align:left}.app-filter-option:hover{background:var(--bg-secondary)}.app-filter-option svg{flex-shrink:0;margin-top:2px;color:var(--text-secondary)}.app-filter-option__content{flex:1}.app-filter-option__title{font-size:14px;font-weight:500;color:var(--text-primary);margin-bottom:2px}.app-filter-option__description{font-size:12px;color:var(--text-secondary);line-height:1.4}.app-filter-option--active{background:var(--bg-tertiary)}.app-filter-option--active .app-filter-option__title{color:var(--accent);font-weight:600}.app-filter-option--active svg{color:var(--accent)}.app-filter-option--clear{border-top:1px solid var(--border-primary);margin-top:4px;padding-top:12px}.app-filter-option--clear:hover{background:#fee}.app-filter-option--clear svg{color:#dc2626}.app-filter-option--clear .app-filter-option__title{color:#dc2626}.app-select-all-btn{display:flex;align-items:center;justify-content:center;gap:.375rem;background:var(--bg-secondary);color:var(--text-primary);height:48px;padding:0 var(--spacing-md);border:1px solid var(--border-primary);border-radius:100px;cursor:pointer;transition:all .15s ease;flex-shrink:0;font-size:.875rem;font-weight:500;white-space:nowrap}.app-select-all-btn:hover{background:var(--bg-tertiary);border-color:var(--border-secondary)}.app-select-all-btn svg{flex-shrink:0}.app-back-btn{display:flex;align-items:center;justify-content:center;gap:.375rem;background:var(--bg-secondary);color:var(--text-primary);width:48px;height:48px;border:1px solid var(--border-primary);border-radius:100px;cursor:pointer;transition:background .15s ease;flex-shrink:0;font-size:.875rem;font-weight:400}.app-back-btn span{display:none}.app-back-btn:hover{background:var(--bg-tertiary);border-color:var(--border-secondary)}.app-back-btn svg{flex-shrink:0;width:20px;height:20px}.app-error-banner{display:flex;align-items:center;justify-content:space-between;padding:var(--spacing-md) var(--spacing-xl);background:var(--accent-red);color:#fff;font-size:.875rem;font-weight:500;z-index:999;box-shadow:0 4px 12px #00000026;flex-shrink:0}.app-error-close{padding:var(--spacing-xs) var(--spacing-sm);background:transparent;border:none;color:#fff;cursor:pointer;font-size:1.5rem;line-height:1;transition:opacity .15s ease}.app-error-close:hover{opacity:.8}.app-filter-banner{display:flex;align-items:center;justify-content:space-between;padding:.75rem var(--spacing-md);margin-bottom:var(--spacing-md);background:var(--accent);color:#fff;border-radius:var(--radius-md);font-size:.875rem}.app-clear-filter{padding:var(--spacing-xs) .75rem;background:#fff3;border:1px solid rgba(255,255,255,.3);color:#fff;border-radius:var(--radius-md);cursor:pointer;font-size:.8125rem;transition:var(--transition)}.app-clear-filter:hover{background:#ffffff4d;border-color:#ffffff80}.app-bulk-actions{position:fixed;bottom:var(--spacing-xl);left:50%;transform:translate(-50%);display:flex;align-items:center;gap:var(--spacing-md);padding:var(--spacing-md) var(--spacing-lg);background:var(--bg-secondary);color:#fff;border:1px solid var(--border-primary);border-radius:var(--radius-xl);box-shadow:0 4px 24px #0009;z-index:100;font-size:.875rem}.app-bulk-tag-btn,.app-bulk-clear-btn{padding:var(--spacing-sm) var(--spacing-md);border-radius:var(--radius-md);cursor:pointer;font-size:.8125rem;transition:var(--transition);border:none}.app-bulk-tag-btn{background:var(--accent);color:#fff}.app-bulk-tag-btn:hover{background:var(--accent-hover)}.app-bulk-clear-btn{background:#ffffff1a;color:#fff;border:1px solid rgba(255,255,255,.2)}.app-bulk-clear-btn:hover{background:#fff3}.app-loading{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:4rem;gap:var(--spacing-md)}.app-loading-spinner{width:40px;height:40px;border:3px solid var(--border-primary);border-top-color:var(--accent);border-radius:50%;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.app-loading p{font-size:.875rem;color:var(--text-secondary)}:root{--bg-primary: #ffffff;--bg-secondary: #f5f5f5;--bg-tertiary: #e5e5e5;--bg-hover: #d4d4d4;--border-primary: #e5e5e5;--border-secondary: #d4d4d4;--text-primary: #1a1a1a;--text-secondary: #666666;--accent: #000000;--accent-hover: #8a41cf;--accent-blue: #3b82f6;--accent-red: #ef4444;--spacing-xs: .25rem;--spacing-sm: .5rem;--spacing-md: 1rem;--spacing-lg: 1.5rem;--spacing-xl: 2rem;--radius-sm: 2px;--radius-md: 4px;--radius-lg: 6px;--radius-xl: 8px;--radius-full: 100px;--transition: all .15s ease}*{margin:0;padding:0;box-sizing:border-box}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background-color:var(--bg-primary);color:var(--text-primary);touch-action:pan-x pan-y;-ms-touch-action:pan-x pan-y}#root{min-height:100vh;touch-action:pan-x pan-y;-ms-touch-action:pan-x pan-y}
