.redentore-album-batch{box-sizing:border-box;width:min(1120px,96vw);max-width:96vw;max-height:94dvh;padding:0;border:1px solid var(--line,#506972);border-radius:24px;color:var(--ink,#173c46);background:var(--surface,#f5f9fa);font-family:inherit;box-shadow:0 24px 80px #0006}
.redentore-album-batch::backdrop,.album-batch-preview::backdrop,.album-batch-recovery::backdrop,.album-batch-duplicates::backdrop{background:#071e27aa;backdrop-filter:blur(4px)}
.album-batch-header{position:sticky;top:0;z-index:3;padding:20px 24px;border-bottom:1px solid var(--line,#adc3ca);background:var(--surface,#f5f9fa)}
.album-batch-header>div{font-size:.85rem;opacity:.8}.album-batch-header h2{margin:.3em 80px .1em 0}.album-batch-close{position:absolute;right:20px;top:23px}.album-batch-body{padding:8px 24px 28px}.album-batch-body>p{line-height:1.55}
.redentore-album-batch button,.album-batch-preview button,.album-batch-recovery button,.album-batch-duplicates button,.album-batch-entry{font:inherit;min-height:44px;padding:10px 15px;border-radius:12px;border:1px solid var(--line,#90a9b0);background:var(--surface-alt,var(--surface,#e3eff2));color:var(--ink,#173c46);cursor:pointer;text-align:left;white-space:normal;line-height:1.4}
.redentore-album-batch button:disabled{opacity:.5;cursor:default}.redentore-album-batch button:focus-visible,.redentore-album-batch input:focus-visible,.redentore-album-batch select:focus-visible{outline:3px solid var(--accent,#2c8195);outline-offset:3px}.redentore-album-batch .album-batch-primary{display:block;width:100%;font-weight:750;background:var(--accent,#a8dadd);color:var(--accent-ink,#102e37);padding:14px 18px;margin:12px 0}
.album-batch-status{font-weight:650;min-height:1.5em}.redentore-album-batch progress{display:block;width:100%;height:18px;accent-color:var(--accent,#277f92)}.album-batch-tools{display:flex;flex-wrap:wrap;gap:10px;margin:22px 0 12px}.album-batch-hint{font-size:.9rem;line-height:1.5;opacity:.85}.album-batch-list{display:grid;gap:20px}.album-batch-card{border:1px solid var(--line,#a4bbc2);border-radius:18px;padding:18px;background:var(--surface-2,var(--surface,#fff))}.album-batch-card h3{margin:0 0 8px}.album-batch-card>button{margin-top:12px}.album-batch-album-state{font-weight:650;overflow-wrap:anywhere}.album-batch-warning{border-inline-start:4px solid #c88a38;padding-inline-start:12px}
.album-batch-card fieldset{border:0;margin:16px 0 0;padding:0;min-width:0}.album-batch-card legend{font-weight:700;margin-bottom:12px}.album-batch-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 18px}.album-batch-fields>label{display:grid;gap:6px;align-content:start}.album-batch-fields label>span{font-weight:600;font-size:.92rem}.album-batch-fields input:not([type=checkbox]),.album-batch-fields select,.album-batch-fields textarea,.album-batch-file-row>input{box-sizing:border-box;min-width:0;width:100%;min-height:44px;font:inherit;padding:10px;border:1px solid var(--line,#a4bbc2);border-radius:9px;color:inherit;background:var(--surface,#fff)}.album-batch-fields textarea{resize:vertical}.album-batch-check{display:flex!important;align-items:center;gap:9px!important}.album-batch-check input{flex:none;width:20px;height:20px;accent-color:var(--accent,#277f92)}.album-batch-fields .album-batch-check{flex-direction:row-reverse;justify-content:flex-end;align-self:center}.album-batch-groups{display:flex;flex-wrap:wrap;gap:12px;grid-column:1/-1}.album-batch-groups>strong{width:100%}
.album-batch-files{margin:18px 0;border-block:1px solid var(--line,#a4bbc2);padding:12px 0}.album-batch-files summary{cursor:pointer;font-weight:650;padding:5px}.album-batch-files ol{padding-inline-start:24px;max-height:480px;overflow:auto}.album-batch-file-row{padding:12px 6px;border-bottom:1px solid var(--line,#a4bbc2)}.album-batch-file-row>span{overflow-wrap:anywhere}.album-batch-file-controls{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:9px 0}.album-batch-file-row>input{font-size:.9rem}.album-batch-review{font-weight:700;margin:10px}.album-batch-footer{margin-top:28px}.album-batch-footer>a{display:inline-block;padding:12px 0;color:inherit;text-decoration:underline}.album-batch-file{position:fixed;width:1px;height:1px;clip-path:inset(100%);overflow:hidden}.album-batch-empty{padding:24px;border:1px dashed var(--line,#a4bbc2);border-radius:14px}
.album-batch-preview,.album-batch-recovery,.album-batch-duplicates{box-sizing:border-box;max-width:min(90vw,780px);max-height:90dvh;padding:24px;border-radius:20px;border:1px solid var(--line,#a4bbc2);background:var(--surface,#f5f9fa);color:var(--ink,#173c46);font-family:inherit}.album-batch-preview img,.album-batch-preview video{display:block;width:100%;max-height:65dvh;object-fit:contain;margin:12px auto}.album-batch-duplicates>button,.album-batch-recovery>button{display:block;width:100%;margin:10px 0}.album-batch-recovery section{padding:14px 0;border-bottom:1px solid var(--line,#a4bbc2)}.album-batch-entry{margin:10px 0;font-weight:700}
@media(prefers-color-scheme:dark){.redentore-album-batch,.album-batch-preview,.album-batch-recovery,.album-batch-duplicates{color:var(--ink,#e7f1f4);background:var(--surface,#142f38)}.album-batch-header{background:var(--surface,#142f38)}.album-batch-card{background:var(--surface-2,var(--surface,#1c3c47))}.redentore-album-batch button,.album-batch-preview button,.album-batch-recovery button,.album-batch-duplicates button,.album-batch-entry{color:var(--ink,#e7f1f4);background:var(--surface-alt,var(--surface,#244652))}.album-batch-fields input:not([type=checkbox]),.album-batch-fields select,.album-batch-fields textarea,.album-batch-file-row>input{background:var(--surface,#142f38)}}
@media(max-width:680px){.redentore-album-batch{width:100vw;max-width:100vw;max-height:100dvh;height:100dvh;margin:0;border-radius:0}.album-batch-header{padding:18px 16px;padding-top:max(18px,env(safe-area-inset-top))}.album-batch-header h2{font-size:1.45rem}.album-batch-body{padding:6px 16px max(24px,env(safe-area-inset-bottom))}.album-batch-close{right:12px;top:max(18px,env(safe-area-inset-top))}.album-batch-fields{grid-template-columns:1fr}.album-batch-card{padding:14px}.album-batch-tools>button{flex:1 1 45%}.album-batch-review{margin:10px 0;width:100%}.album-batch-preview,.album-batch-recovery,.album-batch-duplicates{max-width:94vw;padding:18px}}
@media(prefers-reduced-motion:reduce){.redentore-album-batch *{scroll-behavior:auto!important}}
