/* Settings → Sources: connecting the Drive folders (static/ui/connect.js). */
.connect-box { margin: 10px 0 14px; padding: 12px 14px; border: 1px solid var(--line, #dfe5e2); border-radius: var(--radius, 10px); }
.connect-box h3 { margin: 0 0 6px; font-size: 1rem; }
.connect-steps { margin: 0 0 8px; padding-inline-start: 20px; }
.connect-steps li { margin: 4px 0; }
.connect-account { margin-top: 4px; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.connect-fix { margin-top: 6px; }
.connect-top { margin: 6px 0 0; padding-inline-start: 18px; max-height: 16em; overflow: auto; }
.connect-links { margin-top: 8px; }
.connect-links ul { margin: 4px 0 0; padding-inline-start: 18px; }
.connect-result:empty { display: none; }
/* Who reads the folder, picking it, and the import's progress (static/ui/drive-access.js, static/ui/import-job.js). */
.da-card .field { margin: 6px 0; }
.da-panel { margin-top: 6px; }
.da-cmds { margin: 6px 0; padding-inline-start: 20px; }
.da-cmds li { margin: 4px 0; }
.da-person { margin-top: 8px; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
[data-da-unsaved]:empty { display: none; }
[data-da-unsaved] { color: var(--warn, #8a5a00); margin-top: 4px; }
[data-da-browse] { margin-top: 6px; }
.da-picker { width: min(640px, 94vw); }
.da-folders { list-style: none; margin: 6px 0; padding: 0; max-height: 50vh; overflow: auto; }
.da-folders li { margin: 2px 0; }
.da-crumbs { margin-bottom: 6px; }
.da-subfolders { list-style: none; margin: 6px 0 0; padding: 0; columns: 2; }
.da-subfolders li { break-inside: avoid; }
.import-job:empty { display: none; }
.import-job { margin-top: 10px; }
.import-steps { display: flex; flex-wrap: wrap; gap: 4px 14px; margin: 6px 0; padding: 0; list-style: none; font-size: .85em; }
.import-steps li { opacity: .55; }
.import-steps li.done { opacity: .8; }
.import-steps li.done::before { content: "✓ "; }
.import-steps li.now { opacity: 1; font-weight: 600; }
.import-bar { height: 8px; border-radius: 4px; background: var(--line, #dfe5e2); overflow: hidden; margin: 6px 0; }
.import-bar span { display: block; height: 100%; background: var(--accent, #1f6f5c); transition: width .4s ease; }
.import-bar span.busy { width: 40% !important; animation: import-busy 1.4s ease-in-out infinite; }
@keyframes import-busy { 0% { transform: translateX(-100%); } 100% { transform: translateX(250%); } }
@media (prefers-reduced-motion: reduce) { .import-bar span.busy { animation: none; } .import-bar span { transition: none; } }
.import-h { margin: 12px 0 6px; font-size: 1rem; }
.import-dest td, .import-dest th { vertical-align: top; }
.import-other { margin: 8px 0; padding-inline-start: 18px; }
.import-other li { margin: 4px 0; }
.import-notread { margin-top: 8px; }
/* numbers inside a banner's small line stay in the line (a banner's own <b> is its title, shown as a block) */
.connect-result .banner .small b, .import-job .banner .small b, .connect-result .banner .small strong { display: inline; }
