.library-tools{margin:18px 0}.library-tools summary{cursor:pointer}.storage-summary{font-size:12px;color:#626757}.storage-summary small{display:block;font-size:11px}.album-create,.album-selection,.album-row,.album-row form{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.album-create{margin:14px 0}.album-row{padding:8px;border:1px solid #d5d8cb;border-radius:12px;margin:8px 0}.album-row button,.album-selection button,#album-all{padding:9px 12px;font-size:12px}.album-row.drop-target{border-color:#bb653c;background:#eee0d6}.album-filter[aria-pressed=true]{background:#bb653c}.album-selection{margin-top:14px}.album-selected .photo-wrap::after{content:'';position:absolute;inset:0;border:3px solid #bb653c;border-radius:inherit;box-shadow:inset 0 0 0 1px white;pointer-events:none;z-index:5}.album-check{position:absolute;top:8px;left:8px;z-index:6;width:22px;height:22px;accent-color:#bb653c}.report-row{display:grid;grid-template-columns:minmax(100px,1fr) 2fr 65px;align-items:center;gap:12px;margin:12px 0;font-size:12px}.report-row meter{width:100%}.video-library{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:16px}.video-library video{width:100%;max-height:340px;background:#171717;border-radius:12px}.video-library p{overflow-wrap:anywhere;font-size:12px}.account-suspended{color:#a44829}
.album-check{min-height:0;padding:0;margin:0}.library-tools input:not([type=checkbox]),.library-tools select{max-width:100%}@media(max-width:760px){.library-tools{padding:16px}.library-tools input:not([type=checkbox]),.library-tools select{font-size:16px}.album-selection label{width:100%}.report-row{gap:6px;grid-template-columns:minmax(85px,1fr) 1fr 65px}}
.library-toolbar{display:flex;justify-content:space-between;gap:8px;border-block:1px solid #dddcd2;padding:6px 0;margin:16px 0 6px}.library-toolbar>div{display:flex;gap:3px}.library-toolbar button{background:transparent;border:0;color:#566350;font-size:12px;padding:8px 10px;border-radius:20px;min-height:40px}.library-toolbar button[aria-pressed=true]{background:#303e31;color:white}.album-strip{display:flex;gap:10px;overflow-x:auto;padding:6px 0;scrollbar-width:thin}.album-strip:empty{display:none}.album-strip .album-row{flex:0 0 auto;padding:0;margin:0;border:0}.album-filter{display:flex;align-items:center;gap:8px;text-align:left;border:1px solid transparent;border-radius:14px;background:#eeede6;color:#303e31;max-width:210px}.album-strip .album-filter{padding:6px 10px 6px 6px}.album-filter[aria-pressed=true]{background:#efe1d6;border-color:#bb653c}.album-cover{width:40px;height:40px;flex:0 0 40px;border-radius:9px;overflow:hidden;background:#dce0d3;display:grid;place-items:center;font-size:24px}.album-cover img{width:100%;height:100%;object-fit:cover}.album-label{font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.album-label small{display:block;font-size:10px;color:#75796b;margin-top:3px}.album-selection{background:#e8eade;border-radius:12px;padding:10px;margin:8px 0}.album-selection[hidden]{display:none}.album-selection select{width:auto;max-width:220px;margin:0;padding:8px;min-height:40px}.album-message{font-size:12px;color:#626757;margin:6px 0}.album-message:empty{display:none}.library-dialog{width:min(680px,calc(100vw - 32px));max-height:85dvh;padding:24px;border:1px solid #d8dbce;border-radius:22px;background:#f5f3ed;color:#282923;overflow:auto;box-shadow:0 24px 90px #0005}.library-dialog::backdrop{background:#10171099;backdrop-filter:blur(5px)}.library-dialog-heading{display:flex;align-items:center;justify-content:space-between;gap:16px}.library-dialog-heading h2{margin:0;font:normal 26px Georgia,serif}.library-dialog-heading button{border:0;border-radius:50%;background:#e6e7de;color:#303e31;padding:0;width:36px;min-height:36px;font-size:24px;flex-shrink:0}.library-hint{font-size:12px;color:#72776b;line-height:1.6}.album-management{display:grid;gap:8px}.album-manage-row{border-bottom:1px solid #dddfd3;padding:10px 0}.album-manage-row strong{font-size:13px}.album-manage-row form{display:flex;gap:6px;align-items:center;flex-wrap:wrap;margin:8px 0}.album-manage-row button{font-size:11px;padding:8px 12px;min-height:36px}.album-manage-row summary{font-size:12px;cursor:pointer}.storage-tiles{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:22px 0 12px}.storage-tiles>div{padding:18px;background:#e9ebe1;border-radius:15px}.storage-tiles strong{display:block;font:normal 28px Georgia,serif}.storage-tiles span{display:block;font-size:11px;color:#626757;margin-top:6px}#pillar-radar svg{width:100%;height:auto;max-height:360px;display:block}.radar-ring{fill:none;stroke:#d4d8cc;stroke-width:1}.radar-axis{stroke:#d4d8cc}.radar-label{fill:#586250;font:12px Arial,sans-serif}.radar-fill{fill:#7c936955;stroke:#617c51;stroke-width:2}.radar-dot{fill:#617c51;stroke:#f5f3ed;stroke-width:1.5}@media(max-width:760px){.library-toolbar{flex-wrap:wrap}.library-toolbar button{font-size:11px;padding:7px 9px}.library-dialog{padding:18px;width:calc(100vw - 20px);max-height:90dvh}.library-dialog input:not([type=checkbox]),.library-dialog select,.album-selection select{font-size:16px}.library-dialog-heading h2{font-size:22px}.album-selection select{max-width:100%;flex:1}}
.album-management .album-manage-row{display:flex;align-items:center;gap:8px;padding:8px 0;min-width:0}.album-management .album-manage-row form{margin:0;flex:0 0 auto}.album-management .album-inline-name{flex:1;min-width:0;width:auto;margin:0;padding:9px 8px;border-color:transparent;background:transparent;font-size:13px;min-height:40px}.album-management .album-inline-name:hover{border-color:#d2d5c9}.album-management .album-inline-name:focus{background:#fffefa;border-color:#bb653c}.album-management .album-drag-handle,.album-management .album-trash{display:grid;place-items:center;flex:0 0 40px;width:40px;height:40px;min-height:40px;padding:0;background:transparent;border:0;color:#737969}.album-management .album-drag-handle{cursor:grab;touch-action:none}.album-management .album-trash{color:#a44829}.album-management .album-moving{background:#e7eade;border-radius:10px;box-shadow:0 5px 16px #0001}.album-management .album-moving .album-drag-handle{cursor:grabbing}@media(max-width:760px){.album-management .album-inline-name{font-size:16px}}
.compact-filters{align-items:center;justify-content:flex-start;gap:18px;padding:12px 0;margin-top:10px}.compact-filters>label{flex:0 1 260px;max-width:300px}.compact-filters select{padding:9px 12px;min-height:40px}.compact-filters #status[hidden],#album-remove[hidden]{display:none!important}.status-icons{display:flex;align-items:center;gap:4px;flex-wrap:wrap}.status-icons button{display:flex;align-items:center;gap:6px;padding:9px 10px;min-height:40px;font-size:11px;border:1px solid transparent;border-radius:10px;background:transparent;color:#666f5e}.status-icons button[aria-pressed=true]{background:#e4e9db;border-color:#bfcbb4;color:#303e31}.album-selection{position:sticky;bottom:12px;z-index:8;box-shadow:0 6px 25px #0002}.stats-dialog .classification-settings{margin:18px 0;padding:16px;background:#e9ebe1;border-radius:12px}.stats-dialog .classification-settings select{max-width:100%}.stats-dialog .classification-settings summary{font-weight:600;cursor:pointer}@media(max-width:760px){.compact-filters{gap:8px;flex-wrap:wrap}.compact-filters>label{flex:1;max-width:100%}.status-icons{gap:3px}.status-icons button{width:42px;height:42px;justify-content:center;padding:8px}.status-icons button span{display:none}.compact-filters select{font-size:16px}.album-selection{bottom:8px}.album-selection button{font-size:11px;padding:8px}.library-toolbar>div{flex-wrap:wrap}}
.library-tab-panel[hidden],.album-strip[hidden],.gallery[hidden],.compact-filters[hidden],.pillar-filters[hidden],.resultline[hidden],.post-tools[hidden],#album-select[hidden],#album-all[hidden],.album-selection.tab-inactive{display:none!important}.library-tab-panel{margin:18px 0 24px;padding:20px;border:1px solid #dddfd3;border-radius:16px;background:#fffefa}.library-toolbar [role=tablist]{overflow-x:auto;flex-wrap:nowrap;max-width:100%;scrollbar-width:thin}.library-toolbar [role=tab]{white-space:nowrap;border-radius:8px}.library-toolbar [aria-selected=true]{background:#303e31;color:white}.library-toolbar{align-items:center}.album-library-return{background:transparent;color:#626757;border:0;padding:6px 0;font-size:12px}.compact-filters label select{margin:0}.compact-filters>label{display:flex;align-items:center}.gallery .album-check{top:auto;bottom:8px;left:auto;right:8px;border-radius:50%;box-shadow:0 0 0 3px #fff9}.gallery .actions button[data-field=used]{top:0;left:0}.gallery .album-selected .actions button[data-field=used]{top:0;left:0}.library-tab-panel .classification-settings{max-width:560px;margin:0}.stats-dialog #pillar-radar{max-width:620px;margin:auto}.library-tab-panel .library-dialog-heading h2{font-size:24px}@media(max-width:760px){.library-tab-panel{padding:14px}.library-toolbar{display:block}.library-toolbar>div:last-child{justify-content:flex-end}.library-toolbar [role=tablist]{display:flex}.library-toolbar [role=tab]{font-size:12px;padding:8px 10px}.gallery .album-check{bottom:7px;right:7px}}
body[data-theme=ocean]{--theme-main:#167486;--theme-bg:#f2fbfb;--theme-soft:#d8f0f1;--theme-border:#b8dadd;--theme-ink:#174b53}body[data-theme=terracotta]{--theme-main:#874d3b;--theme-bg:#f6efe9;--theme-soft:#eeddd2;--theme-border:#dcc6b9;--theme-ink:#4d3329}body[data-theme=prune]{--theme-main:#61455f;--theme-bg:#f4eff4;--theme-soft:#e8dce7;--theme-border:#d4c4d2;--theme-ink:#41313f}body[data-theme=sable]{--theme-main:#746044;--theme-bg:#f6f2e9;--theme-soft:#ebe2cf;--theme-border:#d8cbb1;--theme-ink:#453b2b}body[data-theme=sage]{--theme-main:#4f705b;--theme-bg:#f7faf5;--theme-soft:#e1ebdf;--theme-border:#c8d7c8;--theme-ink:#26392d}body[data-theme=midnight]{--theme-main:#30356f;--theme-bg:#f5f4fb;--theme-soft:#e1e0f2;--theme-border:#c5c3df;--theme-ink:#24264d}body[data-theme=blush]{--theme-main:#925b67;--theme-bg:#fff8f7;--theme-soft:#f3e2e4;--theme-border:#e4ccd1;--theme-ink:#4a3036}body[data-theme=mono]{--theme-main:#373837;--theme-bg:#f7f7f5;--theme-soft:#e8e8e4;--theme-border:#cecec8;--theme-ink:#1e1f1e}body[data-theme]:not([data-theme=olive]){background:var(--theme-bg);color:var(--theme-ink)}body[data-theme]:not([data-theme=olive]) button{background:var(--theme-main);border-color:var(--theme-main)}body[data-theme]:not([data-theme=olive]) .panel,body[data-theme]:not([data-theme=olive]) .library-tab-panel{background:var(--theme-bg);border-color:var(--theme-border)}body[data-theme]:not([data-theme=olive]) .library-toolbar button,body[data-theme]:not([data-theme=olive]) .status-icons button,body[data-theme]:not([data-theme=olive]) .album-drag-handle,body[data-theme]:not([data-theme=olive]) .album-trash,body[data-theme]:not([data-theme=olive]) .quiet{background:transparent;color:var(--theme-main);border-color:transparent}body[data-theme]:not([data-theme=olive]) .library-toolbar [aria-selected=true]{background:var(--theme-main);color:white}body[data-theme]:not([data-theme=olive]) .album-filter,body[data-theme]:not([data-theme=olive]) .album-selection,body[data-theme]:not([data-theme=olive]) .storage-tiles>div,body[data-theme]:not([data-theme=olive]) .status-icons [aria-pressed=true]{background:var(--theme-soft);color:var(--theme-ink)}body[data-theme]:not([data-theme=olive]) .radar-fill{fill:var(--theme-soft);stroke:var(--theme-main)}body[data-theme]:not([data-theme=olive]) .radar-dot{fill:var(--theme-main)}.client-settings-form{max-width:560px;margin-bottom:24px}.theme-options{border:0;padding:0;margin:20px 0;display:flex;flex-wrap:wrap;gap:8px}.theme-options legend{font-size:13px;margin-bottom:12px}.theme-choice{display:flex;align-items:center;gap:8px;border:1px solid #d2d5c9;padding:10px;border-radius:12px;cursor:pointer}.theme-choice:has(input:checked){border-color:#626757;box-shadow:0 0 0 1px #626757}.theme-choice input{width:16px;height:16px;min-height:0;padding:0;margin:0}.theme-swatch{width:24px;height:24px;border-radius:50%;background:#303e31;box-shadow:inset 0 0 0 1px #0001}.theme-ocean{background:linear-gradient(135deg,#167486 0 52%,#d8f0f1 52%)}.theme-terracotta{background:#874d3b}.theme-prune{background:#61455f}.theme-sable{background:#746044}.theme-sage{background:linear-gradient(135deg,#4f705b 0 52%,#e1ebdf 52%)}.theme-midnight{background:linear-gradient(135deg,#20254f 0 52%,#777db7 52%)}.theme-blush{background:linear-gradient(135deg,#925b67 0 52%,#f3e2e4 52%)}.theme-mono{background:linear-gradient(135deg,#373837 0 52%,#e8e8e4 52%)}.client-settings-form input[name=first_name]{font-size:16px}
body[data-theme]:not([data-theme=olive]){--theme-muted:var(--theme-main)}body[data-theme]:not([data-theme=olive]) .pillar-buttons button{background:transparent;color:var(--theme-main);border-color:var(--theme-border)}body[data-theme]:not([data-theme=olive]) .pillar-buttons button[aria-pressed=true]{background:var(--theme-main);color:white;border-color:var(--theme-main)}body[data-theme]:not([data-theme=olive]) input[type=range],body[data-theme]:not([data-theme=olive]) input[type=checkbox],body[data-theme]:not([data-theme=olive]) input[type=radio]{accent-color:var(--theme-main)}body[data-theme]:not([data-theme=olive]) .eyebrow,body[data-theme]:not([data-theme=olive]) .post-tools p,body[data-theme]:not([data-theme=olive]) .pillar-filters>p,body[data-theme]:not([data-theme=olive]) .resultline,body[data-theme]:not([data-theme=olive]) .mosaic-size,body[data-theme]:not([data-theme=olive]) .library-hint,body[data-theme]:not([data-theme=olive]) .storage-summary,body[data-theme]:not([data-theme=olive]) label,body[data-theme]:not([data-theme=olive]) .library-feed-actions p{color:var(--theme-main)}body[data-theme]:not([data-theme=olive]) .compact-filters,body[data-theme]:not([data-theme=olive]) .library-toolbar,body[data-theme]:not([data-theme=olive]) header{border-color:var(--theme-border)}body[data-theme]:not([data-theme=olive]) select,body[data-theme]:not([data-theme=olive]) input:not([type=range]):not([type=checkbox]):not([type=radio]),body[data-theme]:not([data-theme=olive]) textarea{border-color:var(--theme-border);color:var(--theme-ink)}body[data-theme]:not([data-theme=olive]) .feed-panel,body[data-theme]:not([data-theme=olive]) .feed-header,body[data-theme]:not([data-theme=olive]) .classification-settings{background:var(--theme-bg)}body[data-theme]:not([data-theme=olive]) .gallery .actions button{background:transparent;border:0;color:white}body[data-theme]:not([data-theme=olive]) .gallery .actions button[data-field=favorite][aria-pressed=true]{color:#f0c681}body[data-theme]:not([data-theme=olive]) .gallery .actions .status-check{stroke:var(--theme-main)}body[data-theme]:not([data-theme=olive]) .album-check{accent-color:var(--theme-main)}body[data-theme]:not([data-theme=olive]) .radar-label{fill:var(--theme-main)}body[data-theme]:not([data-theme=olive]) .radar-ring,body[data-theme]:not([data-theme=olive]) .radar-axis{stroke:var(--theme-border)}body[data-theme]:not([data-theme=olive]) .album-manage-row{border-color:var(--theme-border)}body[data-theme]:not([data-theme=olive]) .album-moving{background:var(--theme-soft)}body[data-theme]:not([data-theme=olive]) .feed-slot{background:#eeefec;color:#686f61}body[data-theme]:not([data-theme=olive]) .preview-actionbar button{background:#ffffff18;color:white;border-color:#ffffff40}body[data-theme]:not([data-theme=olive]) .preview-actionbar button[aria-pressed=true]{background:var(--theme-main)}body[data-theme]:not([data-theme=olive]) .post-selection-number{background:var(--theme-main)}
body[data-theme]:not([data-theme=olive]) .album-library-return{background:transparent;border-color:transparent;color:var(--theme-main)}body[data-theme]:not([data-theme=olive]) .album-filter{background:var(--theme-soft);border-color:transparent;color:var(--theme-ink)}body[data-theme]:not([data-theme=olive]) .album-filter[aria-pressed=true],body[data-theme]:not([data-theme=olive]) .album-row.drop-target .album-filter{background:var(--theme-soft);border-color:var(--theme-main);box-shadow:0 0 0 1px var(--theme-main)}body[data-theme]:not([data-theme=olive]) .album-row.drop-target{background:transparent;border-color:transparent}body[data-theme]:not([data-theme=olive]) .album-cover{background:var(--theme-border);color:var(--theme-main)}body[data-theme]:not([data-theme=olive]) .album-label,body[data-theme]:not([data-theme=olive]) .album-label small{color:var(--theme-ink)}
#pillar-report{max-width:1000px;margin:12px auto 0}#pillar-report .report-row{grid-template-columns:minmax(140px,1fr) 3fr 80px;gap:20px;margin:0;padding:12px 0;border-bottom:1px solid var(--theme-border,#dddfd3)}#pillar-report .report-row>span:last-child{text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums;color:var(--theme-main,#52634b)}#pillar-report meter{display:block;width:100%;height:8px;min-height:0;padding:0;border:0;border-radius:20px;overflow:hidden;appearance:none;-webkit-appearance:none;background:var(--theme-soft,#e2e7d9)}#pillar-report meter::-webkit-meter-inner-element{display:block}#pillar-report meter::-webkit-meter-bar{height:8px;border:0;border-radius:20px;background:var(--theme-soft,#e2e7d9);box-shadow:none}#pillar-report meter::-webkit-meter-optimum-value,#pillar-report meter::-webkit-meter-suboptimum-value,#pillar-report meter::-webkit-meter-even-less-good-value{border-radius:20px;background:linear-gradient(90deg,var(--theme-main,#52634b),var(--theme-main,#52634b));box-shadow:inset 0 1px 0 #ffffff25}#pillar-report meter::-moz-meter-bar{border:0;border-radius:20px;background:var(--theme-main,#52634b);box-shadow:inset 0 1px 0 #ffffff25}#pillar-report>p{font-size:12px;color:var(--theme-main,#626757);margin-top:18px}@media(max-width:760px){#pillar-report .report-row{grid-template-columns:1fr 80px;gap:8px;padding:12px 0}#pillar-report .report-row>span:first-child{grid-column:1;grid-row:1}#pillar-report .report-row>span:last-child{grid-column:2;grid-row:1}#pillar-report meter{grid-column:1 / -1;grid-row:2;height:7px}}
.pillar-choice{display:inline-flex;align-items:center;border:1px solid var(--theme-border,#cbd2c0);border-radius:24px;padding-left:10px;overflow:hidden;background:transparent}.pillar-choice input[type=checkbox]{display:block;width:16px;height:16px;min-height:0;flex:0 0 16px;padding:0;margin:0;accent-color:var(--theme-main,#303e31);cursor:pointer}.pillar-buttons .pillar-choice button,body[data-theme]:not([data-theme=olive]) .pillar-buttons .pillar-choice button{border:0;border-radius:0;padding-left:8px;background:transparent}.pillar-choice:has(button[aria-pressed=true]){background:var(--theme-soft,#e4e9db);border-color:var(--theme-main,#303e31)}.pillar-buttons .pillar-choice button[aria-pressed=true],body[data-theme]:not([data-theme=olive]) .pillar-buttons .pillar-choice button[aria-pressed=true]{background:transparent;color:var(--theme-main,#303e31)}
.pillar-buttons>button,.pillar-buttons .pillar-choice{border-radius:10px}.pillar-buttons .pillar-choice button{border-radius:0}
.library-feed-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap}.library-feed-actions>p{flex-basis:100%;text-align:right}.library-feed-actions .post-launch{font-size:12px}.library-feed-actions .post-launch[aria-pressed=true]{box-shadow:0 0 0 2px var(--theme-border,#cbd2c0)}@media(max-width:760px){.library-feed-actions .post-launch{font-size:11px;padding:10px}.library-feed-actions{max-width:55%}}
.library-feed-actions .post-launch,.library-feed-actions .feed-launch{font-size:12px}@media(max-width:760px){.library-feed-actions .post-launch,.library-feed-actions .feed-launch{font-size:11px}}
.gallery .caption-selected .photo-wrap{animation:post-selection-wiggle .48s ease-in-out infinite alternate;transform-origin:50% 65%}.gallery .card.caption-selected{overflow:visible;z-index:1}@keyframes post-selection-wiggle{from{transform:rotate(-.45deg) translateY(-1px)}to{transform:rotate(.45deg) translateY(0)}}@media(prefers-reduced-motion:reduce){.gallery .caption-selected .photo-wrap{animation:none}}.post-launch:disabled{cursor:default}
.video-library{grid-template-columns:repeat(auto-fill,minmax(180px,240px));justify-content:start;gap:20px}.video-library article{min-width:0}.video-library video{display:block;width:100%;height:auto;aspect-ratio:9/16;max-height:none;object-fit:contain;background:#171717;border-radius:14px}.video-library article>p{line-height:1.5;margin:10px 0 6px}.video-library article>a{display:inline-block;font-size:12px;padding:6px 0}@media(max-width:760px){.video-library{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.video-library video{border-radius:10px}}@media(max-width:380px){.video-library{grid-template-columns:minmax(0,240px);justify-content:center}}
.album-strip .album-row{position:relative}.album-strip-name{position:absolute;inset:5px 4px 5px 50px;width:calc(100% - 54px);min-width:70px;min-height:40px;margin:0;padding:6px;font-size:12px;z-index:2}.album-strip .album-filter[draggable=true]{cursor:grab}.album-strip .album-filter[draggable=true]:active{cursor:grabbing}@media(max-width:760px){.album-strip-name{font-size:16px}}
.album-strip #album-all{display:flex;align-items:center;gap:8px;flex:0 0 auto;padding:6px 10px 6px 6px;border:1px solid transparent;border-radius:14px;background:var(--theme-soft,#eeede6);color:var(--theme-ink,#303e31);text-align:left;font-size:12px}.album-strip #album-all[aria-pressed=true]{border-color:var(--theme-main,#303e31);box-shadow:0 0 0 1px var(--theme-main,#303e31)}
.album-band{display:flex;align-items:center;gap:10px}.album-band[hidden]{display:none!important}.album-band .album-strip{flex:1;min-width:0}.album-quick-create{flex:0 0 auto;margin:0;opacity:0;transition:opacity .15s}.album-band:hover .album-quick-create,.album-band:focus-within .album-quick-create{opacity:1}.album-quick-create button{width:40px;height:40px;min-height:40px;padding:0;border-radius:12px;font-size:24px}.album-strip .album-filter .album-label{cursor:text}@media(hover:none),(pointer:coarse){.album-quick-create{opacity:1}}
#preview-albums{display:flex;flex-wrap:wrap;gap:5px;flex-basis:100%;margin-top:2px}#preview-albums[hidden]{display:none}.preview-album-tag{font-size:10px;line-height:1.4;color:#fff;padding:3px 7px;border:1px solid #ffffff30;border-radius:6px;background:#ffffff10}
.album-drop-space{flex:0 0 auto;min-width:72px;height:54px;border:1px dashed var(--theme-main,#52634b);border-radius:14px;background:var(--theme-soft,#e4e9db);opacity:.7}.album-dragging{opacity:.35}.album-strip .album-row{transition:opacity .15s}
body[data-theme]:not([data-theme=olive]) .feed-panel .feed-add-row{background:var(--theme-soft);color:var(--theme-ink);border-color:var(--theme-border)}body[data-theme]:not([data-theme=olive]) .feed-panel .feed-reset{background:transparent;color:var(--theme-main);border-color:var(--theme-main)}body[data-theme]:not([data-theme=olive]) .feed-panel .feed-command button:not(.feed-reset),body[data-theme]:not([data-theme=olive]) .feed-panel .feed-row-actions button:not(.feed-add-row){color:white}body[data-theme]:not([data-theme=olive]) .feed-fold,body[data-theme]:not([data-theme=olive]) .feed-editor{border-color:var(--theme-border)}body[data-theme]:not([data-theme=olive]) .fold-label::after,body[data-theme]:not([data-theme=olive]) .feed-notice,body[data-theme]:not([data-theme=olive]) .feed-format,body[data-theme]:not([data-theme=olive]) .feed-instruction,body[data-theme]:not([data-theme=olive]) #feed-versions-status,body[data-theme]:not([data-theme=olive]) #feed-profile-status{color:var(--theme-main)}body[data-theme]:not([data-theme=olive]) .feed-panel .feed-browse,body[data-theme]:not([data-theme=olive]) .feed-panel .add-to-feed{background:var(--theme-soft);color:var(--theme-ink);border-color:var(--theme-border)}body[data-theme]:not([data-theme=olive]) .feed-panel .feed-trash{color:white}
#preview .preview-arrow{display:flex;align-items:center;justify-content:center;width:44px;height:44px;min-height:44px;padding:0;border:1px solid #ffffff35;border-radius:50%;background:#171d2199;color:white;box-shadow:0 3px 12px #0002;backdrop-filter:blur(8px);transition:background .18s,border-color .18s;line-height:1}#preview .preview-arrow svg{display:block;flex-shrink:0}#preview .preview-arrow:hover{background:#171d21cc;border-color:#ffffff70;filter:none}#preview .preview-arrow:focus-visible{outline:2px solid white;outline-offset:3px}
.library-toolbar [role=tab]{display:inline-flex;align-items:center;gap:6px}.library-toolbar .tab-icon{width:15px;height:15px;flex:0 0 15px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.library-toolbar .tab-icon rect{fill:none}
.settings-panel{background:transparent!important;border:0!important;padding:4px!important}.settings-heading{margin:10px 0 18px}.settings-heading span{display:block;margin-bottom:5px;color:var(--theme-main,#687060);font-size:9px;font-weight:700;letter-spacing:.16em;text-transform:uppercase}.settings-heading h2{margin:0;font:normal 30px Georgia,serif}.settings-heading p{margin:7px 0 0;color:var(--theme-main,#687060);font-size:12px}.settings-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;max-width:none!important;margin:0 0 14px!important}.settings-card{margin:0 0 14px;padding:18px;border:1px solid var(--theme-border,#dddfd3);border-radius:15px;background:var(--theme-bg,#fffefa)}.settings-grid .settings-card{margin:0}.settings-card-title{display:flex;align-items:flex-start;gap:11px;margin-bottom:16px}.settings-card-icon{display:grid;place-items:center;flex:0 0 36px;width:36px;height:36px;border-radius:10px;background:var(--theme-soft,#e4e9db);color:var(--theme-main,#303e31);font:600 12px Georgia,serif}.settings-card-title h3{margin:1px 0 3px;font:normal 19px Georgia,serif}.settings-card-title p{margin:0;color:var(--theme-main,#687060);font-size:11px;line-height:1.45}.settings-save{grid-column:1/-1;display:flex;align-items:center;gap:12px}.settings-save p{margin:0;font-size:11px}.settings-theme .theme-options{margin:0}.settings-theme .theme-choice{flex:1 1 135px}.settings-wide{width:100%}.settings-panel .classification-settings{max-width:640px!important;margin:0!important;padding:0!important;background:transparent!important}.settings-panel .classification-settings label{display:block;margin-top:12px}.settings-panel .album-create{display:flex;align-items:end;gap:8px;max-width:540px;margin-bottom:14px}.settings-panel .album-create label{flex:1}.settings-panel .album-create input{margin-bottom:0}.settings-panel .album-create button{min-height:43px}.settings-panel .album-management{max-width:760px}@media(max-width:760px){.settings-grid{grid-template-columns:1fr}.settings-card{padding:14px}.settings-heading h2{font-size:26px}.settings-panel .album-create{align-items:stretch;flex-direction:column}.settings-panel .album-create button{align-self:flex-start}}
.video-filters{display:flex;align-items:center;gap:6px;flex-wrap:wrap;margin:18px 0}.video-filters button{min-height:38px;padding:8px 11px;border:1px solid var(--theme-border,#d2d5c9);border-radius:10px;background:transparent;color:var(--theme-main,#303e31);font-size:11px}.video-filters button[aria-pressed=true]{background:var(--theme-main,#303e31);border-color:var(--theme-main,#303e31);color:#fff}.video-frame{position:relative}.video-actions{position:absolute;top:8px;right:8px;display:flex;gap:5px;z-index:2}.video-actions button{display:grid;place-items:center;width:34px;height:34px;min-height:34px;padding:0;border:1px solid #ffffff45;border-radius:9px;background:#152018bb;color:#fff;backdrop-filter:blur(5px)}.video-actions button svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.video-actions button[data-video-field=favorite][aria-pressed=true]{color:#f2c16f}.video-actions button[data-video-field=favorite][aria-pressed=true] svg{fill:currentColor}.video-actions button[data-video-field=used][aria-pressed=true]{background:var(--theme-main,#303e31);color:#fff}.video-card[hidden],.video-group[hidden]{display:none!important}#video-status{min-height:1.4em}@media(max-width:760px){.video-filters{gap:4px}.video-filters button{padding:7px 8px;font-size:10px}.video-actions{top:6px;right:6px}.video-actions button{width:31px;height:31px;min-height:31px}}
body[data-theme] .video-filters button{display:inline-flex;align-items:center;gap:5px;background:transparent!important;border-color:var(--theme-border,#d2d5c9)!important;color:var(--theme-main,#303e31)!important}body[data-theme] .video-filters button[aria-pressed=true]{background:var(--theme-main,#303e31)!important;border-color:var(--theme-main,#303e31)!important;color:#fff!important}body[data-theme] .video-actions button{background:#172019c7!important;border-color:#ffffff55!important;color:#fff!important}body[data-theme] .video-actions button[data-video-field=favorite][aria-pressed=true]{background:#754e35d9!important;color:#f4ca79!important}body[data-theme] .video-actions button[data-video-field=used][aria-pressed=true]{background:#fff!important;border-color:#fff!important;color:var(--theme-main,#303e31)!important;box-shadow:0 2px 10px #0004}body[data-theme] .video-actions button[data-video-field=used][aria-pressed=true] rect{fill:currentColor}body[data-theme] .video-actions button[data-video-field=used][aria-pressed=true] path{stroke:var(--theme-bg,#fffefa);stroke-width:2.2}
.video-resultline{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:2px 0 18px;color:var(--theme-main,#303e31);font-size:11px}.video-mosaic-size{display:flex;align-items:center;gap:9px}.video-mosaic-size label,.video-mosaic-size output{white-space:nowrap}.video-mosaic-size input{width:min(190px,24vw);accent-color:var(--theme-main,#303e31)}.video-library{grid-template-columns:repeat(var(--video-columns,4),minmax(0,1fr));justify-content:stretch}.video-card{cursor:grab}.video-card:active{cursor:grabbing}@media(max-width:760px){.video-resultline{align-items:flex-end}.video-mosaic-size{display:grid;grid-template-columns:auto auto}.video-mosaic-size input{grid-column:1/-1;width:min(210px,52vw)}.video-library{grid-template-columns:repeat(var(--video-columns,2),minmax(0,1fr))}}
.video-actions button[data-video-field=used] path{opacity:0;transition:opacity .15s}.video-actions button[data-video-field=used][aria-pressed=true] path{opacity:1}.video-card video,.video-card>p,.video-card>a{transition:opacity .2s,filter .2s}.video-card[data-used="1"] video{opacity:.48;filter:grayscale(.45)}.video-card[data-used="1"]>p,.video-card[data-used="1"]>a{opacity:.55}
body[data-theme] .video-actions button,body[data-theme] .video-actions button[aria-pressed=true]{width:30px;height:30px;min-height:30px;padding:0;background:transparent!important;border:0!important;border-radius:5px;color:#fff!important;box-shadow:none!important;backdrop-filter:none}.video-actions button .status-icon{display:block;width:22px;height:22px;filter:drop-shadow(0 1px 2px #0009)}.video-actions button .status-shape{fill:none}.video-actions button .status-check{display:none;opacity:1}.video-actions button[aria-pressed=true] .status-shape{fill:currentColor}.video-actions button[data-video-field=favorite][aria-pressed=true],body[data-theme] .video-actions button[data-video-field=favorite][aria-pressed=true]{background:transparent!important;color:#f0c681!important}.video-actions button[data-video-field=used][aria-pressed=true],body[data-theme] .video-actions button[data-video-field=used][aria-pressed=true]{background:transparent!important;color:#fff!important}.video-actions button[data-video-field=used][aria-pressed=true] .status-check,body[data-theme] .video-actions button[data-video-field=used][aria-pressed=true] .status-check{display:block;stroke:var(--theme-main,#303e31);stroke-width:2.2;opacity:1}
.album-strip .album-filter .album-label{cursor:pointer}

/* Gallery cards: selection control and Instagram-style action strip. */
.gallery .photo-wrap{overflow:hidden;border:1px solid var(--theme-border,#d8dbce);border-radius:15px;background:#fff;box-shadow:none!important;outline:0!important}
.gallery .image-link{border-radius:14px 14px 0 0}
.gallery .actions,body[data-theme]:not([data-theme=none]) .gallery .actions{position:static;inset:auto;display:flex;align-items:center;gap:3px;height:38px;margin:0;padding:4px 7px;border-top:1px solid #eceee8;background:#fff;pointer-events:auto}
.gallery .actions button,.gallery .actions a,body[data-theme]:not([data-theme=none]) .gallery .actions button{position:static;display:grid;place-items:center;flex:0 0 29px;width:29px;height:29px;min-height:29px;margin:0;padding:0;border:0;border-radius:6px;background:transparent!important;color:var(--theme-ink,#29352b)!important;box-shadow:none!important;opacity:1;text-decoration:none}
.gallery .actions svg{display:block;width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;filter:none}
.gallery .actions .photo-download{margin-left:auto}
.gallery .actions button[data-field=favorite][aria-pressed=true],body[data-theme]:not([data-theme=none]) .gallery .actions button[data-field=favorite][aria-pressed=true]{color:#d99d3e!important}
.gallery .actions button[data-field=favorite][aria-pressed=true] .status-shape{fill:currentColor}
.gallery .actions .status-hidden-slash{display:none}
.gallery .actions button[data-field=hidden][aria-pressed=true] .status-hidden-slash{display:block}
.gallery .actions button[data-field=hidden][aria-pressed=true]{color:#8c9188!important}
.gallery .actions button[data-field=used][aria-pressed=true],body[data-theme]:not([data-theme=none]) .gallery .actions button[data-field=used][aria-pressed=true]{color:var(--theme-main,#5f7d50)!important}
.gallery .post-select-toggle,.gallery.compact-mobile .post-select-toggle{position:absolute;z-index:7;top:0;right:auto;bottom:auto;left:0;display:grid;place-items:center;width:29px;height:29px;min-height:29px;margin:0;padding:0;border:0;border-right:1px solid var(--theme-border,#d8dbce);border-bottom:1px solid var(--theme-border,#d8dbce);border-radius:13px 0 8px 0;background:#fff!important;color:var(--theme-main,#303e31)!important;box-shadow:none!important}
.gallery .post-select-toggle svg,.gallery.compact-mobile .post-select-toggle svg{width:20px;height:20px}
.gallery .post-select-toggle[aria-pressed=true]{background:#fff!important;color:var(--theme-main,#303e31)!important}
.gallery .post-select-toggle[aria-pressed=true] svg rect{fill:var(--theme-main,#303e31);stroke:var(--theme-main,#303e31)}
.gallery .post-select-toggle[aria-pressed=true] svg path{stroke:#fff}
.gallery .card[data-favorite="1"] .photo-wrap,.gallery .card.caption-selected .photo-wrap{animation:none!important;transform:none!important;box-shadow:none!important;outline:0!important}
.gallery .card.caption-selected{overflow:visible;outline:0!important}
.gallery .caption-selected .photo-wrap::after{display:none!important}
.gallery .post-selection-number{display:none!important}
.gallery.compact-mobile .actions{display:flex}
.gallery{gap:16px 12px}
@media(max-width:760px){.gallery{gap:14px 12px}}

/* Dark appearance. */
body[data-theme=dark]{--theme-main:#8fa493;--theme-bg:#171a18;--theme-soft:#252b27;--theme-border:#3a443d;--theme-ink:#eef2ee;color-scheme:dark;background:var(--theme-bg);color:var(--theme-ink)}
.theme-dark{background:linear-gradient(135deg,#101311 0 50%,#8fa493 50%)}
body[data-theme=dark] header,body[data-theme=dark] footer,body[data-theme=dark] .library-toolbar,body[data-theme=dark] .compact-filters{border-color:var(--theme-border)}
body[data-theme=dark] input:not([type=checkbox]):not([type=radio]):not([type=range]),body[data-theme=dark] select,body[data-theme=dark] textarea,body[data-theme=dark] dialog:not(#preview):not(#feed-full-preview),body[data-theme=dark] .feed-panel,body[data-theme=dark] .post-panel{background:#1d221f;color:var(--theme-ink);border-color:var(--theme-border)}
body[data-theme=dark] .panel,body[data-theme=dark] .library-tab-panel,body[data-theme=dark] .settings-card,body[data-theme=dark] .planner-gallery,body[data-theme=dark] .planner-calendar,body[data-theme=dark] .planner-header,body[data-theme=dark] .planner-week-corner,body[data-theme=dark] .planner-week-hours{background:var(--theme-bg);color:var(--theme-ink);border-color:var(--theme-border)}
body[data-theme=dark] button:not(.quiet):not(.photo-zoom):not(.post-select-toggle):not([data-field]),body[data-theme=dark] .library-toolbar [aria-selected=true],body[data-theme=dark] .status-icons button[aria-pressed=true]{background:#465b4d;border-color:#465b4d;color:#fff}
body[data-theme=dark] .theme-choice,body[data-theme=dark] .album-filter,body[data-theme=dark] .album-strip #album-all,body[data-theme=dark] .storage-tiles>div{background:var(--theme-soft);border-color:var(--theme-border);color:var(--theme-ink)}
body[data-theme=dark] .planner-week>.planner-weekday,body[data-theme=dark] .planner-week .planner-day.is-week,body[data-theme=dark] .planner-week .planner-day.is-week.is-current-week{background-color:#1b201c}
body[data-theme=dark] .planner-week-date.is-today,body[data-theme=dark] .planner-week .planner-day.is-week.is-today{background-color:#29342c}
body[data-theme=dark] .planner-week-date.is-today strong{background:#819a87;color:#111713}
body[data-theme=dark] .planner-week .planner-week-item{background:#242b26;border-color:#465349;border-left-color:#8fa493;color:var(--theme-ink);box-shadow:0 3px 12px #0008}
body[data-theme=dark] .planner-week .planner-week-item span{color:var(--theme-ink)}
body[data-theme=dark] .planner-week .planner-week-item .planner-remove{background:#242b26!important;color:var(--theme-ink)!important}
body[data-theme=dark] .notice{background:#3c3226;color:#f3dfc4}

/* Favorite and selection feedback. */
.gallery .actions button[data-field=favorite][aria-pressed=true],body[data-theme]:not([data-theme=none]) .gallery .actions button[data-field=favorite][aria-pressed=true],.video-actions button[data-video-field=favorite][aria-pressed=true],body[data-theme] .video-actions button[data-video-field=favorite][aria-pressed=true]{color:#FF3040!important}
.gallery .card.caption-selected .photo-wrap{box-shadow:0 0 0 2px var(--theme-bg,#fffefa),0 0 0 5px var(--theme-main,#60745f),0 8px 22px #19231935!important}

/* Contextual actions for the current photo selection. */
.post-tools{display:block;margin:4px 0 14px}
.post-tools>p{margin:0 0 7px;font-size:10px;color:var(--theme-main,#737968)}
.selection-actions{display:none;align-items:center;justify-content:space-between;gap:10px;min-height:52px;padding:8px 10px;border:1px solid var(--theme-border,#d7dccf);border-radius:12px;background:transparent;transition:background .18s,border-color .18s,box-shadow .18s}
.selection-actions.has-selection{display:flex;border-color:color-mix(in srgb,var(--theme-main,#52634b) 65%,var(--theme-border,#d7dccf));background:var(--theme-soft,#e9eee3);box-shadow:0 5px 18px #22301e12}
.selection-actions>span{flex:0 0 auto;font-size:11px;color:var(--theme-main,#626b5c);white-space:nowrap}
.selection-actions.has-selection>span{font-weight:700;color:var(--theme-ink,#283325)}
.selection-action-buttons{display:flex;align-items:center;justify-content:flex-end;gap:5px;flex-wrap:wrap}
.selection-action-buttons button,body[data-theme]:not([data-theme=olive]) .selection-action-buttons button{display:inline-flex;align-items:center;gap:5px;min-height:34px;padding:7px 9px;border-radius:8px;font-size:10px}
.selection-action-buttons button span{font-size:15px;line-height:1}
.selection-action-buttons button:disabled{background:transparent;color:var(--theme-main,#737968);border-color:var(--theme-border,#d7dccf);opacity:.48;cursor:default}
.selection-action-buttons #caption-clear{background:transparent;color:var(--theme-main,#626b5c);border-color:transparent}
body[data-theme=dark] .selection-actions.has-selection{background:#252e28;box-shadow:0 5px 20px #0005}
@media(max-width:760px){.selection-actions{align-items:flex-start;flex-direction:column;padding:8px}.selection-action-buttons{justify-content:flex-start;width:100%}.selection-action-buttons button{flex:1 1 auto}.selection-actions>span{font-size:10px}}
body[data-theme=dark]:not([data-theme=none]) .gallery .actions button,body[data-theme=dark]:not([data-theme=none]) .gallery .actions a{color:#29352b!important;opacity:1;pointer-events:auto}
body[data-theme=dark]:not([data-theme=none]) .gallery .actions button[data-field=favorite][aria-pressed=true]{color:#FF3040!important}
body[data-theme=dark]:not([data-theme=none]) .gallery .actions button[data-field=used][aria-pressed=true]{color:#58725f!important}
body[data-theme=dark]:not([data-theme=none]) .gallery .actions button[data-field=hidden][aria-pressed=true]{color:#7f8781!important}
body[data-theme=dark] .pillar-buttons>button,body[data-theme=dark] .pillar-choice button,body[data-theme=dark] .pillar-buttons .pillar-choice button[aria-pressed=true]{background:transparent!important;border-color:var(--theme-border)!important;color:var(--theme-ink)!important}
body[data-theme=dark] .pillar-buttons>button[aria-pressed=true]{background:#465b4d!important;border-color:#607568!important;color:#fff!important}
body[data-theme=dark] .pillar-choice{background:transparent;border-color:var(--theme-border)}
body[data-theme=dark] .pillar-choice:has(button[aria-pressed=true]){background:#303a33;border-color:#718579}
body[data-theme=dark] .pillar-choice input[type=checkbox]{appearance:none;-webkit-appearance:none;position:relative;border:1px solid #718078;border-radius:3px;background:#1b201d}
body[data-theme=dark] .pillar-choice input[type=checkbox]:checked{border-color:#9bb0a0;background:#708779}
body[data-theme=dark] .pillar-choice input[type=checkbox]:checked::after{content:'';position:absolute;left:4px;top:1px;width:4px;height:8px;border:solid #fff;border-width:0 2px 2px 0;transform:rotate(45deg)}
.pillar-buttons button,.pillar-filters>p:not(.eyebrow),.resultline,.mosaic-size label,.mosaic-size output,.post-tools>p,.selection-actions>span,.selection-action-buttons button,body[data-theme]:not([data-theme=olive]) .selection-action-buttons button{font-size:11px}
.source-sync-status{display:grid;gap:7px;margin:8px 0 14px;padding:11px 13px;border:1px solid var(--theme-border,#d2d7ca);border-radius:11px;background:var(--theme-soft,#e9eee3);font-size:11px}.source-sync-status[hidden]{display:none}.source-sync-status strong{font-size:12px}.source-sync-status progress{width:100%;height:7px;accent-color:var(--theme-main,#52634b)}.source-sync-status ul{margin:0;padding-left:18px;max-height:150px;overflow:auto;color:#9b3d22}.source-sync-status ul:empty{display:none}body[data-theme=dark] .source-sync-status{background:#252d28;color:var(--theme-ink)}
.result-count{display:flex;align-items:center;gap:8px}.result-count #photo-sort{display:inline-flex;align-items:center;gap:5px;min-height:30px;padding:5px 8px;border:1px solid var(--theme-border,#d2d7ca);border-radius:8px;background:transparent;color:var(--theme-main,#303e31);font-size:11px}.result-count #photo-sort:hover{background:var(--theme-soft,#e9eee3)}.result-count #photo-sort svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.result-count #photo-sort[aria-pressed=true] svg{transform:scaleY(-1)}.gallery-more{grid-column:1/-1;width:100%;height:2px}.gallery-more[hidden]{display:none}body[data-theme=dark] .result-count #photo-sort{border-color:var(--theme-border);color:var(--theme-ink)}
.mobile-filter-toggle{display:none}
@media(max-width:760px){
  .mobile-filter-toggle{display:flex;align-items:center;gap:8px;width:100%;min-height:40px;margin:7px 0 9px;padding:8px 11px;border:1px solid var(--theme-border,#d2d7ca);border-radius:10px;background:var(--theme-soft,#e8ecdf);color:var(--theme-ink,#303e31);font-size:11px;text-align:left}
  .mobile-filter-toggle[hidden]{display:none!important}
  .mobile-filter-toggle svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round}
  .mobile-filter-toggle .mobile-filter-chevron{margin-left:auto;font-size:17px;line-height:1}
  body.library-mobile-filters-collapsed main>.album-band,
  body.library-mobile-filters-collapsed main>#album-message,
  body.library-mobile-filters-collapsed main>.compact-filters,
  body.library-mobile-filters-collapsed main>.pillar-filters,
  body.library-mobile-filters-collapsed main>.resultline{display:none!important}
  body.library-mobile-filters-collapsed main>.post-tools{margin:0 0 8px}
  body.library-mobile-filters-collapsed main>.post-tools>p,
  body.library-mobile-filters-collapsed main>.post-tools>#post-touch-select{display:none!important}
body.library-mobile-filters-collapsed main>.post-tools:not(:has(.selection-actions.has-selection)){margin:0}
  body[data-theme=dark] .mobile-filter-toggle{background:#252d28;border-color:var(--theme-border);color:var(--theme-ink)}
}
.video-card .video-actions .status-used-hand path{opacity:1}
.suspended-space{width:min(680px,100%);margin:8vh auto 12vh;padding:clamp(28px,6vw,62px);border:1px solid var(--theme-border,#d8dbce);border-radius:24px;background:var(--theme-soft,#eef0e8);color:var(--theme-ink,#283325);text-align:center;box-shadow:0 24px 70px #1f2c2012}.suspended-space-icon{display:grid;place-items:center;width:54px;height:54px;margin:0 auto 20px;border-radius:17px;background:var(--theme-main,#303e31);color:#fff;box-shadow:0 9px 25px color-mix(in srgb,var(--theme-main,#303e31) 26%,transparent)}.suspended-space-icon svg{width:27px;height:27px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round}.suspended-space .eyebrow{margin-bottom:10px;color:var(--theme-main,#303e31)}.suspended-space h1{margin:0;font:normal clamp(32px,5vw,51px)/1.05 Georgia,serif}.suspended-space>p:not(.eyebrow){max-width:520px;margin:20px auto 0;font-size:13px;line-height:1.65}.suspended-space .suspended-space-contact{font-size:11px!important;color:var(--theme-main,#687060)}.suspended-space>a{display:inline-flex;align-items:center;justify-content:center;min-height:42px;margin-top:25px;padding:9px 15px;border-radius:10px;background:var(--theme-main,#303e31);color:#fff;text-decoration:none;font-size:11px}@media(max-width:620px){.suspended-space{margin:4vh auto 10vh;border-radius:18px}.suspended-space>p:not(.eyebrow){font-size:12px}}
.video-card .video-frame{padding-bottom:38px;border:1px solid var(--theme-border,#d8dbce);border-radius:14px;overflow:hidden;background:#fff}.video-card .video-frame>video{border-radius:13px 13px 0 0}.video-card .video-actions{position:absolute;inset:auto 0 0 0;display:flex;align-items:center;gap:3px;height:38px;padding:4px 7px;border-top:1px solid #eceee8;background:#fff;z-index:2}.video-card .video-actions button,.video-card .video-actions a,body[data-theme] .video-card .video-actions button{display:grid;place-items:center;width:29px;height:29px;min-height:29px;padding:0;border:0!important;border-radius:6px;background:transparent!important;color:#29352b!important;box-shadow:none!important;text-decoration:none}.video-card .video-actions svg{display:block;width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;filter:none}.video-card .video-actions button[data-video-field=favorite][aria-pressed=true],body[data-theme] .video-card .video-actions button[data-video-field=favorite][aria-pressed=true]{color:#FF3040!important}.video-card .video-actions button[data-video-field=favorite][aria-pressed=true] svg{fill:currentColor}.video-card .video-actions button[data-video-field=used][aria-pressed=true],body[data-theme] .video-card .video-actions button[data-video-field=used][aria-pressed=true]{color:var(--theme-main,#58725f)!important}.video-card[data-used="1"] .video-actions,.video-card[data-used="1"] .video-action-download{opacity:1}.video-card>p{margin-top:8px!important}
.video-card .video-action-download{margin-left:auto}.video-card .status-hidden-slash{display:none}.video-card [data-video-field=hidden][aria-pressed=true] .status-hidden-slash{display:block}.video-card [data-video-field=hidden][aria-pressed=true]{color:var(--theme-main,#58725f)!important}.video-preview-dialog{position:fixed;inset:0;width:min(520px,calc(100vw - 28px));max-width:none;margin:auto;padding:0;border:0;border-radius:16px;background:#111;color:#fff;box-shadow:0 25px 80px #0009;overflow:hidden}.video-preview-dialog::backdrop{background:#090b09d9;backdrop-filter:blur(4px)}.video-preview-dialog video{display:block;width:100%;max-height:82dvh;aspect-ratio:9/16;background:#111;object-fit:contain}.video-preview-dialog p{margin:0;padding:10px 14px;font-size:11px;overflow-wrap:anywhere}.video-preview-close{position:absolute;z-index:2;top:9px;right:9px;display:grid;place-items:center;width:36px;height:36px;min-height:36px;padding:0;border:0;border-radius:50%;background:#111b!important;color:#fff!important;font-size:24px;box-shadow:0 2px 10px #0004}
.video-card .video-select-toggle{position:absolute;z-index:4;top:0;left:0;right:auto;bottom:auto;display:grid;place-items:center;width:29px;height:29px;min-height:29px;margin:0;padding:0;border:0;border-right:1px solid var(--theme-border,#d8dbce);border-bottom:1px solid var(--theme-border,#d8dbce);border-radius:13px 0 8px 0;background:#fff!important;color:var(--theme-main,#303e31)!important;box-shadow:none!important}.video-card .video-select-toggle svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.video-card .video-select-toggle[aria-pressed=true] svg rect{fill:var(--theme-main,#303e31);stroke:var(--theme-main,#303e31)}.video-card .video-select-toggle[aria-pressed=true] svg path{display:block;stroke:#fff}
.video-card.caption-selected{outline:0!important;z-index:1}.video-card.caption-selected .video-frame{overflow:hidden;box-shadow:0 0 0 2px var(--theme-bg,#fffefa),0 0 0 5px var(--theme-main,#60745f),0 8px 22px #19231935!important}

/* One contextual action trigger for photo and video selections. */
.selection-action-helpers[hidden],.selection-actions-trigger[hidden]{display:none!important}
.mosaic-actions,.video-mosaic-actions{display:flex;flex-direction:column;align-items:flex-end;gap:5px}
.resultline,.video-resultline{align-items:flex-start}
.selection-actions-trigger,body[data-theme]:not([data-theme=olive]) .selection-actions-trigger{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:34px;padding:7px 11px;border:1px solid var(--theme-main,#303e31);border-radius:9px;background:var(--theme-main,#303e31);color:#fff;font-size:11px;font-weight:700;box-shadow:0 5px 14px #1d2b1f20}
.selection-actions-trigger>span[aria-hidden]{font-size:13px;letter-spacing:1px;line-height:1}
@media(min-width:761px){
  .pillar-filters{position:relative;min-height:82px;padding-right:380px}
  .pillar-filters>.mosaic-actions{position:absolute;top:0;right:0;gap:34px}
  .mosaic-actions-without-pillars{margin:14px 0 0}
  .selection-actions{display:none!important}
}
@media(max-width:760px){
  #selection-actions-desktop,#selection-actions-video-desktop{display:none!important}
  .pillar-filters>.mosaic-actions{margin-top:12px;align-items:flex-start}
  .mosaic-actions-without-pillars{margin-top:12px;align-items:flex-start}
  .post-tools{position:static;top:auto;z-index:auto;padding:0;background:transparent}
  .selection-actions.has-selection{position:fixed;z-index:95;right:10px;bottom:max(10px,env(safe-area-inset-bottom));display:block;width:auto;min-height:0;margin:0;padding:0;border:0;background:transparent;box-shadow:none}
  .selection-actions .selection-actions-trigger{min-height:42px;padding:9px 13px;box-shadow:0 9px 28px #17221948}
  body.has-media-selection main{padding-bottom:110px}
}

/* Shooting explorer: contact sheets keep large libraries recognizable at a glance. */
.shooting-viewbar[hidden],.shooting-folders[hidden],.mosaic-actions-without-pillars[hidden]{display:none!important}
.shooting-viewbar{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:10px 0 12px}
.shooting-view-switch{display:inline-flex;gap:4px;padding:3px;border:1px solid var(--theme-border,#d8dbce);border-radius:12px;background:var(--theme-soft,#eeefe8)}
.shooting-view-switch button,body[data-theme]:not([data-theme=olive]) .shooting-view-switch button{display:inline-flex;align-items:center;gap:7px;min-height:34px;padding:7px 10px;border:0;border-radius:8px;background:transparent;color:var(--theme-main,#303e31);font-size:11px;box-shadow:none}
.shooting-view-switch button[aria-pressed=true],body[data-theme]:not([data-theme=olive]) .shooting-view-switch button[aria-pressed=true]{background:var(--theme-main,#303e31);color:#fff}
.shooting-view-switch svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.shooting-breadcrumb{display:flex;align-items:center;gap:8px;min-width:0;font-size:11px;color:var(--theme-main,#64705f)}
.shooting-breadcrumb button,body[data-theme]:not([data-theme=olive]) .shooting-breadcrumb button{display:inline-flex;align-items:center;gap:4px;min-height:32px;padding:5px 7px;border:0;background:transparent;color:inherit}
.shooting-breadcrumb button:hover{text-decoration:underline}.shooting-breadcrumb svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.shooting-breadcrumb strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--theme-ink,#283325)}
.shooting-folders{margin:10px 0 28px;padding:clamp(16px,2.5vw,28px);border:1px solid var(--theme-border,#d8dbce);border-radius:18px;background:color-mix(in srgb,var(--theme-soft,#eef0e8) 42%,var(--theme-bg,#fffefa));animation:shooting-folders-in .24s ease-out both}
.shooting-folders>header{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:20px}.shooting-folders>header .eyebrow{margin:0 0 5px}.shooting-folders>header h2{margin:0;font:normal clamp(25px,3vw,34px)/1 Georgia,serif}.shooting-folders>header>p{margin:0;color:var(--theme-main,#687060);font-size:11px}
.shooting-folder-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(270px,100%),1fr));gap:18px}
.shooting-folder-card{position:relative;min-width:0;padding:18px 9px 9px;border:1px solid var(--theme-border,#d8dbce);border-radius:8px 14px 14px 14px;background:var(--theme-soft,#e8ecdf);color:var(--theme-ink,#283325);cursor:pointer;box-shadow:0 7px 20px #22301e0c;transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease}
.shooting-folder-card::before{content:'';position:absolute;top:-9px;left:-1px;width:42%;height:18px;border:1px solid var(--theme-border,#d8dbce);border-bottom:0;border-radius:11px 13px 0 0;background:inherit;clip-path:polygon(0 0,76% 0,86% 100%,100% 100%,100% 100%,0 100%)}
.shooting-folder-card:hover,.shooting-folder-card:focus-visible{z-index:1;transform:translateY(-2px);border-color:var(--theme-main,#52634b);box-shadow:0 12px 28px #22301e1d;outline:0}.shooting-folder-card:focus-visible{box-shadow:0 0 0 2px var(--theme-bg,#fffefa),0 0 0 4px var(--theme-main,#52634b),0 12px 28px #22301e1d}
.shooting-folder-window{position:relative;overflow:hidden;border-radius:10px;background:var(--theme-bg,#fffefa)}
.shooting-folder-track{display:flex;width:100%;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;overscroll-behavior-inline:contain;-webkit-overflow-scrolling:touch}.shooting-folder-track::-webkit-scrollbar{display:none}
.shooting-folder-page{display:grid;grid-template-columns:repeat(var(--folder-columns,4),1fr);grid-template-rows:repeat(2,1fr);flex:0 0 100%;aspect-ratio:2/1;gap:2px;padding:2px;scroll-snap-align:start;background:var(--theme-bg,#fffefa)}
.shooting-folder-page img{display:block;width:100%;height:100%;min-width:0;min-height:0;object-fit:cover;background:var(--theme-border,#d8dbce)}
.shooting-folder-arrow,body[data-theme]:not([data-theme=olive]) .shooting-folder-arrow{position:absolute;z-index:2;top:50%;display:grid;place-items:center;width:29px;height:29px;min-height:29px;padding:0;border:0;border-radius:50%;background:#fffefae8;color:#263429;box-shadow:0 3px 12px #17221938;transform:translateY(-50%);opacity:0;transition:opacity .15s}.shooting-folder-card:hover .shooting-folder-arrow,.shooting-folder-card:focus-within .shooting-folder-arrow{opacity:1}.shooting-folder-arrow:disabled{opacity:0!important;pointer-events:none}.shooting-folder-arrow.is-previous{left:7px}.shooting-folder-arrow.is-next{right:7px}.shooting-folder-arrow svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.shooting-folder-counter{position:absolute;right:7px;bottom:7px;padding:3px 6px;border-radius:9px;background:#172119c7;color:#fff;font-size:9px;line-height:1}
.shooting-folder-meta{display:grid;grid-template-columns:1fr auto auto;align-items:center;gap:8px;padding:11px 5px 2px}.shooting-folder-meta strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font:normal 16px Georgia,serif}.shooting-folder-meta span{font-size:10px;color:var(--theme-main,#66705f);white-space:nowrap}.shooting-folder-meta svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
@keyframes shooting-folders-in{from{opacity:0;transform:translateY(7px)}to{opacity:1;transform:none}}

/* One selected-folder treatment for the library return, albums and shootings. */
.album-strip #album-all,.album-strip .album-filter{border:1px solid transparent;background:var(--theme-soft,#eeede6);color:var(--theme-ink,#303e31);box-shadow:none}
.album-strip #album-all[aria-pressed=true],.album-strip .album-filter[aria-pressed=true],body[data-theme]:not([data-theme=olive]) .album-strip #album-all[aria-pressed=true],body[data-theme]:not([data-theme=olive]) .album-strip .album-filter[aria-pressed=true]{border-color:var(--theme-main,#303e31);background:var(--theme-soft,#eeede6);color:var(--theme-ink,#303e31);box-shadow:0 0 0 1px var(--theme-main,#303e31)}
body[data-theme=dark] .shooting-folders{background:#1d221f}body[data-theme=dark] .shooting-folder-card{background:#252d28;box-shadow:0 8px 24px #0003}body[data-theme=dark] .shooting-folder-window,body[data-theme=dark] .shooting-folder-page{background:#171a18}
@media(max-width:760px){
  .shooting-viewbar{align-items:stretch;flex-direction:column;margin:8px 0 10px}.shooting-view-switch{display:grid;grid-template-columns:1fr 1fr}.shooting-view-switch button{justify-content:center;padding-inline:7px}.shooting-breadcrumb{order:-1}.shooting-folders{margin-top:6px;padding:14px 8px 18px;border-radius:14px}.shooting-folders>header{align-items:start;margin:0 5px 15px}.shooting-folders>header h2{font-size:25px}.shooting-folders>header>p{max-width:110px;text-align:right;line-height:1.35}.shooting-folder-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 8px}.shooting-folder-card{padding:14px 6px 7px;border-radius:7px 11px 11px 11px}.shooting-folder-card::before{top:-7px;height:14px}.shooting-folder-page{aspect-ratio:1/1;gap:2px}.shooting-folder-arrow{display:none!important}.shooting-folder-counter{right:5px;bottom:5px}.shooting-folder-meta{grid-template-columns:minmax(0,1fr) auto;padding:8px 2px 1px;gap:4px}.shooting-folder-meta strong{font-size:13px}.shooting-folder-meta span{font-size:9px}.shooting-folder-meta svg{display:none}
}

/* The global photo and shooting-folder entries live in the same album strip. */
.album-strip #shooting-all-folders{display:flex;align-items:center;gap:8px;flex:0 0 auto;padding:6px 10px 6px 6px;border:1px solid transparent;border-radius:14px;background:var(--theme-soft,#eeede6);color:var(--theme-ink,#303e31);text-align:left;font-size:12px;box-shadow:none}
.album-strip #shooting-all-folders[aria-pressed=true],body[data-theme]:not([data-theme=olive]) .album-strip #shooting-all-folders[aria-pressed=true]{border-color:var(--theme-main,#303e31);background:var(--theme-soft,#eeede6);color:var(--theme-ink,#303e31);box-shadow:0 0 0 1px var(--theme-main,#303e31)}
.shooting-folder-library .album-cover svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.shooting-viewbar{margin:4px 0 10px}

/* Contextual return to the top after three viewport heights. */
.scroll-top-button[hidden]{display:none!important}
.scroll-top-button,body[data-theme]:not([data-theme=olive]) .scroll-top-button{position:fixed;z-index:82;right:max(16px,env(safe-area-inset-right));bottom:max(18px,env(safe-area-inset-bottom));display:grid;place-items:center;width:43px;height:43px;min-height:43px;padding:0;border:1px solid color-mix(in srgb,var(--theme-main,#303e31) 72%,#fff);border-radius:50%;background:var(--theme-main,#303e31);color:#fff;box-shadow:0 9px 26px #17221945;animation:scroll-top-in .18s ease-out both}
.scroll-top-button:hover{transform:translateY(-2px);box-shadow:0 12px 30px #17221955}.scroll-top-button:focus-visible{outline:2px solid var(--theme-bg,#fffefa);box-shadow:0 0 0 4px var(--theme-main,#303e31),0 12px 30px #17221945}.scroll-top-button svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
@keyframes scroll-top-in{from{opacity:0;transform:translateY(9px) scale(.92)}to{opacity:1;transform:none}}
@media(max-width:760px){.scroll-top-button{right:max(11px,env(safe-area-inset-right));bottom:max(12px,env(safe-area-inset-bottom));width:41px;height:41px;min-height:41px}body.has-media-selection .scroll-top-button{bottom:max(70px,calc(env(safe-area-inset-bottom) + 58px))}}
@media(prefers-reduced-motion:reduce){.scroll-top-button{animation:none;transition:none}.scroll-top-button:hover{transform:none}}

/* Mobile filter disclosure follows every client theme. */
@media(max-width:760px){
  body[data-theme] .mobile-filter-toggle,body[data-theme]:not([data-theme=olive]) .mobile-filter-toggle{border-color:var(--theme-border,#d2d7ca);background:var(--theme-soft,#e8ecdf);color:var(--theme-ink,#303e31);box-shadow:none}
  body[data-theme] .mobile-filter-toggle:hover,body[data-theme] .mobile-filter-toggle[aria-expanded=true],body[data-theme]:not([data-theme=olive]) .mobile-filter-toggle:hover,body[data-theme]:not([data-theme=olive]) .mobile-filter-toggle[aria-expanded=true]{border-color:var(--theme-main,#52634b);background:color-mix(in srgb,var(--theme-soft,#e8ecdf) 82%,var(--theme-main,#52634b));color:var(--theme-ink,#303e31)}
  body[data-theme=dark] .mobile-filter-toggle,body[data-theme=dark] .mobile-filter-toggle:hover,body[data-theme=dark] .mobile-filter-toggle[aria-expanded=true]{border-color:var(--theme-border,#3a443d);background:var(--theme-soft,#252b27);color:var(--theme-ink,#eef2ee)}
  .mobile-filter-toggle svg,.mobile-filter-toggle .mobile-filter-chevron{color:var(--theme-main,#52634b)}
  body[data-theme=dark] .mobile-filter-toggle svg,body[data-theme=dark] .mobile-filter-toggle .mobile-filter-chevron{color:var(--theme-ink,#eef2ee)}
}

/* Folder launchers and explorer header share the same geometry. */
.album-strip #classification-all-folders{display:flex;align-items:center;gap:8px;flex:0 0 auto;padding:6px 10px 6px 6px;border:1px solid transparent;border-radius:14px;background:var(--theme-soft,#eeede6);color:var(--theme-ink,#303e31);text-align:left;font-size:12px;box-shadow:none}
.album-strip #classification-all-folders[aria-pressed=true],body[data-theme]:not([data-theme=olive]) .album-strip #classification-all-folders[aria-pressed=true]{border-color:var(--theme-main,#303e31);background:var(--theme-soft,#eeede6);color:var(--theme-ink,#303e31);box-shadow:0 0 0 1px var(--theme-main,#303e31)}
.shooting-folders>header{min-height:0;padding:0;border:0}
.shooting-folder-page.is-empty{grid-template-columns:1fr;place-items:center}.shooting-folder-page.is-empty span{font-size:11px;color:var(--theme-main,#687060)}

/* Keep the folder affordance visible on compact cards. */
@media(max-width:760px){
  .shooting-folder-meta{grid-template-columns:minmax(0,1fr) auto auto}
  .shooting-folder-meta svg{display:block;width:15px;height:15px}
}

/* The folder tab follows the card hover and keyboard-focus outline. */
.shooting-folder-card:hover::before,.shooting-folder-card:focus-visible::before{border-color:var(--theme-main,#52634b)}

/* Complete the folder tab outline: clip-path does not paint its diagonal edge. */
.shooting-folder-card::after{content:'';position:absolute;z-index:1;top:-9px;left:32%;width:22px;height:1px;background:var(--theme-border,#d8dbce);transform:rotate(56deg);transform-origin:left center;pointer-events:none}
.shooting-folder-card:hover::after,.shooting-folder-card:focus-visible::after{background:var(--theme-main,#52634b)}
@media(max-width:760px){.shooting-folder-card::after{top:-7px;width:17px;transform:rotate(61deg)}}

/* Folder arrows keep explicit contrast in every color theme. */
.shooting-folder-meta svg,body[data-theme]:not([data-theme=olive]) .shooting-folder-meta svg{color:var(--theme-main,#52634b);stroke:var(--theme-main,#52634b)!important}
.shooting-folder-arrow,body[data-theme] .shooting-folder-arrow,body[data-theme]:not([data-theme=olive]) .shooting-folder-arrow{border:1px solid var(--theme-border,#d8dbce)!important;background:var(--theme-bg,#fffefa)!important;color:var(--theme-main,#52634b)!important}
body[data-theme=dark] .shooting-folder-arrow{border-color:#718078!important;background:#eef2ee!important;color:#25352b!important}

/* Stop the diagonal exactly where it meets the folder's top edge. */
.shooting-folder-card::after{width:15px;transform:rotate(37deg)}
@media(max-width:760px){.shooting-folder-card::after{width:12px;transform:rotate(36deg)}}

/* Join the diagonal to the horizontal edge without extending below it. */
.shooting-folder-card::after{width:20px;transform:rotate(27deg)}
@media(max-width:760px){.shooting-folder-card::after{width:16px;transform:rotate(26deg)}}

/* Final tab join: add horizontal reach while preserving the same vertical drop. */
.shooting-folder-card::after{width:24px;transform:rotate(22deg)}
@media(max-width:760px){.shooting-folder-card::after{width:19px;transform:rotate(21deg)}}

/* Refine the tab slope: 5px shorter and slightly steeper. */
.shooting-folder-card::after{width:19px;transform:rotate(29deg)}
@media(max-width:760px){.shooting-folder-card::after{width:14px;transform:rotate(29deg)}}

/* Inspector-approved folder tab geometry. */
.shooting-folder-card::after{width:11px;transform:rotate(51deg)}
@media(max-width:760px){.shooting-folder-card::after{width:8px;transform:rotate(51deg)}}

/* Compact action strip below the zoomed photo. */
#preview .preview-frame>img{max-height:calc(91vh - 52px)}
body[data-theme] #preview .preview-caption{top:100%;bottom:auto;left:0;right:0;display:flex;align-items:center;flex-wrap:wrap;gap:2px;min-height:46px;padding:5px 7px;border:1px solid var(--theme-border,#d8dbce);border-top:0;border-radius:0 0 10px 10px;background:var(--theme-bg,#fffefa);color:var(--theme-ink,#283325);box-shadow:none}
#preview .preview-caption>p,#preview #preview-albums{display:none!important}
#preview .preview-actionbar{order:1;display:flex;flex:0 0 auto;gap:1px}
body[data-theme] #preview .preview-actionbar button,body[data-theme] #preview .preview-actionbar a{position:static;display:grid;place-items:center;width:36px;height:36px;min-height:36px;margin:0;padding:0;border:0!important;border-radius:7px;background:transparent!important;color:var(--theme-ink,#283325)!important;box-shadow:none!important;text-decoration:none}
#preview .preview-actionbar svg{display:block;width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
body[data-theme] #preview .preview-actionbar button:hover,body[data-theme] #preview .preview-actionbar a:hover{background:var(--theme-soft,#eef0e8)!important;filter:none}
body[data-theme] #preview .preview-actionbar button[aria-pressed=true]{background:var(--theme-soft,#eef0e8)!important;color:var(--theme-main,#303e31)!important}
body[data-theme] #preview .preview-actionbar button[data-field=favorite][aria-pressed=true]{color:#d84b55!important}
#preview .preview-actionbar button[data-field=favorite][aria-pressed=true] svg{fill:currentColor}
#preview #preview-count{order:2;margin-left:auto;padding:0 5px;color:var(--theme-muted,#687060);font-size:10px;font-weight:700;white-space:nowrap}
#preview .preview-caption #preview-status{order:3;flex-basis:100%;padding:0 4px;color:var(--theme-muted,#687060);font-size:9px}
/* The photo and its action strip form one card while they move together. */
#preview .preview-frame>.preview-main,#preview .preview-frame>.preview-under{border-radius:8px 8px 0 0}
#preview .preview-caption{will-change:transform}
#preview .preview-frame>img{touch-action:pinch-zoom;-webkit-user-drag:none;-webkit-touch-callout:none}
@media(max-width:600px){#preview .preview-frame>img{max-height:calc(92dvh - 52px)}body[data-theme] #preview .preview-caption{min-height:46px;padding:5px 6px;border-radius:0 0 9px 9px}body[data-theme] #preview .preview-actionbar button,body[data-theme] #preview .preview-actionbar a{width:35px;height:35px;min-height:35px}#preview .preview-arrow{display:none!important}}

/* Stable loading state for the full-size photo preview. */
#preview .preview-loader{position:absolute;inset:0;z-index:3;display:none;flex-direction:column;align-items:center;justify-content:center;gap:13px;pointer-events:none;color:#f8f5ec;text-align:center}
#preview .preview-loader strong{font-size:12px;font-weight:600;letter-spacing:.02em}
#preview .preview-loader-mark{position:relative;display:grid;place-items:center;width:66px;height:66px;border-radius:50%;background:#ffffff0d}
#preview .preview-loader-mark::before{content:"";position:absolute;inset:0;border:3px solid #ffffff26;border-top-color:color-mix(in srgb,var(--theme-main,#9a6646) 58%,#fff);border-radius:50%;animation:preview-loader-spin .85s linear infinite}
#preview .preview-loader-mark svg{width:27px;height:27px;fill:none;stroke:currentColor;stroke-width:1.55;stroke-linecap:round;stroke-linejoin:round;opacity:.9}
#preview .preview-frame.is-loading{width:min(92vw,620px);height:min(78dvh,760px);min-height:320px;border-radius:10px;background:linear-gradient(145deg,#263128,#141c16);overflow:visible}
#preview .preview-frame.is-loading .preview-loader{display:flex}
#preview .preview-frame.is-loading>.preview-main{opacity:0}
#preview .preview-frame.is-loading>.preview-under,#preview .preview-frame.is-loading>.preview-caption,#preview .preview-frame.is-loading>.preview-arrow{visibility:hidden}
#preview .preview-frame.is-loading #close-preview{z-index:4}
@keyframes preview-loader-spin{to{transform:rotate(360deg)}}
@media(max-width:600px){#preview .preview-frame.is-loading{width:96vw;height:min(76dvh,660px);min-height:300px}}
@media(prefers-reduced-motion:reduce){#preview .preview-loader-mark::before{animation:preview-loader-pulse 1.4s ease-in-out infinite}@keyframes preview-loader-pulse{50%{opacity:.35}}}
.video-share-dialog{width:calc(100% - 32px);max-width:420px;max-height:85dvh;padding:24px;border:1px solid var(--theme-border,#d8dbce);border-radius:18px;background:var(--theme-bg,#fffefa);color:var(--theme-ink,#303e31);box-shadow:0 16px 55px #0003;overflow:auto}
.video-share-dialog::backdrop{background:#101910a8}
.video-share-dialog h2{margin:0 0 8px;font-size:22px}.video-share-dialog p{margin:0 0 16px;line-height:1.5}.video-share-dialog .video-share-name{font-size:13px;overflow-wrap:anywhere;opacity:.75}.video-share-dialog .video-share-message{font-size:15px}
.video-share-dialog progress{display:block;width:100%;height:6px;margin:0 0 18px;accent-color:var(--theme-main,#303e31)}
.video-share-dialog button,.video-share-dialog .video-share-fallback{display:block;width:100%;min-height:44px;margin:10px 0 0;padding:12px 16px;border-radius:10px;text-align:center;line-height:1.3;font-size:14px}
.video-share-dialog .video-share-confirm{background:var(--theme-main,#303e31);color:#fff;border:1px solid var(--theme-main,#303e31)}.video-share-dialog .video-share-confirm:disabled{opacity:.45;cursor:wait}
.video-share-dialog .video-share-close,.video-share-dialog .video-share-fallback{background:transparent;color:inherit;border:1px solid var(--theme-border,#d8dbce)}
.video-share-dialog [hidden]{display:none!important}
