@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');
.modules{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.module{text-align:left;padding:25px;background:#fff;border-radius:12px;transition:transform .2s,box-shadow .2s}.module:hover{transform:translateY(-3px);box-shadow:0 10px 30px #27382709}.module-icon{font-size:25px;color:#66795a;background:#edf1e7;border-radius:10px;display:inline-grid;place-items:center;width:48px;height:48px}.module h2{font:700 21px Manrope,sans-serif;letter-spacing:-.6px;margin:18px 0 8px}.module p{margin-bottom:24px}.module>div{font-size:11px;color:#617454;border-top:1px solid var(--line);padding-top:17px;display:flex;justify-content:space-between}.see-all{margin-left:auto;font-size:10px;border:0;background:transparent}.demo-note{font-size:10px;margin-top:20px}.settings-panel{max-width:730px;background:white;border:1px solid var(--line);border-radius:12px;padding:25px;margin-top:25px}.settings-panel p{line-height:1.8}.themes{display:flex;gap:12px;margin:22px 0 35px}.themes button{width:130px;padding:20px;display:grid;gap:12px}.themes span{font-size:30px}.themes .chosen{border:2px solid var(--green);background:#edf1e7}a{color:var(--green)}:focus-visible{outline:2px solid #93a47f;outline-offset:3px}[data-theme=dark]{color-scheme:dark;--green:#a7bd99;--ink:#e7e9e1;--muted:#949e8d;--line:#333a31}[data-theme=dark] body{background:#191e1a}[data-theme=dark] aside{background:#1f2620}[data-theme=dark] header,[data-theme=dark] .stat,[data-theme=dark] .module,[data-theme=dark] .album-card,[data-theme=dark] .settings-panel,[data-theme=dark] .duplicate,[data-theme=dark] .search,[data-theme=dark] select,[data-theme=dark] button,[data-theme=dark] dialog{background:#242b24;color:var(--ink)}[data-theme=dark] .primary,[data-theme=dark] #filters button.active{background:#a7bd99;color:#1f2b1b}[data-theme=dark] nav button{background:transparent;color:#b0b9a9}[data-theme=dark] nav button.active,[data-theme=dark] .stat:first-child,[data-theme=dark] .notice,[data-theme=dark] .module-icon,[data-theme=dark] .themes .chosen{background:#313e2e}[data-theme=dark] .stat-icon{background:#3d4936;color:#c0d0ae}[data-theme=dark] .breadcrumb b,[data-theme=dark] .module>div{color:#b4c4a6}[data-theme=dark] .avatar{background:#45523c;border-color:#333d2e}[data-theme=dark] .heart{background:#263322d9}[data-theme=dark] .heart.on{background:#8da279}[data-theme=dark] .place{background:#242c23e8;color:#d8e3d0}[data-theme=dark] .search input{color:#e7e9e1}@media(max-width:700px){.modules{grid-template-columns:1fr}.grid.compact{grid-template-columns:repeat(2,minmax(0,1fr))}.themes{gap:7px}.themes button{padding:15px;width:100px}}
:root{--green:#425b44;--ink:#252c26;--muted:#899087;--line:#e6e9e2}*{box-sizing:border-box}body{margin:0;background:#fafbf8;color:var(--ink);font:14px 'DM Sans',sans-serif}button,input,select{font:inherit}button,a,select{cursor:pointer}button{border:1px solid var(--line);border-radius:8px;background:white;color:var(--ink);padding:10px 15px}button:hover{background:#edf1e9}aside{width:236px;position:fixed;inset:0 auto 0 0;background:#f2f4ee;border-right:1px solid var(--line);padding:37px 22px;display:flex;flex-direction:column}.brand{color:var(--green);font-size:26px;text-decoration:none;letter-spacing:-1px}.brand small{display:block;font-size:8px;letter-spacing:2.3px;margin:10px 0 0 6px}.space{font-size:9px;letter-spacing:1.6px;color:#969d92;margin:55px 12px 17px}nav button{border:0;display:flex;gap:13px;width:100%;background:transparent;text-align:left;padding:13px 14px;margin:4px 0;color:#6c756a}nav button.active{background:#e2e8db;color:var(--green);font-weight:700}nav i{font-style:normal;font-size:19px;width:21px}nav em{font-size:11px;margin-left:auto;font-style:normal;background:#e7eadd;padding:3px 7px;border-radius:5px}.sidebar-bottom{margin-top:auto;padding:15px 10px;color:#64705f;font-size:11px;line-height:1.6}.sidebar-bottom p{font-size:10px;color:#939a8f}.sidebar-bottom button{font-size:10px;padding:6px;background:transparent}.local-dot{display:inline-block;background:#71966a;width:6px;height:6px;border-radius:50%;margin-right:5px}main{margin-left:236px}header{height:80px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 44px;background:#fff}.breadcrumb{font-size:11px;color:#94998f}.breadcrumb span{margin:0 14px;color:#c6cbc1}.breadcrumb b{font-weight:500;color:#535e50}.avatar{border:5px solid #f6f6ee;border-radius:50%;background:#dfdec8;width:36px;height:36px;display:grid;place-items:center;font-size:11px}.content{padding:39px 44px}.heading{display:flex;align-items:center;justify-content:space-between;gap:20px}.eyebrow{font-size:9px;letter-spacing:1.8px;color:#949d8c}h1{font:800 33px Manrope,sans-serif;letter-spacing:-1.2px;margin:10px 0}p{color:#8b9287;font-size:12px}.primary{background:var(--green);color:white;border:0;padding:13px 19px;font-size:12px}.primary:hover{background:#304332}#overview{display:grid;grid-template-columns:1.25fr 1fr 1fr;gap:16px;margin:31px 0}.stat{padding:21px;border:1px solid var(--line);border-radius:11px;background:#fff;display:flex;align-items:center;gap:16px}.stat:first-child{background:#edf1e7}.stat-icon{width:40px;height:40px;border-radius:10px;background:#e5eadf;color:#63755a;display:grid;place-items:center;font-size:21px}.stat strong{font:700 24px Manrope}.stat small{display:block;font-size:11px;color:#92998b;margin-top:5px}.stat .arrow{margin-left:auto;color:#9ba58f}.toolbar{display:flex;gap:10px}.search{display:flex;align-items:center;gap:10px;border:1px solid var(--line);border-radius:8px;padding:0 13px;background:#fff;flex:1;color:#9ba290;font-size:23px}.search input{border:0;outline:none;width:100%;font-size:11px;padding:13px 0;background:transparent}.search kbd{font-size:14px;color:#b1b8a9}select{border:1px solid var(--line);background:white;border-radius:8px;padding:0 12px;font-size:11px;color:#70796a}#filters{display:flex;gap:8px;margin:20px 0 29px;flex-wrap:wrap}#filters button{font-size:10px;padding:7px 13px;border-radius:20px;background:transparent}#filters button.active{background:var(--green);border-color:var(--green);color:white}.section-title{display:flex;align-items:center;gap:12px;margin:24px 0 16px;font-weight:700;font-size:13px}.section-title span{font-size:10px;color:#99a08f;font-weight:400}.grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:22px 17px}.grid.compact{grid-template-columns:repeat(5,minmax(0,1fr))}.photo{min-width:0}.imagebox{position:relative;aspect-ratio:1.17;overflow:hidden;border-radius:9px;background:#e4e7dd;cursor:pointer}.imagebox img{width:100%;height:100%;object-fit:cover;transition:transform .4s}.imagebox:hover img{transform:scale(1.045)}.heart{position:absolute;top:9px;right:9px;border:0;border-radius:50%;padding:6px 8px;background:#ffffffd9;color:#63705c}.heart.on{color:#fff;background:#687e57}.place{position:absolute;bottom:9px;left:9px;background:#ffffffec;padding:5px 8px;border-radius:5px;font-size:9px;color:#4e5d47}.photo h3{font-size:11px;font-weight:500;margin:11px 0 5px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.meta{display:flex;justify-content:space-between;color:#a1a797;font-size:9px}.album-card{background:white;border:1px solid var(--line);padding:13px;border-radius:10px;cursor:pointer}.album-card img{width:100%;height:160px;object-fit:cover;border-radius:7px}.album-card h3{font-size:14px}.empty{padding:60px;text-align:center;color:#86917c;border:1px dashed #cdd4c5;border-radius:12px}.notice{padding:17px 20px;background:#edf1e7;border-radius:8px;font-size:12px;line-height:1.7;margin-bottom:20px}.duplicate{border:1px solid var(--line);background:white;border-radius:12px;padding:20px;margin-bottom:20px}.duplicate .grid{grid-template-columns:repeat(4,1fr)}footer{display:flex;justify-content:space-between;border-top:1px solid var(--line);margin-top:30px;padding-top:19px;font-size:9px;color:#a1a897}dialog{border:0;border-radius:15px;padding:0;max-width:900px;width:90%;background:#fafbf8}dialog::backdrop{background:#182017b8}dialog img{display:block;width:100%;max-height:60vh;object-fit:contain;background:#162016}dialog .info{padding:22px}dialog input{border:1px solid var(--line);border-radius:6px;padding:9px;margin:5px;max-width:95%}dialog .close{position:absolute;right:12px;top:12px}#toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);padding:12px 22px;background:#344931;color:#fff;border-radius:8px;display:none;z-index:10}@media(min-width:1500px){.grid{grid-template-columns:repeat(5,1fr)}}@media(max-width:1000px){aside{width:190px;padding:30px 13px}main{margin-left:190px}.content{padding:30px 24px}.grid{grid-template-columns:repeat(3,1fr)}.stat{padding:15px}.heading h1{font-size:28px}}@media(max-width:700px){aside{position:static;width:100%;padding:16px;border-bottom:1px solid var(--line)}.brand{font-size:22px}.brand small,.space,.sidebar-bottom{display:none}nav{display:flex;overflow:auto;margin-top:10px}nav button{width:auto;white-space:nowrap;padding:9px;font-size:11px}nav i,nav em{display:none}main{margin-left:0}header{display:none}.content{padding:25px 16px}.heading{align-items:flex-start;flex-direction:column}.eyebrow{font-size:8px}#overview{gap:8px}.stat{padding:12px;gap:0}.stat-icon,.arrow{display:none}.stat strong{font-size:21px}.stat small{font-size:9px}.grid,.grid.compact{grid-template-columns:repeat(2,1fr));gap:18px 12px}.grid{grid-template-columns:repeat(2,1fr)}.toolbar select{max-width:110px}.duplicate .grid{grid-template-columns:repeat(2,1fr)}footer span:last-child{display:none}}
[data-theme=dark]{--green:#a7bd99;--ink:#e7e9e1;--muted:#949e8d;--line:#333a31}
.profile-form{display:flex;flex-wrap:wrap;gap:14px;align-items:end}.profile-form label{display:grid;gap:8px;font-size:12px;flex:1}.profile-form input{padding:12px;border:1px solid var(--line);border-radius:8px;background:transparent;color:var(--ink);min-width:170px}.profile-title{display:flex;align-items:center;justify-content:space-between;gap:15px}.profile-title h3{margin:0;font-size:16px}.right-row{display:flex;align-items:center;gap:24px;border-top:1px solid var(--line);padding:16px 0;font-size:12px}.right-row>span{flex:1}.right-row label{white-space:nowrap}.right-row input{accent-color:var(--green)}.role{background:#e5eadf;color:#425b44;padding:8px;border-radius:20px;font-size:10px}.settings-panel{margin-bottom:20px}button:disabled{opacity:.5;cursor:wait}[hidden]{display:none!important}@media(max-width:700px){.right-row{flex-wrap:wrap;gap:12px}.right-row>span{flex-basis:100%}.profile-title{align-items:flex-start;flex-direction:column}}
.map-link{cursor:pointer;text-align:left;text-decoration:underline;text-underline-offset:3px;font-size:11px;line-height:1.5}.imagebox .map-link{font-size:9px;max-width:calc(100% - 18px);white-space:normal;line-height:1.4;text-overflow:ellipsis;max-height:4.5em;overflow:hidden}.imagebox>.place{font-size:9px;max-width:calc(100% - 18px)}.location-link{border:0;padding:0;background:transparent;color:var(--green);font-weight:600}.location-missing{font-size:11px;color:var(--muted)}.photo-location{margin-bottom:18px}.photo-location small{display:block;margin-top:6px;color:var(--muted);font-size:10px}.location-consent{background:#edf1e7;border-radius:8px;padding:14px;margin:18px 0}.location-consent label{font-size:12px;line-height:1.7}.location-consent input{accent-color:var(--green)}.location-consent p{font-size:10px;line-height:1.7;margin:8px 0 0}.map-popup{width:min(880px,94vw);max-width:94vw}.map-head{display:flex;align-items:flex-start;justify-content:space-between;padding:22px 24px;gap:16px}.map-head h2{font:700 22px Manrope,sans-serif;margin:9px 0}.map-head p{margin:0;font-size:11px}.map-popup iframe{width:100%;height:430px;max-height:60vh;border:0;display:block;background:#e5eadf}.map-footer{display:flex;justify-content:space-between;gap:15px;padding:16px 24px;font-size:11px;line-height:1.8}.map-footer span{color:var(--muted)}.map-credit{padding:0 24px 16px;font-size:9px;margin:0;line-height:1.6}[data-theme=dark] .location-consent{background:#313e2e}@media(max-width:700px){.map-head{padding:20px}.map-head h2{font-size:18px}.map-footer{flex-direction:column;padding:16px 20px}}
.photo-navigation{display:flex;align-items:center;justify-content:center;gap:28px;padding:12px 20px;border-bottom:1px solid var(--line)}.photo-navigation>span{font-size:12px;text-align:center;min-width:150px}.photo-navigation small{display:block;font-size:9px;color:var(--muted);margin-top:4px}.photo-navigation button{font-size:20px;padding:5px 16px}.photo-navigation button:disabled{cursor:default;opacity:.3}
.photo-navigation{gap:16px;justify-content:flex-start;flex-wrap:wrap}.photo-navigation>span{min-width:130px}.photo-actions{display:flex;align-items:center;gap:7px;margin-left:auto;padding-left:20px;border-left:1px solid var(--line)}.photo-actions .photo-action{display:grid;place-items:center;padding:8px;width:38px;height:36px;font-size:14px}.photo-actions #delete:hover{color:#b34e42;background:#b34e4210}.photo-actions .photo-action[aria-busy=true] svg{animation:exif-spin 1.2s linear infinite}.photo-actions svg{pointer-events:none}.info>h2{font:700 21px Manrope,sans-serif;margin:0 0 8px;overflow-wrap:anywhere}.info>.photo-location{margin:0 0 16px}.album-edit{display:flex;align-items:center;gap:10px;border-top:1px solid var(--line);padding-top:16px;margin-top:18px}.album-edit label{font-size:11px;color:var(--muted)}.album-edit button{font-size:11px}.album-edit input{font-size:12px}@keyframes exif-spin{to{transform:rotate(360deg)}}@media(max-width:500px){.photo-navigation{gap:9px;padding:10px 12px}.photo-navigation>span{min-width:100px}.photo-navigation small{font-size:8px}.photo-navigation>button{padding:5px 10px}.photo-actions{padding-left:10px;gap:4px}.photo-actions .photo-action{width:31px;height:32px;padding:6px}.album-edit{flex-wrap:wrap}.info>h2{font-size:18px}}
#detail.photo-viewer{border-radius:22px;overflow:hidden;max-height:94vh}#detail.photo-viewer .photo-topbar{padding:20px 64px 16px;text-align:center;border-bottom:1px solid var(--line);background:inherit}#detail.photo-viewer .photo-topbar h2{font:700 20px Manrope,sans-serif;margin:0;overflow-wrap:anywhere;line-height:1.4}#detail.photo-viewer .photo-header-date{font-size:11px;margin:6px 0 0;color:var(--muted)}#detail.photo-viewer>img{max-height:calc(94vh - 180px);width:100%;object-fit:contain;background:#162016}#detail.photo-viewer .photo-navigation{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:16px;padding:14px 20px;border-top:1px solid var(--line);border-bottom:0}#detail.photo-viewer .photo-location{margin:0;min-width:0;font-size:11px;line-height:1.5}#detail.photo-viewer .photo-location .map-link{font-size:11px;max-width:100%;white-space:normal;line-height:1.5}#detail.photo-viewer .photo-paging{display:flex;align-items:center;justify-content:center;gap:15px}#detail.photo-viewer .photo-paging>span{text-align:center;min-width:120px;font-size:12px}#detail.photo-viewer .photo-paging small{display:block;font-size:9px;color:var(--muted);margin-top:4px}#detail.photo-viewer .photo-paging>button{font-size:20px;padding:5px 13px}#detail.photo-viewer .photo-actions{justify-self:end;margin:0;padding:0;border:0;gap:7px}#detail.photo-viewer .close{top:14px;right:14px;padding:7px 12px}@media(max-width:650px){#detail.photo-viewer .photo-topbar{padding:18px 48px 14px}#detail.photo-viewer .photo-topbar h2{font-size:15px}#detail.photo-viewer .photo-navigation{grid-template-columns:minmax(0,1fr) auto;gap:13px;padding:12px 14px}#detail.photo-viewer .photo-location{grid-column:1 / -1}#detail.photo-viewer .photo-paging{justify-self:start;gap:9px}#detail.photo-viewer .photo-paging>span{min-width:90px}#detail.photo-viewer .photo-paging small{font-size:8px}#detail.photo-viewer>img{max-height:calc(94vh - 220px)}}
.map-layout{display:grid;grid-template-columns:minmax(0,1fr) 190px;align-items:stretch}.map-photo-preview{margin:0;padding:18px 15px;border-left:1px solid var(--line);background:#f1f3ed}.map-photo-preview img{width:100%;height:auto;max-height:210px;object-fit:contain;border-radius:8px;background:#e4e8df}.map-photo-preview figcaption{font-size:10px;line-height:1.7;color:var(--muted);margin-top:10px;overflow-wrap:anywhere}[data-theme=dark] .map-photo-preview{background:#20271f}@media(max-width:650px){.map-layout{grid-template-columns:minmax(0,1fr) 120px}.map-photo-preview{padding:12px 9px}.map-photo-preview img{max-height:130px}.map-photo-preview figcaption{font-size:9px}.map-layout iframe{height:330px}}
.photo-actions .is-favorite{color:#a44f61;background:#a44f610d;border-color:#a44f6133}.photo-actions .is-favorite svg{fill:currentColor}[data-theme=dark] .photo-actions .is-favorite{color:#e1a0ad;background:#e1a0ad12}
@media(max-width:650px){#detail.photo-viewer .photo-paging{gap:6px}#detail.photo-viewer .photo-paging>span{min-width:74px;font-size:11px}#detail.photo-viewer .photo-paging>button{padding:4px 8px;width:30px;height:32px;font-size:18px}#detail.photo-viewer .photo-actions{gap:4px}#detail.photo-viewer .photo-actions .photo-action{width:28px;height:32px;padding:5px}}
.map-head{align-items:center}.map-head>div{flex:1;min-width:0}.map-header-preview{margin:0;flex:0 0 104px;width:104px;height:78px}.map-header-preview img{display:block;width:100%;height:100%;max-height:none;object-fit:contain;border-radius:8px;background:#e7ebe2}.map-head h2{overflow-wrap:anywhere}.map-head>#close-map{flex-shrink:0;align-self:flex-start}[data-theme=dark] .map-header-preview img{background:#182017}@media(max-width:650px){.map-head{gap:12px}.map-header-preview{flex-basis:68px;width:68px;height:58px}.map-head h2{font-size:16px}.map-head .eyebrow{font-size:7px;letter-spacing:1px}.map-head p{font-size:9px}}
.photo-location{display:flex;align-items:center;gap:8px}.edit-location{display:inline-grid;place-items:center;flex-shrink:0;padding:5px;border:0;background:transparent;color:var(--green)}.edit-location svg{pointer-events:none}.location-editor{padding:14px 24px;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.location-search-form{display:flex;gap:10px;align-items:end}.location-search-form label{display:grid;flex:1;gap:7px;font-size:11px}.location-search-form input{width:100%;max-width:none;padding:10px;margin:0;color:var(--ink);background:transparent}.location-search-form button{white-space:nowrap}.location-search-note{font-size:9px;line-height:1.6;margin:9px 0}.location-results{display:grid;gap:5px;max-height:140px;overflow:auto}.location-result{text-align:left;font-size:11px;padding:8px 10px}.location-result.selected{background:#e5ecdf;color:#425b44;border-color:#9cb38d}.location-save-row{display:flex;gap:12px;align-items:center;justify-content:space-between;margin-top:8px}.location-edit-status{font-size:10px;line-height:1.6;margin:0}.save-location{font-size:11px;flex-shrink:0}.map-empty{min-height:230px;display:grid;place-items:center;padding:25px;text-align:center;color:var(--muted);background:#edf1e7}.map-popup:has(.location-editor) iframe{height:310px;max-height:40vh}.map-popup:has(.location-editor){max-height:94vh;overflow:auto}.map-popup:has(.location-editor) .map-head{padding-top:16px;padding-bottom:16px}[data-theme=dark] .map-empty,[data-theme=dark] .location-result.selected{background:#313e2e;color:#d3e0ca}@media(max-width:650px){.location-editor{padding:12px 16px}.location-save-row{align-items:flex-start;flex-direction:column}.location-search-form{gap:7px}.location-search-form button{padding:10px;font-size:11px}}
.album-collection{grid-template-columns:repeat(auto-fill,minmax(230px,1fr))}.album-cover-card{padding:0;overflow:hidden;text-align:left;border-radius:12px}.album-cover{position:relative;height:180px;background:#e5eadf;display:grid;place-items:center}.album-cover>span:not(.album-cover-count){font-size:40px;color:#8b9b7d}.album-cover img{width:100%;height:100%;object-fit:cover}.album-cover-count{position:absolute;bottom:12px;left:12px;padding:5px 9px;border-radius:5px;font-size:10px;background:#fffef0eb;color:#34432e}.album-cover-info{padding:18px}.album-cover-info h2{font:700 20px Manrope,sans-serif;margin:0 0 8px}.album-cover-info p{font-size:10px;display:flex;justify-content:space-between;gap:10px;margin:0;line-height:1.6}.album-cover-info p span{color:var(--green)}.day-toolbar{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 0 18px}.day-toolbar button{font-size:10px}.back-link{border:0;background:transparent;color:var(--green);padding:9px 0;font-size:11px}.day-mosaic{display:grid;grid-template-columns:repeat(auto-fill,minmax(235px,1fr));gap:22px 18px;align-items:start}.day-card{background:#fff;border:1px solid var(--line);border-radius:12px;overflow:hidden}.day-open{display:block;width:100%;text-align:left;padding:0;border:0;border-radius:0;background:transparent}.day-cover{height:185px;position:relative;overflow:hidden;background:#e7ebe2}.day-cover img{width:100%;height:100%;object-fit:cover;transition:transform .3s}.day-open:hover img{transform:scale(1.035)}.day-cover>span{position:absolute;bottom:11px;left:11px;right:11px;width:fit-content;padding:5px 8px;background:#fffff1ed;color:#46513d;border-radius:5px;font-size:9px;line-height:1.6}.day-info{padding:18px}.day-info h2{font:700 17px Manrope,sans-serif;line-height:1.5;margin:0 0 7px;overflow-wrap:anywhere}.day-count{font-size:10px;margin:0 0 13px}.day-places{display:grid;gap:6px;font-size:10px;color:#7b886f;line-height:1.6}.day-title-edit{display:block;width:100%;border:0;border-top:1px solid var(--line);border-radius:0;font-size:10px;color:var(--green);background:transparent;text-align:left;padding:12px 18px}#day-title-dialog{width:520px;max-width:92vw}#day-title-dialog .info{padding:32px}#day-title-form label{display:grid;gap:9px;font-size:12px}#day-title-form input{width:100%;max-width:none;margin:0;font-size:13px}#day-title-form p{font-size:10px;line-height:1.7}[data-theme=dark] .day-card{background:#242b24}[data-theme=dark] .day-open,[data-theme=dark] .day-title-edit{background:transparent}[data-theme=dark] .day-places{color:#b1bca6}@media(max-width:650px){.day-mosaic,.album-collection{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.day-cover,.album-cover{height:140px}.day-info,.album-cover-info{padding:13px}.day-info h2{font-size:14px}.album-cover-info h2{font-size:17px}.album-cover-info p{display:block}.album-cover-info p span{display:block;margin-top:5px}.day-title-edit{padding:11px 13px}.day-toolbar{align-items:flex-start;flex-direction:column}.day-cover>span{font-size:8px;left:7px;bottom:7px;right:7px}}

.day-cover>span{z-index:2;display:block!important;opacity:1!important}.day-comment{white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px;line-height:1.7;color:var(--ink);margin:0 0 12px}#day-title-form{display:grid;gap:16px}#day-title-form textarea{width:100%;box-sizing:border-box;resize:vertical;padding:12px;border:1px solid var(--line);border-radius:8px;font:inherit;background:transparent;color:inherit}.album-cover-info h2{display:block!important;color:var(--ink)}

.album-open{display:block;width:100%;padding:0;border:0;border-radius:0;background:transparent;text-align:left}.album-cover-card .album-cover{height:235px}.album-cover-caption{position:absolute;inset:auto 0 0;padding:40px 16px 16px;background:linear-gradient(transparent,rgba(0,0,0,.85));color:white}.album-cover-caption h2{font:700 20px Manrope,sans-serif;margin:0 0 8px;color:white}.album-cover-caption p{font-size:11px;line-height:1.7;margin:4px 0;color:white}.album-comment{white-space:pre-wrap;overflow-wrap:anywhere;padding:16px;font-size:12px;line-height:1.7;margin:0;color:var(--ink)}.album-comment-edit{margin:0 0 18px}.album-comment-dialog{width:520px;max-width:92vw}.album-comment-dialog .info{padding:32px}.album-comment-dialog label{display:grid;gap:10px;font-size:12px}.album-comment-dialog textarea{box-sizing:border-box;width:100%;padding:12px;resize:vertical;border:1px solid var(--line);border-radius:8px;background:transparent;color:inherit;font:inherit}.album-comment-dialog p{font-size:11px;line-height:1.7}[data-theme=dark] .album-open{background:transparent}@media(max-width:650px){.album-cover-card .album-cover{height:210px}.album-cover-caption{padding:35px 11px 11px}.album-cover-caption h2{font-size:17px}.album-cover-caption p{font-size:10px}}

.album-details-band{padding:13px 16px;background:var(--card,#fff);border-top:1px solid var(--line);color:var(--ink)}.album-details-band p{font-size:11px;line-height:1.7;margin:3px 0}.album-cover-caption h2{margin:0}#album-header-comment{padding:0;margin:12px 0;max-width:780px;font-size:13px;line-height:1.8}[data-theme=dark] .album-details-band{background:#242b24}@media(max-width:650px){.album-details-band{padding:11px}.album-details-band p{font-size:10px}}

.video-badge{position:absolute;top:12px;left:12px;background:#172019df;color:white;padding:5px 9px;border-radius:6px;font-size:11px;pointer-events:none}#detail.photo-viewer>video{display:block;width:100%;max-height:calc(94vh - 180px);background:#111;object-fit:contain}.video-playback-note{padding:12px 20px;font-size:12px}.video-playback-note[hidden]{display:none}@media(max-width:650px){#detail.photo-viewer>video{max-height:calc(94vh - 220px)}}

.album-open{display:flex;flex-direction:column;align-items:stretch;height:auto;overflow:hidden}.album-cover-card .album-cover{flex:none;display:block;width:100%;height:235px}.album-cover-card .album-cover>img{display:block;width:100%;height:100%;object-fit:cover}.album-cover-card .album-details-band{position:static;display:block;width:100%;box-sizing:border-box;flex:none;background:#fff;color:var(--ink);text-align:left}.album-cover-card .album-details-band p{color:var(--ink)}.album-heading-actions{display:flex;align-items:center;gap:9px;flex-wrap:wrap;justify-content:flex-end}.album-comment-icon{display:inline-grid;place-items:center;padding:12px;line-height:1}.album-heading-actions button{white-space:nowrap}[data-theme=dark] .album-cover-card .album-details-band{background:#242b24}@media(max-width:650px){.album-cover-card .album-cover{height:210px}.album-heading-actions{justify-content:flex-start}}

/* Album and day bands share the chosen sage palette. */
:root{--souvenir-band:#dce5d6;--souvenir-band-ink:#30432f}[data-theme=dark]{--souvenir-band:#3d503d;--souvenir-band-ink:#e8efdf}.album-cover-card .album-details-band,[data-theme=dark] .album-cover-card .album-details-band{background:var(--souvenir-band);color:var(--souvenir-band-ink)}.album-cover-card .album-details-band p{color:inherit}.day-mosaic{align-items:stretch}.day-card{height:420px;display:flex;flex-direction:column;min-width:0;box-sizing:border-box}.day-card .day-open{display:flex;flex-direction:column;flex:1;min-height:0;overflow:hidden}.day-card .day-cover{flex:none;height:215px;width:100%;box-sizing:border-box}.day-date-band{position:absolute;z-index:2;bottom:0;left:0;right:0;background:var(--souvenir-band);color:var(--souvenir-band-ink);padding:9px 12px;line-height:1.6;text-align:left}.day-date-label{font-size:10px;display:block}.day-band-counts{display:flex;flex-wrap:wrap;gap:4px 12px;margin-top:4px;font-size:10px}.day-band-counts>span{display:inline-flex;align-items:center;gap:5px;white-space:nowrap}.day-band-counts svg{flex:none}.day-card .day-info{flex:1;min-height:0;overflow:auto;width:100%;box-sizing:border-box;scrollbar-width:thin}.day-card .day-title-edit{flex:none;height:42px;box-sizing:border-box}.day-toolbar:empty{display:none}@media(max-width:650px){.day-card{height:390px}.day-card .day-cover{height:190px}.day-date-band{padding:7px 9px}.day-band-counts{gap:3px 8px;font-size:9px}.day-date-label{font-size:9px}.day-band-counts svg{width:12px;height:12px}}

.day-title-band{flex:none;height:60px;box-sizing:border-box;display:flex;align-items:center;gap:8px;padding:10px 12px;background:var(--souvenir-band);color:var(--souvenir-band-ink);border-bottom:1px solid var(--line)}.day-title-band h2{flex:1;min-width:0;margin:0;font:700 15px Manrope,sans-serif;line-height:1.35}.day-title-band h2 button{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;text-align:left;width:100%;padding:0;border:0;border-radius:0;font:inherit;line-height:inherit;color:inherit;background:transparent}.day-title-band .day-edit-icon{flex:none;display:grid;place-items:center;width:30px;height:30px;padding:5px;border:0;background:transparent;color:inherit}.day-title-band .day-edit-icon:hover{background:#30432f14}.day-card .day-cover{height:215px}.day-card .day-info{padding:14px 16px}#day-header-comment{margin:12px 0;max-width:780px;font-size:13px;line-height:1.8}[data-theme=dark] .day-title-band button{background:transparent;color:inherit}@media(max-width:650px){.day-title-band{padding:8px 10px;height:60px}.day-title-band h2{font-size:13px}.day-card .day-cover{height:190px}.day-card .day-info{padding:12px}}

#overview[hidden]{display:none}.day-card{height:327px}.day-card .day-info{flex:none;height:50px;display:flex;align-items:center;padding:10px 14px;overflow:hidden}.day-card .day-places{width:100%;display:block;min-width:0}.day-card .day-places>span{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}@media(max-width:650px){.day-card{height:302px}.day-card .day-info{height:50px;padding:9px 11px}}

.day-title-band h2 button,[data-theme=dark] .day-title-band h2 button{color:var(--green)}.day-band-counts{column-gap:9px}.people-dialog{width:560px;max-width:92vw}.people-dialog .info{padding:30px}.people-dialog h2{font-size:20px}.people-dialog p{font-size:12px;line-height:1.7}.people-tags{display:flex;gap:8px;flex-wrap:wrap;margin:20px 0}.people-tags>span{display:inline-flex;align-items:center;gap:8px;padding:7px 10px;border-radius:20px;background:var(--souvenir-band);color:var(--souvenir-band-ink);font-size:12px}.people-tags button{border:0;background:transparent;color:inherit;padding:2px 4px}.person-add-form{display:flex;align-items:end;gap:9px}.person-add-form label{flex:1;display:grid;gap:8px;font-size:12px}.person-add-form input{box-sizing:border-box;width:100%;max-width:none;margin:0}.photo-people-label{font-size:11px;line-height:1.6;margin:8px 0 0;color:var(--green)}.person-card{padding:0;text-align:left;overflow:hidden;border-radius:12px}.person-card img{display:block;width:100%;height:190px;object-fit:cover}.person-card>div{padding:16px;background:var(--souvenir-band);color:var(--souvenir-band-ink)}.person-card h2{margin:0 0 6px;font-size:17px;overflow-wrap:anywhere}.person-card p{margin:0;font-size:12px}#library-date-form{display:flex;align-items:end;gap:10px;flex-wrap:wrap}#library-date-form label{display:grid;gap:8px;font-size:12px}#library-date-form input{margin:0;max-width:none}@media(max-width:650px){.photo-actions{flex-wrap:wrap}.person-add-form{align-items:stretch;flex-direction:column}.person-card img{height:140px}}

.album-comment-dialog form{display:grid;gap:16px}.album-comment-dialog input{box-sizing:border-box;width:100%;max-width:none;margin:0}

#detail .photo-location .photo-people-label{margin:0 0 5px;color:var(--green);font-size:11px;line-height:1.5}.people-preview-label{position:absolute;bottom:42px;left:10px;right:10px;z-index:2;max-width:calc(100% - 20px);padding:5px 8px;box-sizing:border-box;background:#fffef0eb;border-radius:5px;font-size:10px;line-height:1.5;color:#30432f;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;pointer-events:none}[data-theme=dark] .people-preview-label{background:#242c23eb;color:#d8e3d0}

.album-title-map{display:inline-grid;place-items:center;vertical-align:middle;margin-left:12px;padding:7px;border:0;background:transparent;color:var(--green);border-radius:7px}.album-map-dialog{width:960px;max-width:94vw;padding:0;border-radius:20px;overflow:hidden}.album-map-head{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:20px 24px;border-bottom:1px solid var(--line)}.album-map-head h2{margin:5px 0;font:700 23px Manrope,sans-serif}.album-map-head p,.album-map-status{font-size:11px;line-height:1.7}.album-map-canvas{height:55vh;min-height:280px;max-height:560px;width:100%;background:#e6eadd}.album-map-status{padding:10px 24px;margin:0}.album-map-dialog .map-credit{margin:0;padding:0 24px 16px}.album-pin-popup{max-width:210px;color:#263a2c;font-family:Manrope,sans-serif}.album-pin-popup img{display:block;width:180px;height:110px;object-fit:cover;margin-bottom:10px;border-radius:7px}.album-pin-popup strong{display:block;font-size:12px;line-height:1.5}.album-pin-popup p{font-size:11px}.album-pin-popup button{font-size:11px;padding:7px 9px;color:#30432f;background:#dce5d6}[data-theme=dark] .album-title-map{background:transparent;color:var(--green)}@media(max-width:650px){.album-map-head{padding:16px}.album-map-head h2{font-size:19px}.album-map-canvas{height:50vh}.album-title-map{margin-left:7px;padding:6px}}

#detail .photo-location .photo-people-label{display:block}

.day-title-band{background:var(--green);color:#fff}.day-title-band h2 button,.day-title-band .day-edit-icon{color:inherit}.day-title-band .day-edit-icon:hover{background:#ffffff20}[data-theme=dark] .day-title-band{background:var(--green);color:#1f2b1b}[data-theme=dark] .day-title-band h2 button,[data-theme=dark] .day-title-band .day-edit-icon{color:inherit}

.souvenir-map-marker,.leaflet-marker-icon.souvenir-map-marker{background:transparent!important;border:0!important;box-shadow:none!important}.souvenir-map-marker svg{display:block;background:transparent}.day-title-band .day-map-icon{flex:none;display:grid;place-items:center;width:30px;height:30px;padding:5px;border:0;background:transparent;color:inherit}.day-title-band .day-map-icon:hover{background:#ffffff20}[data-theme=dark] .day-title-band .day-map-icon{background:transparent;color:inherit}.album-pin-popup{max-height:330px;overflow-y:auto}.album-pin-photo+.album-pin-photo{border-top:1px solid #dce5d6;margin-top:12px;padding-top:12px}

.day-card .day-cover{height:auto;min-height:0;flex:1}.day-card .day-date-band{position:static;flex:none;box-sizing:border-box;min-height:90px;width:100%}.day-band-separator{border:0;border-top:1px solid #fff;margin:8px 6px}.day-date-band .day-band-location{display:block;font-size:10px;line-height:1.6;color:var(--souvenir-band-ink);min-width:0}.day-band-location>span{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}[data-theme=dark] .day-date-band .day-band-location{color:var(--souvenir-band-ink)}@media(max-width:650px){.day-card .day-cover{height:auto;flex:1}.day-card .day-date-band{min-height:100px}.day-date-band .day-band-location{font-size:9px}}

.album-collection{grid-template-columns:repeat(auto-fill,minmax(235px,1fr))}.album-cover-card{display:flex;flex-direction:column;height:327px;box-sizing:border-box;border:1px solid var(--line);background:#fff}.album-cover-card .album-open{flex:1;min-height:0}.album-cover-card .album-cover{height:auto;flex:1;min-height:0}.album-cover-card .album-details-band{flex:none;height:90px;box-sizing:border-box;padding:9px 12px;display:flex;flex-direction:column;justify-content:center}.album-cover-card .album-details-band p{font-size:10px;line-height:1.6;margin:0 0 4px}.album-cover-card .album-band-counts{margin-top:0;font-size:10px}.album-tile-title-band{width:100%}[data-theme=dark] .album-cover-card{background:#242b24}@media(max-width:650px){.album-collection{grid-template-columns:repeat(2,minmax(0,1fr))}.album-cover-card{height:302px}.album-cover-card .album-cover{height:auto;flex:1}.album-cover-card .album-details-band{height:100px;padding:7px 9px}.album-cover-card .album-details-band p,.album-cover-card .album-band-counts{font-size:9px}}

.day-date-band .day-band-location{display:flex;align-items:center;gap:8px}.day-band-location>span{flex:1;min-width:0}.day-band-location .day-location-map{flex:none;display:grid;place-items:center;width:24px;height:24px;border:0;padding:2px;background:transparent;color:inherit}.day-location-map svg{width:18px;height:18px}[data-theme=dark] .day-band-location .day-location-map{background:transparent;color:inherit}

/* People and place occupy separate rows; the location pencil stays beside the place. */
#detail.photo-viewer .photo-location{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:4px 8px}#detail.photo-viewer .photo-location .photo-people-label{grid-column:1 / -1;min-width:0;margin:0 0 2px;white-space:normal;overflow-wrap:anywhere;line-height:1.55}#detail.photo-viewer .photo-location>.map-link,#detail.photo-viewer .photo-location>.location-missing{grid-column:1;min-width:0;white-space:normal;overflow-wrap:anywhere;line-height:1.55}#detail.photo-viewer .photo-location>.edit-location{grid-column:2;justify-self:end;align-self:center}#detail.photo-viewer{overflow-y:auto}.person-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.person-toolbar>button{font-size:11px}.person-tile{border:1px solid var(--line);border-radius:12px;overflow:hidden;background:#fff}.person-tile .person-card{display:block;width:100%;border:0;border-radius:0}.person-cover-edit{display:block;width:100%;border:0;border-radius:0;border-top:1px solid var(--line);padding:12px 16px;text-align:left;font-size:11px;background:transparent;color:var(--green)}.person-cover-dialog{width:780px;max-width:94vw;max-height:90vh}.person-cover-dialog .info{padding:30px}.person-cover-dialog h2{font-size:21px}.person-cover-dialog p{font-size:12px;line-height:1.7}.person-cover-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:14px;margin-top:18px}.person-cover-grid button{padding:0;overflow:hidden;text-align:left;border-radius:9px}.person-cover-grid img{display:block;width:100%;height:135px;object-fit:cover}.person-cover-grid span{display:block;padding:9px;font-size:11px}.person-cover-grid .selected{outline:2px solid var(--green);outline-offset:2px}[data-theme=dark] .person-tile{background:#242b24}[data-theme=dark] .person-cover-edit{background:transparent}@media(max-width:650px){.person-toolbar{align-items:flex-start;flex-direction:column}.person-cover-dialog .info{padding:24px 18px}.person-cover-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
/* Near full viewport preview, retaining a visible outer margin. */
#detail.photo-viewer{box-sizing:border-box;width:calc(100vw - 24px);max-width:calc(100vw - 24px);height:calc(100vh - 24px);height:calc(100dvh - 24px);max-height:calc(100dvh - 24px);padding:0;overflow:hidden;margin:auto}
#detail.photo-viewer[open]{display:grid;grid-template-rows:auto minmax(0,1fr) auto}
#detail.photo-viewer .photo-topbar{grid-row:1;min-width:0}
#detail.photo-viewer>img,#detail.photo-viewer>video{grid-row:2;grid-column:1;width:100%;height:100%;min-height:0;max-height:none;object-fit:contain}
#detail.photo-viewer .photo-navigation{grid-row:3;max-height:32dvh;overflow:auto;box-sizing:border-box}
#detail.photo-viewer .video-playback-note{grid-row:2;grid-column:1;align-self:end;background:var(--bg);z-index:1}
.person-card .person-avatar-window{display:block;position:relative;width:100%;aspect-ratio:1;overflow:hidden;padding:0}
.person-card .person-avatar-window img{position:absolute;display:block;width:100%;height:100%;left:0;top:0;max-width:none;object-fit:cover}
.person-crop-dialog{width:560px;max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px);box-sizing:border-box;overflow:auto}
.person-crop-dialog .info{padding:28px}.person-crop-dialog h2{font-size:20px;padding-right:24px}.person-crop-dialog p{font-size:12px;line-height:1.6}
.avatar-crop-frame{position:relative;width:min(100%,340px);aspect-ratio:1;margin:18px auto;overflow:hidden;background:#172019;touch-action:none;cursor:grab;border-radius:10px;outline:2px solid var(--green);outline-offset:3px}.avatar-crop-frame:active{cursor:grabbing}.avatar-crop-frame img{position:absolute;max-width:none;object-fit:fill;pointer-events:none;user-select:none}.avatar-crop-frame:after{content:'';position:absolute;inset:0;border-radius:50%;box-shadow:0 0 0 100px #0003;pointer-events:none}.avatar-zoom{display:grid;gap:10px;font-size:12px}.avatar-zoom input{width:100%;max-width:none;margin:0;accent-color:var(--green)}.avatar-crop-actions{display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-end;margin-top:20px}.avatar-crop-actions button{font-size:11px}
@media(max-width:650px){#detail.photo-viewer{width:calc(100vw - 12px);max-width:calc(100vw - 12px);height:calc(100dvh - 12px);max-height:calc(100dvh - 12px);border-radius:16px}#detail.photo-viewer .photo-navigation{max-height:40dvh}.person-crop-dialog .info{padding:22px 18px}}
.move-day-button{font-size:11px;padding:7px 10px;margin-top:8px}.day-date-band>.move-day-button{align-self:flex-start;border-color:transparent;background:#ffffff55;color:var(--souvenir-band-ink)}.album-comment-dialog select{width:100%;margin:8px 0;box-sizing:border-box}.album-comment-dialog p{font-size:12px;line-height:1.7}
#detail.photo-viewer .photo-location{justify-items:start;text-align:left;padding-left:0;text-indent:0}#detail.photo-viewer .photo-location .photo-people-label,#detail.photo-viewer .photo-location>.map-link,#detail.photo-viewer .photo-location>.location-missing{display:flex;align-items:flex-start;gap:7px;justify-content:flex-start;text-align:left;text-indent:0;padding:0;margin-left:0;border:0;background:transparent;box-sizing:border-box}#detail.photo-viewer .photo-location svg{flex:0 0 19px;width:19px;height:19px}#detail.photo-viewer .photo-location span{min-width:0}
.avatar-crop-frame img{height:auto!important;max-height:none!important;min-height:0;aspect-ratio:auto}.person-card .person-avatar-window img[style]{height:auto!important;max-height:none!important}.people-tags .person-avatar-action{display:inline-flex;align-items:center;justify-content:center;padding:3px}.people-tags .person-avatar-action svg{pointer-events:none}
.organiser-days{margin:0 0 26px}.organiser-day{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 0;border-bottom:1px solid var(--line)}.organiser-day>button:first-child{background:transparent;border:0;text-align:left;padding-left:0;font-size:12px}.organiser-day .move-day-button{margin:0;flex-shrink:0}nav i{display:inline-flex;align-items:center;justify-content:center}nav i svg{flex-shrink:0}@media(min-width:901px){aside #nav{flex:1;display:flex;flex-direction:column;min-height:0}aside #nav>[data-nav=settings]{margin-top:auto}aside .sidebar-bottom{margin-top:0}}@media(max-width:650px){.organiser-day{align-items:flex-start;flex-direction:column}}
#body .photo{position:relative}.organise-rename{position:absolute;right:8px;top:8px;display:grid;place-items:center;width:32px;height:32px;padding:6px;background:#ffffffec;color:#425b44;box-shadow:0 2px 7px #0002}.storage-path-preview{display:block;font-size:11px;overflow-wrap:anywhere;background:var(--souvenir-band);color:var(--souvenir-band-ink);padding:12px;border-radius:7px;margin-bottom:18px}.filename-date-helper{display:flex;gap:10px;align-items:end;flex-wrap:wrap}.filename-date-helper label{flex:1}.filename-date-helper button{font-size:11px}.rename-photo-dialog{max-height:calc(100dvh - 24px);overflow:auto}.rename-photo-dialog input{max-width:none;width:100%}
.organiser-create-album{margin-bottom:20px}.organise-rename svg{pointer-events:none}
.organiser-day-thumbs{display:flex;gap:5px;flex-shrink:0}.organiser-day-thumbs img{width:48px;height:38px;object-fit:cover;border-radius:5px}.organiser-day>button:first-of-type{flex:1;text-align:left}.person-card p{display:flex;align-items:center;flex-wrap:wrap;gap:9px}.person-card p span{display:inline-flex;align-items:center;gap:5px}.person-card p svg{width:14px;height:14px}.people-dialog label{display:grid;gap:7px;margin-bottom:14px;font-size:12px}.people-dialog input{width:100%;max-width:none;margin:0}.people-dialog li{padding:7px 0;font-size:13px}.photo-people-label[role=button]{cursor:pointer}.photo-people-label[role=button]:focus-visible{outline:2px solid var(--green);outline-offset:3px}.album-dialog-content .right-row{grid-template-columns:minmax(0,1fr) auto auto;padding:12px 0}.album-dialog-content .right-row small{display:block;font-size:10px;color:var(--muted)}.album-share-add{margin-top:24px}.album-security-dialog{max-height:calc(100dvh - 24px);overflow:auto}.album-cover{position:relative}.locked-cover{filter:blur(3px);background:#65735d}.locked-cover-badge{position:absolute;inset:0;display:grid;place-items:center;background:#22302255;color:#fff}.locked-cover-badge svg{width:36px;height:36px}.album-locked .album-details-band{min-height:90px}#detail.photo-viewer .photo-topbar{background:var(--green);color:#fff}#detail.photo-viewer .photo-topbar h2,#detail.photo-viewer .photo-header-date{color:inherit}#detail.photo-viewer .photo-navigation{background:var(--souvenir-band);color:var(--souvenir-band-ink)}#detail.photo-viewer .photo-navigation .photo-location,#detail.photo-viewer .photo-navigation .photo-location .map-link,#detail.photo-viewer .photo-navigation .photo-people-label{color:inherit}[data-theme=dark] #detail.photo-viewer .photo-topbar{color:#1f2b1b}
@media(max-width:420px){#detail.photo-viewer .photo-navigation{grid-template-columns:minmax(0,1fr)}#detail.photo-viewer .photo-paging,#detail.photo-viewer .photo-actions{justify-self:center}#detail.photo-viewer .photo-actions{justify-content:center;max-width:100%;flex-wrap:wrap}.organiser-day-thumbs img{width:42px;height:34px}}
.album-card h3{display:flex;align-items:center;gap:7px}.album-card h3 svg{flex-shrink:0}.person-card p>span:first-child{display:inline-flex;align-items:center;gap:5px}

/* Compact title and album details bands, with room for two-line titles. */
.day-title-band{height:44px;padding:4px 12px}.day-card{height:311px}.album-cover-card{height:285px}.album-cover-card .album-details-band{height:64px;padding:6px 12px}.album-locked .album-details-band{min-height:64px}.person-card .person-birth-date{display:block;font-size:11px;line-height:1.5;margin:0 0 7px;overflow-wrap:anywhere}
@media(max-width:650px){.day-title-band{height:44px;padding:4px 10px}.day-card{height:286px}.album-cover-card{height:264px}.album-cover-card .album-details-band{height:78px;padding:6px 9px}.album-locked .album-details-band{min-height:78px}.person-card .person-birth-date{font-size:10px}}

.organiser-day [data-organiser-day]{display:flex;align-items:center;gap:12px;min-width:0;padding:7px 12px}.organiser-day [data-organiser-day] .organiser-day-thumbs{flex-wrap:wrap}.birth-fields{display:grid;grid-template-columns:1fr 1.5fr 1.2fr;gap:12px;border:0;padding:0;margin:0 0 16px;min-width:0}.birth-fields legend{font-size:12px;margin-bottom:10px}.birth-fields label{min-width:0}.birth-fields input,.birth-fields select{box-sizing:border-box;width:100%;min-width:0}.album-heading-actions #edit-person-details,.album-heading-actions .move-day-button{display:grid;place-items:center;padding:11px}.album-heading-actions svg{pointer-events:none}@media(max-width:650px){.organiser-day [data-organiser-day]{flex-wrap:wrap}.birth-fields{gap:8px}}

#all-albums{background:var(--green);border-color:var(--green);color:#fff}[data-theme=dark] #all-albums{color:#1f2b1b}.day-card .day-title-band h2{font-size:14px}#recover-exif-dates{margin-left:9px;margin-bottom:18px}@media(max-width:650px){.day-card .day-title-band h2{font-size:12px}}

.protection-title-band{display:flex;align-items:center;justify-content:space-between;gap:16px;padding-right:32px;margin-bottom:16px}.protection-title-band h2{margin:0}.protection-title-band .remove-album-lock{display:grid;place-items:center;flex:none;padding:9px}.duplicate-group{border-bottom:1px solid var(--line);padding:12px 0}.duplicate-group h3{font-size:14px}

.organiser-day [data-organiser-day]{overflow:hidden;flex-wrap:nowrap}.organiser-day-label{flex:none;white-space:nowrap}.organiser-day [data-organiser-day] .organiser-day-thumbs{display:flex;flex:1;min-width:0;flex-wrap:nowrap;overflow:hidden;height:38px}.organiser-day-thumbs img{flex:none}.person-tile,[data-theme=dark] .person-tile{background:var(--souvenir-band)}.person-tile .person-card{display:flex;flex-direction:column;height:100%}.person-card .person-avatar-window{flex:none}.person-card>div{flex:1;width:100%;box-sizing:border-box}@media(max-width:650px){.organiser-day [data-organiser-day]{flex-wrap:nowrap;gap:8px}.organiser-day-label{font-size:10px}.organiser-day [data-organiser-day] .organiser-day-thumbs{height:32px}.organiser-day-thumbs img{width:40px;height:32px}}

.album-card.place-cover-tile{padding:0;overflow:hidden;display:flex;flex-direction:column;border-radius:12px}.place-cover-tile .place-title-band{height:44px}.place-cover-tile .place-title-band h2{font-size:14px;margin:0;line-height:1.35}.album-card.place-cover-tile>img{width:100%;height:180px;border-radius:0;object-fit:cover;margin:0}.place-details-band{background:var(--souvenir-band);color:var(--souvenir-band-ink);padding:10px 12px;flex:1;min-height:68px;box-sizing:border-box}.place-details-band p{margin:0;font-size:11px;line-height:1.5;color:inherit}.place-details-band .place-media-count{display:flex;align-items:center;gap:6px;margin-top:6px}.organiser-day>.move-day-button{display:grid;place-items:center;padding:9px;flex:none}.organiser-day>.move-day-button svg{pointer-events:none}#organiser-duplicates{display:inline-flex;align-items:center;gap:6px}#delete-empty-album{display:grid;place-items:center}.organiser-duplicate-group{margin:18px 0 30px}.duplicate-highlight{padding:5px;border:2px solid #a78e4e;border-radius:12px;background:var(--souvenir-band)}.duplicate-highlight>.photo{margin:0}.duplicate-highlight>p{font-size:10px;overflow-wrap:anywhere;padding:4px;margin:0;color:var(--souvenir-band-ink)}@media(max-width:650px){.album-card.place-cover-tile>img{height:140px}.place-cover-tile .place-title-band h2{font-size:12px}}

.place-title-band h2{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}

.person-card>.person-title-band{height:44px;flex:none;padding:5px 12px;background:var(--green);color:#fff}.person-card>.person-title-band h2{margin:0;font-size:14px;line-height:1.35;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.person-card>div:not(.person-title-band){padding:12px 16px}[data-theme=dark] .person-card>.person-title-band{color:#1f2b1b}.person-add-form{align-items:end}.people-dialog .person-add-form label{margin-bottom:0}.people-dialog .person-add-form input{margin:0;height:40px;box-sizing:border-box}.person-add-button{height:40px;width:40px;flex:none;padding:0;font-size:24px;display:grid;place-items:center;line-height:1}.duplicate-warning{display:inline-flex;align-items:center;gap:7px;padding:8px 11px;border:1px solid #b59c5e;border-radius:20px;background:#fff2ca;color:#665018;font-size:11px}.duplicate-warning svg{flex:none}.photo.has-duplicate{position:relative;outline:2px solid #ad9148;outline-offset:-2px}.photo-duplicate-badge{position:absolute;left:8px;top:8px;display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:#fff2ca;color:#665018;z-index:2;pointer-events:none}.photo-duplicate-badge svg{width:17px;height:17px}@media(max-width:650px){.person-card>.person-title-band h2{font-size:12px}.person-add-form{flex-direction:row;align-items:end}.person-add-form label{min-width:0}.person-add-button{align-self:end}}

.duplicate-tool-button{display:grid;place-items:center;padding:11px;color:#b33d32}.duplicate-tool-button svg{width:20px;height:20px}.duplicate-compare-dialog{width:1100px;max-width:95vw;max-height:92dvh;overflow:auto}.duplicate-compare-group{border-top:1px solid var(--line);padding:18px 0}.duplicate-compare-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:15px;margin:16px 0}.duplicate-choice{display:flex!important;flex-direction:column;border:2px solid var(--line);border-radius:10px;overflow:hidden;padding:10px;gap:8px!important}.duplicate-choice:has(input:checked){border-color:var(--green);background:var(--souvenir-band);color:var(--souvenir-band-ink)}.duplicate-choice img{height:180px;width:100%;object-fit:contain;background:#202920}.duplicate-choice input{width:auto!important;margin:0 5px 0 0!important}.duplicate-choice small{font-size:11px;overflow-wrap:anywhere}.duplicate-choice p{margin:0;white-space:pre-wrap}.place-title-band>svg{width:17px;height:17px;flex:none}.header-return{padding:11px 16px!important}.local-auth main{margin:8vh auto;padding:30px;max-width:460px;background:var(--souvenir-band);border-radius:14px}.local-auth label{display:grid;gap:7px;margin:16px 0;font-size:13px}.local-auth input{padding:11px;border:1px solid var(--line);border-radius:6px;min-width:0}.local-auth h1{font-size:28px;color:var(--green)}.local-auth h2{font-size:19px}#recover-exif-dates{margin:0}.album-heading-actions .organiser-create-album{margin:0}

#local-account-form,#local-password-form{display:grid;gap:14px;max-width:520px}#local-account-form label,#local-password-form label{display:grid;gap:7px;font-size:12px}#local-account-form input,#local-account-form select,#local-password-form input{width:100%;box-sizing:border-box;margin:0;padding:10px;border:1px solid var(--line);border-radius:6px;background:var(--card,#fff);color:var(--ink)}
/* Consistent module tools, selection controls and branded confirmation. */
.album-heading-actions>button{height:42px;min-height:42px;box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;gap:7px;white-space:nowrap;margin:0}
.album-heading-actions .module-map-tool{padding:10px;vertical-align:initial}
.person-birth-date{display:flex;align-items:center;gap:6px}.person-birth-date svg{width:16px;height:16px;flex:none}
.place-heading-department{font-size:14px;margin:7px 0;color:var(--muted)}
.media-selection-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:9px;margin:16px 0}.media-selection-toolbar button{min-height:40px;display:inline-flex;align-items:center;justify-content:center}.selection-count{font-size:12px;color:var(--muted)}
.photo{position:relative}.media-select-box{position:absolute;top:9px;right:9px;z-index:4;background:var(--souvenir-band,#dce5d6);border-radius:7px;padding:6px;display:flex;cursor:pointer}.media-select-box input{width:20px;height:20px;margin:0;accent-color:var(--green,#425b44)}.media-selected{outline:3px solid var(--green,#425b44);outline-offset:3px;border-radius:9px}
.organiser-day>.delete-inbox-day{flex:0 0 40px;width:40px;height:40px;padding:9px;color:#a23b32}.organiser-day>.move-day-button{flex-shrink:0}
dialog.picador-confirm{width:min(480px,92vw);padding:0;border-radius:13px;overflow:hidden}dialog.picador-confirm>.close{top:12px;right:12px}dialog.picador-confirm>.info{padding:0}dialog.picador-confirm h2{margin:0;background:var(--green,#425b44);color:#fff;padding:22px 60px 22px 24px;font-size:20px}dialog.picador-confirm .album-dialog-content>p{padding:0 24px;margin:22px 0;font-size:14px;line-height:1.6}dialog.picador-confirm figure{margin:20px 24px;display:flex;align-items:center;gap:14px}dialog.picador-confirm figure img{width:90px;height:75px;object-fit:cover;border-radius:8px}dialog.picador-confirm figcaption{overflow-wrap:anywhere;font-size:13px}.confirmation-actions{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:10px;background:var(--souvenir-band,#dce5d6);padding:18px 24px}dialog.picador-confirm .album-dialog-status:empty{display:none}
.photo-header-comment{margin:5px auto 0;max-width:900px;padding:0 48px;font-size:13px;line-height:1.4;color:inherit;white-space:normal;overflow-wrap:anywhere}
@media(max-width:600px){.album-heading-actions{gap:6px}.photo-header-comment{padding:0 15px}.organiser-day{gap:7px}.confirmation-actions{padding:15px}}

.photo-actions>button.photo-action{height:38px;min-height:38px;width:38px;min-width:38px;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;padding:8px}

.day-card .day-heading-copy{flex:1;min-width:0}.day-card .day-heading-copy h2{margin:0}.day-card .day-title-band{height:auto;min-height:44px}.day-card .day-title-band .day-date-label{font-weight:400;line-height:1.6;margin-top:2px;color:inherit}

.person-card .person-birth-date{display:flex;align-items:center;gap:7px}.person-card .person-birth-date svg{display:block;flex:none;margin:0}.album-heading-actions .module-map-tool{width:44px;padding:10px;border:1px solid var(--line);border-radius:6px;background:var(--card,#fff);color:var(--ink)}.album-heading-actions .header-return,.album-heading-actions #all-albums{order:999}[data-theme=dark] .album-heading-actions .module-map-tool{background:#242b24;color:var(--ink)}

.photo-people-badge{position:absolute;bottom:9px;right:9px;z-index:3;display:grid;place-items:center;width:29px;height:29px;border-radius:6px;background:var(--souvenir-band);color:var(--souvenir-band-ink);pointer-events:none;box-shadow:0 1px 4px #0002}.photo-people-badge svg{width:18px;height:18px}.add-missing-location{display:inline-flex;align-items:center;gap:6px;padding:0;border:0;background:transparent;color:inherit;text-decoration:underline;cursor:pointer}.person-add-form select{width:100%;height:40px;min-width:0;box-sizing:border-box;margin:0}.person-add-form label{min-width:0}

.person-toolbar:empty{display:none}.map-head .map-edit-location{flex:none;display:grid;place-items:center;width:40px;height:40px;padding:9px}.map-head .map-edit-location svg{pointer-events:none}

.map-head>#close-map{align-self:center;flex:none;width:40px;height:40px;box-sizing:border-box;padding:9px}.map-head>.map-edit-location{align-self:center;box-sizing:border-box}dialog button.close,dialog button[id^="close"],dialog button[aria-label^="Fermer"]{background:#425b44!important;border-color:#425b44!important;color:#fff!important}dialog button.close:hover,dialog button[id^="close"]:hover,dialog button[aria-label^="Fermer"]:hover{background:#344b36!important}

.module-toolbar>button,.album-heading-actions>button{height:42px;min-height:42px;max-height:42px;box-sizing:border-box;align-self:center;line-height:1.2;flex-shrink:0}

.album-cover,.day-cover{position:relative}.cover-scrub-count{position:absolute;bottom:8px;right:8px;z-index:4;padding:4px 7px;border-radius:5px;background:#263b2ddd;color:#fff;font-size:11px;line-height:1.2;pointer-events:none}

.album-cover>span.cover-scrub-count,.day-cover>span.cover-scrub-count{left:auto;right:8px;bottom:8px;font-size:11px;color:#fff;line-height:1.2;padding:4px 7px}

.delete-media-selection{color:#b33d32}
.album-symbol-button{display:inline-flex;align-items:center;justify-content:center;gap:7px}.album-symbol-button svg{flex:none}.stat-icon svg,.module-icon svg{width:20px;height:20px}
.day-card{height:auto;min-height:300px}.day-card .day-open{flex:none}.day-card .day-cover{height:180px;flex:none}.day-card .day-date-band{min-height:0;padding:12px;display:grid;grid-template-rows:auto 1px auto;row-gap:10px;flex:1;align-content:center}.day-card .day-band-counts{margin:0;gap:6px 10px}.day-card .day-band-separator{margin:0;width:100%;box-sizing:border-box}.day-card .day-band-location{min-height:26px}.day-location-mode{display:grid;gap:12px;margin:18px 0;padding:14px;border:1px solid var(--line);border-radius:8px}.day-location-mode label{display:flex;align-items:center;gap:9px;font-size:12px}.day-location-mode input{width:auto;margin:0}.album-security-dialog iframe{width:100%;height:240px;border:0}.album-map-head{align-items:center}.album-map-head>div{flex:1}@media(max-width:650px){.day-card{min-height:270px}.day-card .day-cover{height:150px}.day-card .day-date-band{padding:10px;row-gap:9px}}
.album-cover>span.cover-scrub-count,.day-cover>span.cover-scrub-count{background:#dce5d6!important;color:#30432f!important;border:1px solid #b8c6b1}.bulk-people-dialog{width:760px}.bulk-people-header{display:flex;align-items:center;gap:12px;margin-bottom:18px}.bulk-people-header>h2{flex:1;min-width:0;margin:0;line-height:1.35}.bulk-people-dialog .bulk-people-header>.close{position:static;inset:auto;flex:none;margin:0;width:42px;height:42px;display:grid;place-items:center}.bulk-people-dialog .bulk-people-header>.save-bulk-people{flex:none;height:42px;margin:0;padding:0 14px;background:#dce5d6!important;border-color:#c1cdbb!important;color:#30432f!important}.bulk-people-dialog .save-bulk-people:disabled{opacity:.5}@media(max-width:500px){.bulk-people-dialog .info{padding:20px}.bulk-people-header{gap:8px}.bulk-people-dialog .bulk-people-header>h2{font-size:17px}.bulk-people-dialog .bulk-people-header>.save-bulk-people{padding:0 9px}}
.people-dialog .location-search-form{display:flex;align-items:flex-end;gap:10px}.people-dialog .location-search-form>label{flex:1;min-width:0;margin:0;display:grid;gap:7px}.people-dialog .location-search-form input{box-sizing:border-box;height:42px;margin:0;width:100%;max-width:none}.people-dialog .location-search-form>button{box-sizing:border-box;height:42px;margin:0;flex:none;padding:0 14px;align-self:flex-end}.people-dialog .save-day-location{display:block;width:fit-content;max-width:100%;margin:16px auto 0}.organiser-journey-link{position:absolute;bottom:9px;left:9px;z-index:3;display:grid;place-items:center;width:32px;height:32px;padding:6px;border-radius:6px;background:#dce5d6;color:#30432f;box-shadow:0 1px 4px #0002}.organiser-journey-link svg{width:19px;height:19px;pointer-events:none}
.journey-return-highlight{outline:3px solid #7c966b;outline-offset:4px;scroll-margin-block:90px}.single-people-dialog .avatar-choice-hint{font-size:12px;color:var(--muted)}.single-people-dialog .person-avatar-action{display:inline-grid;place-items:center;width:30px;height:30px;background:#ffffff80;color:#30432f;border-radius:5px}.single-people-dialog .people-tags>span{gap:9px}
.saved-place-shortcuts{margin:12px 0 18px}.saved-place-shortcuts label,.saved-place-form>label{display:grid;gap:7px;font-size:12px}.saved-place-shortcuts select,.saved-place-form select{width:100%;box-sizing:border-box;height:42px;margin:0}.saved-place-row{display:flex;align-items:center;gap:8px;padding:12px 0;border-bottom:1px solid var(--line)}.saved-place-row>div{flex:1;min-width:0;overflow-wrap:anywhere}.saved-place-row p{margin:4px 0}.saved-place-row button{font-size:11px;padding:8px}.saved-place-actions{display:flex;gap:10px;flex-wrap:wrap}.saved-places-list{max-height:250px;overflow:auto;margin-bottom:20px}.saved-place-form input{box-sizing:border-box;width:100%;max-width:none}.saved-place-position{font-size:11px}.import-summary-dialog li{overflow-wrap:anywhere}.saved-places-dialog .location-search-form{margin-bottom:8px}
#overview.home-counters{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin-bottom:24px}.home-counters .stat{min-width:0;gap:10px;padding:18px 12px}.home-counters .stat-icon{width:32px;height:32px;flex:none}.home-counters .stat strong{font-size:24px}.home-counters .stat small{font-size:11px}.home-memory-collage{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));grid-auto-rows:64px;grid-auto-flow:dense;gap:14px}.home-memory-collage .home-memory{grid-column:span 2;grid-row:span 3;min-width:0;height:100%;border-radius:12px;overflow:hidden}.home-memory-collage .memory-size-0,.home-memory-collage .memory-size-4{grid-column:span 3;grid-row:span 4}.home-memory-collage .memory-size-2,.home-memory-collage .memory-size-6{grid-row:span 4}.home-memory-collage .imagebox{height:100%;width:100%;aspect-ratio:auto}.home-memory-collage .imagebox img{width:100%;height:100%;object-fit:cover}@media(max-width:1050px){#overview.home-counters{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:650px){#overview.home-counters{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.home-memory-collage{grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:70px;gap:10px}.home-memory-collage .home-memory{grid-column:span 1;grid-row:span 3}.home-memory-collage .memory-size-0,.home-memory-collage .memory-size-4{grid-column:span 2;grid-row:span 4}.home-memory-collage .memory-size-2{grid-row:span 4}}
.breadcrumb{display:flex;align-items:center;flex-wrap:wrap;row-gap:5px}.breadcrumb #crumb{display:inline-flex;align-items:center;flex-wrap:wrap;row-gap:5px;font-weight:400}.breadcrumb .breadcrumb-separator{display:inline-block;margin:0 12px;color:#a3aca0}.breadcrumb .breadcrumb-segment{margin:0;color:var(--green)}.birth-fields>label{margin:0;align-content:start}.birth-fields input,.birth-fields select{height:42px;min-height:42px;max-height:42px;padding:0 10px;margin:0;line-height:normal;box-sizing:border-box}.saved-places-list{margin-top:12px;margin-bottom:0}.home-memory-collage{display:flex;flex-direction:column;gap:14px;width:100%}.home-memory-row{display:flex;gap:14px;width:100%;height:var(--memory-row-height)}.home-memory-row .home-memory{flex:var(--memory-weight,1) 1 0;min-width:0;height:100%;margin:0;grid-column:auto;grid-row:auto}.home-memory-row .imagebox{height:100%;width:100%}.home-counters button.stat{text-align:left;font:inherit;cursor:pointer;display:flex;align-items:center}.home-counters button.stat strong,.home-counters button.stat small{display:block}.home-counters button.stat:hover{border-color:#8fa383}.delete-action{display:inline-flex;align-items:center;justify-content:center;gap:8px}.delete-action svg{flex:none;width:19px;height:19px;color:#b7463b}.saved-place-delete{width:36px;height:36px;padding:8px}.delete-action.primary{background:#fff;color:#b7463b;border-color:var(--line)}@media(max-width:650px){.home-memory-row{height:auto;flex-wrap:wrap;gap:10px}.home-memory-row .home-memory{flex:1 1 calc(50% - 10px);height:210px}.home-memory-collage{gap:10px}.breadcrumb .breadcrumb-separator{margin:0 9px}}
#overview.home-counters>button.stat{background:#fff;color:#252c26;overflow:hidden;gap:9px}#overview.home-counters>button.stat>.stat-icon{width:28px;height:28px;flex:none}#overview.home-counters>button.stat>span:last-child{display:flex;align-items:baseline;gap:6px;min-width:0;flex:1;white-space:nowrap;container-type:inline-size}#overview.home-counters>button.stat strong{display:inline;flex:none;font-size:clamp(12px,14cqi,20px);line-height:1.3;margin:0}#overview.home-counters>button.stat small{display:inline;min-width:0;font-size:clamp(10px,8cqi,12px);line-height:1.3;margin:0;color:#60715f;overflow:hidden;text-overflow:ellipsis}.saved-places-tool{color:#E21C1C!important}
.icon-return{display:inline-flex!important;align-items:center;justify-content:center;gap:9px;min-width:74px}.icon-return svg{flex:none}.module-toolbar>.delete-action,.album-heading-actions>.delete-action{order:1001!important}.media-selection-toolbar>.delete-action,.photo-actions>.delete-action{order:1001}@media(max-width:650px){.icon-return{min-width:66px}}

.album-list-view #overview{display:none}.album-list-view .heading{margin-bottom:24px}.album-list-view .toolbar{margin-top:0}.album-list-view #subtitle:empty{display:none}

#home-birthdays{margin:18px 0 24px;color:var(--green)}#home-birthdays h2{font-size:15px;display:flex;align-items:center;gap:8px;margin:0 0 10px}#home-birthdays>div{display:flex;flex-wrap:wrap;gap:8px}.home-birthday-person{padding:8px 12px;border-radius:8px;background:var(--souvenir-band);color:var(--souvenir-band-ink);font-size:13px}
.trash-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:18px}.trash-card{border:2px solid var(--line);border-radius:10px;overflow:hidden;background:var(--souvenir-band);color:var(--souvenir-band-ink)}.trash-card.selected{border-color:var(--green)}.trash-card label{display:block;position:relative;cursor:pointer}.trash-card input{position:absolute;right:10px;top:10px;width:22px;height:22px;accent-color:var(--green);z-index:1}.trash-card img{display:block;width:100%;height:170px;object-fit:cover}.trash-card-name{display:block;padding:10px 12px 3px;font-weight:600;font-size:13px;overflow-wrap:anywhere}.trash-card-details{display:grid;gap:5px;padding:8px 12px 14px;font-size:11px}.trash-toolbar{flex-wrap:wrap}.trash-toolbar .delete-action,#empty-trash{display:inline-flex;align-items:center;justify-content:center;gap:7px}.trash-status{font-size:13px}.trash-card-details strong{color:#b63b32}@media(max-width:550px){.trash-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.trash-card img{height:140px}.trash-toolbar>button{font-size:12px}}

.duplicate-resolve-all{display:inline-flex;gap:8px;align-items:center;margin:8px 0}.duplicate-all-status{font-size:13px}@media(min-width:901px){aside #nav{overflow-y:auto}aside #nav>button{flex-shrink:0}aside .sidebar-bottom,aside .brand,aside .space{flex-shrink:0}}

.person-setting-row{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:12px 0;border-bottom:1px solid var(--line)}.person-setting-row:last-child{border-bottom:0}.person-setting-row>span{min-width:0;overflow-wrap:anywhere}.person-setting-row>button{display:inline-flex;align-items:center;gap:7px;flex-shrink:0}.hidden-people-settings h2,.unused-people h2{font-size:18px}.hide-person-tool{display:inline-flex;align-items:center;justify-content:center}@media(max-width:550px){.person-setting-row{align-items:flex-start;flex-direction:column}}

.profile-visibility-form{border-top:1px solid var(--line);margin-top:18px;padding-top:18px}.profile-visibility-form h3{margin:0 0 14px}.profile-period-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.profile-period-fields label{display:grid;gap:7px;font-size:12px}.profile-period-fields input{width:100%;height:42px;box-sizing:border-box;border:1px solid var(--line);border-radius:7px;padding:9px;background:var(--input-bg,#fff);color:var(--ink);min-width:0}.profile-visibility-form>p{font-size:12px;color:var(--muted)}.profile-hidden-person-list{display:flex;flex-wrap:wrap;gap:10px 18px;padding:14px 0;max-height:240px;overflow-y:auto}.profile-hidden-person-list label{display:inline-flex;align-items:center;gap:7px;font-size:13px}.profile-hidden-person-list input{accent-color:var(--green)}.profile-visibility-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:16px}.profile-visibility-form summary{cursor:pointer;font-weight:600}@media(max-width:550px){.profile-period-fields{grid-template-columns:1fr}}

.profile-identity{display:flex;align-items:center;justify-content:flex-end;gap:12px;min-width:0;flex-shrink:1}.profile-name{font-size:12px;color:var(--green);font-weight:600;max-width:32ch;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.profile-identity .avatar{flex-shrink:0}.profile-tiles-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,460px),1fr));gap:22px;align-items:start}.settings-panel.profile.profile-tile{padding:0;margin:0;max-width:none;overflow:hidden;border-radius:12px;background:var(--souvenir-band);color:var(--souvenir-band-ink)}.profile-tile-band{padding:14px 20px;min-height:48px}.profile-tile-band h3{font-size:16px;font-weight:700;margin:0;overflow-wrap:anywhere}.profile-tile-body{padding:20px}.profile-tile .profile-title p{margin:0;font-size:12px;overflow-wrap:anywhere;color:var(--souvenir-band-ink)}.profile-tile .profile-title>div{min-width:0}.profile-tile .profile-title>button{flex-shrink:0}.profile-shares{margin-top:20px;border-top:1px solid var(--line);padding-top:16px}.profile-shares h4{font-size:14px;margin:0 0 12px}.profile-shares h4>span{font-weight:400;margin-left:7px;font-size:12px}.profile-shares p{font-size:12px;margin:0}.profile-shares ul{list-style:none;margin:0;padding:0;display:grid;gap:10px}.profile-shares li{display:grid;gap:5px}.profile-shares li>button{display:flex;align-items:center;gap:8px;text-align:left;width:100%;padding:9px 11px}.profile-shares li>button svg{flex-shrink:0}.profile-shares li>button span{min-width:0;overflow-wrap:anywhere}.profile-share-rights{font-size:11px;padding:0 11px}.profile-tile .profile-visibility-form>p{color:var(--souvenir-band-ink)}@media(max-width:700px){.profile-name{max-width:20ch}.profile-tile-body{padding:16px}.profile-tile-band{padding:12px 16px}}

.day-share-row{display:grid;grid-template-columns:1fr auto;gap:10px 20px;padding:16px 0;border-bottom:1px solid var(--line)}.day-share-row>div{grid-column:1/-1}.day-share-row>div small{display:block;margin-top:5px;color:var(--muted);font-size:12px}.day-share-row label{display:inline-flex;align-items:center;gap:7px;font-size:13px}.day-share-row input{width:17px!important;height:17px;margin:0!important;accent-color:var(--green)}.day-share-inherited{grid-column:1/-1;color:var(--muted);font-size:11px}.day-share-albums{font-size:12px;color:var(--muted)}.photo-private-toggle.is-private{background:#425b44!important;color:#fff!important;border-color:#425b44!important}.profile-shared-days{margin-top:18px}.profile-shared-days ul{max-height:260px;overflow:auto}.profile-share-day-name{display:inline-flex;align-items:center;gap:8px;font-size:13px;padding:3px 11px}.profile-share-day-name svg{flex-shrink:0}@media(max-width:550px){.day-share-row{grid-template-columns:1fr}.day-share-row>div,.day-share-inherited{grid-column:1}}

.profile-settings-tools{display:grid;gap:10px;margin-top:20px}.profile-settings-tools>button{display:flex;align-items:center;gap:12px;text-align:left;padding:12px}.profile-settings-tools>button>svg{width:21px;height:21px;flex:none;color:var(--green)}.profile-settings-tools>button>span{display:grid;gap:5px;min-width:0}.profile-settings-tools strong{font-size:13px}.profile-settings-tools small{font-size:11px;line-height:1.5;color:var(--muted)}.profile-modal-save{background:var(--souvenir-band)!important;color:var(--souvenir-band-ink)!important}.profile-setting-dialog .album-dialog-content{padding-top:12px}.profile-setting-dialog .profile-period-fields input{margin:0;max-width:100%}.profile-setting-dialog .profile-hidden-person-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));max-height:380px}.profile-modal-selection{display:flex;gap:8px;flex-wrap:wrap}.profile-setting-dialog .profile-hidden-person-list label{padding:7px 0;overflow-wrap:anywhere}.profile-setting-dialog .profile-hidden-person-list input{margin:0;width:17px;height:17px;flex:none}.profile-shares-modal-section{margin:12px 0 24px}.profile-shares-modal-section h3{display:flex;align-items:center;gap:8px;font-size:15px}.profile-shares-modal-section h3 small{font-size:12px;font-weight:400}.profile-shares-modal-section ul{list-style:none;padding:0;display:grid;gap:12px}.profile-shares-modal-section li{border:1px solid var(--line);border-radius:8px;padding:14px}.profile-share-main{display:flex;align-items:center;gap:9px}.profile-share-main svg{flex:none}.profile-share-main strong{font-size:13px;overflow-wrap:anywhere}.profile-shares-modal-section li p{font-size:12px;margin:9px 0;color:var(--muted)}.profile-shares-modal-section li button{font-size:12px}.profile-admin-access{font-size:12px;margin:20px 0 0}.album-share-rights{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;padding:16px 0;border-bottom:1px solid var(--line)}.album-share-rights>div{grid-column:1/-1}.album-share-rights small{display:block;font-size:11px;color:var(--muted);margin-top:4px}.album-share-rights label{display:flex;align-items:flex-start;gap:6px;font-size:12px;line-height:1.5}.album-share-rights input{flex:none;width:16px!important;height:16px;margin:2px 0 0!important;accent-color:var(--green)}.day-share-row{grid-template-columns:repeat(3,minmax(0,1fr))}.day-share-row label{font-size:12px;align-items:flex-start;line-height:1.5}@media(max-width:550px){.profile-setting-dialog .profile-hidden-person-list{grid-template-columns:1fr}.album-share-rights,.day-share-row{grid-template-columns:1fr}}

.profile-setting-dialog{width:660px;max-width:94vw;max-height:90dvh;overflow:auto}

.profile-tile-band{display:flex;align-items:center;justify-content:space-between;gap:12px}.profile-tile-band h3{flex:1;min-width:0}.profile-tile-band .profile-status-toggle{display:flex;align-items:center;justify-content:center;padding:3px;min-height:32px;background:transparent;color:inherit;border:0;flex:none}.profile-status-toggle[aria-checked="false"]{opacity:.65}.profile-share-actions{display:flex;flex-wrap:wrap;gap:8px}.profile-share-actions button{display:inline-flex;align-items:center;gap:7px}.profile-share-actions svg{flex:none}

.photo-private-toggle.is-private{background:#fff!important;color:#E21C1C!important;border-color:var(--line)!important}.photo-private-toggle.is-private svg{fill:#E21C1C;stroke:#E21C1C}

.backup-settings label{display:grid;gap:8px;margin:16px 0}.backup-settings select,.backup-settings input{width:100%;max-width:100%;box-sizing:border-box}.backup-status{overflow-wrap:anywhere}.backup-settings button{margin-bottom:8px}

.backup-download-progress{width:100%;height:14px;accent-color:var(--green)}.backup-save-link{display:inline-flex;padding:12px 16px;border:1px solid var(--line);border-radius:8px;color:var(--green);font-weight:600}.backup-save-link[hidden]{display:none}.backup-download-error{color:#b41c1c;overflow-wrap:anywhere}

.private-thumbnail-surface{position:relative}.photo-private-badge{position:absolute;z-index:4;display:grid;place-items:center;width:29px;height:29px;border-radius:6px;background:#fff;color:#E21C1C;box-shadow:0 1px 4px #0002;pointer-events:none}.photo-private-badge svg{width:18px;height:18px;fill:currentColor;stroke:currentColor}.photo-private-badge.small{width:18px;height:18px;border-radius:4px}.photo-private-badge.small svg{width:12px;height:12px}

.private-thumbnail-surface:has(.photo-private-badge) .video-badge{left:47px}

.profile-login-method{font-size:12px;line-height:1.6;color:var(--souvenir-band-ink);margin:12px 0 0}

.photo-comment-list{display:grid;gap:12px;margin-bottom:20px;max-height:340px;overflow:auto}.photo-comment-entry{padding:14px;border:1px solid var(--line);border-radius:8px}.photo-comment-entry.primary-comment{background:var(--souvenir-band);color:var(--souvenir-band-ink)}.photo-comment-entry>div{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.photo-comment-entry>div span{font-size:11px}.photo-comment-entry p{white-space:pre-wrap;overflow-wrap:anywhere;margin:10px 0 0}.profile-setting-dialog textarea{width:100%;box-sizing:border-box;resize:vertical}

.limited-identification .person-avatar-action{display:none}
.photo-comment-entry>small{display:block;margin-top:6px;color:var(--muted)}

.photo-comment-entry>.photo-comment-heading,.photo-comment-editor>.photo-comment-heading{display:flex;align-items:center;justify-content:flex-start;gap:9px;flex-wrap:wrap;margin-bottom:10px}.photo-comment-heading svg{flex:none;color:var(--souvenir-band-ink)}.photo-comment-heading strong{overflow-wrap:anywhere}.photo-comment-heading time,.photo-comment-heading .comment-date-unknown{font-size:11px;color:var(--muted)}.photo-comment-editor{border-top:1px solid var(--line);padding-top:16px}.photo-comment-editor label{display:grid;gap:8px}.photo-comment-editor textarea{font:inherit;line-height:1.5}.photo-comment-list:empty{display:none}

.profile-activity-dialog{width:min(1000px,calc(100vw - 32px));max-width:1000px}.profile-activity-scroll{overflow:auto;max-height:55vh;margin-bottom:18px}.profile-activity-table{width:100%;border-collapse:collapse;text-align:left;font-size:13px}.profile-activity-table th{position:sticky;top:0;background:var(--souvenir-band);color:var(--souvenir-band-ink);z-index:1}.profile-activity-table th,.profile-activity-table td{padding:12px;vertical-align:top;border-bottom:1px solid var(--line)}.profile-activity-table td:first-child{white-space:nowrap}.profile-activity-table td:nth-child(3){overflow-wrap:anywhere;min-width:150px}.profile-activity-table a{color:inherit;text-decoration:underline;text-underline-offset:3px}.profile-activity-table .activity-target+.activity-target{margin-top:9px}.profile-activity-table td:last-child{min-width:120px}

.profiles-access-view .heading{margin-bottom:24px}.profiles-access-view #body>.administrator-profile{width:100%;max-width:none;box-sizing:border-box;margin-bottom:24px}.profiles-access-view .profile-tiles-grid{align-items:start}.new-profile-modal-form{display:grid;gap:18px}.new-profile-modal-form label{display:grid;gap:8px}.new-profile-modal-form input{width:100%;box-sizing:border-box}

.preview-comment-carousel{display:flex;align-items:center;justify-content:center;gap:6px;min-width:0}.preview-comment-carousel>span:first-child{display:inline-flex;flex:none}.preview-comment-carousel svg{width:13px;height:13px}.preview-comment-carousel>span:last-child{overflow-wrap:anywhere}.move-journey-tool{flex:none}

.preview-title-segment{display:inline-flex;align-items:center;gap:7px;margin:0 9px;vertical-align:middle}.preview-title-segment svg{width:18px;height:18px;flex:none}.preview-identity-line{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin-bottom:5px}.preview-photo-counter{display:inline-flex;align-items:center;gap:5px;white-space:nowrap}.preview-photo-counter svg{width:15px;height:15px}.preview-identity-line .photo-people-label{margin:0}#detail.photo-viewer .photo-navigation{grid-template-columns:minmax(150px,1fr) minmax(170px,1.2fr) auto}#detail.photo-viewer .photo-paging{min-width:0;align-self:center}#detail.photo-viewer .photo-paging .preview-comment-carousel{font-size:12px;line-height:1.5;margin:0;color:inherit;text-align:center}.preview-info-list{margin:0;display:grid;gap:8px}.preview-info-list dt{font-weight:700;margin-top:10px}.preview-info-list dd{margin:0;overflow-wrap:anywhere;white-space:pre-wrap}@media(max-width:900px){#detail.photo-viewer .photo-navigation{grid-template-columns:minmax(0,1fr) auto}#detail.photo-viewer .photo-paging{grid-column:1 / -1;grid-row:2}#detail.photo-viewer .photo-location{grid-column:1;grid-row:1}#detail.photo-viewer .photo-actions{grid-column:2;grid-row:1}}@media(max-width:600px){#detail.photo-viewer .photo-navigation{grid-template-columns:1fr}#detail.photo-viewer .photo-location{grid-column:1;grid-row:1}#detail.photo-viewer .photo-paging{grid-column:1;grid-row:2}#detail.photo-viewer .photo-actions{grid-column:1;grid-row:3;justify-self:center;flex-wrap:wrap}.preview-title-segment{margin:3px 6px}}

#detail.photo-viewer .photo-location>.preview-identity-line{grid-column:1 / -1;width:100%;min-width:0;align-items:center}#detail.photo-viewer .preview-identity-line .photo-people-label{display:inline-flex;align-items:center;gap:5px;margin:0;flex:1;min-width:70px}#detail.photo-viewer .photo-location>.add-missing-location{grid-column:1 / -1;display:flex;align-items:flex-start;gap:5px;font:inherit;line-height:1.5;padding:0;border:0;background:transparent;text-align:left;max-width:100%;white-space:normal;overflow-wrap:anywhere}#detail.photo-viewer .preview-photo-counter svg{width:15px;height:15px;flex-basis:15px}

.icon-import{display:inline-flex;align-items:center;justify-content:center;width:42px;padding:10px!important}.tile-name-icon{display:inline-flex;flex:none;align-items:center}.tile-name-icon svg{width:16px;height:16px}.tile-name-text{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.person-title-band h2,.album-tile-title-band h2 button,.day-card .day-heading-copy h2 button{display:flex;align-items:center;gap:7px;min-width:0;width:100%}.day-card .day-heading-copy,.album-tile-title-band h2{min-width:0;overflow:hidden}.photo-actions-divider{height:26px;border-left:1px solid currentColor;opacity:.35;margin:0 5px;flex:none}#detail.photo-viewer #close{background:var(--souvenir-band);color:var(--souvenir-band-ink);border:1px solid currentColor;opacity:1;box-shadow:0 1px 6px #0003;min-width:36px;min-height:36px}#detail.photo-viewer #close:hover{filter:brightness(.9)}.saved-places-dialog{width:min(950px,calc(100vw - 32px));max-width:950px}.saved-places-list{overflow:auto}.saved-places-table{width:100%;border-collapse:collapse;text-align:left;font-size:13px}.saved-places-table th,.saved-places-table td{padding:12px;vertical-align:top;border-bottom:1px solid var(--line)}.saved-places-table th{background:var(--souvenir-band);color:var(--souvenir-band-ink)}.saved-places-table .saved-place-row{display:table-row}.saved-place-row-tools{white-space:nowrap}.saved-place-row-tools button{display:inline-flex;align-items:center;justify-content:center;padding:7px;margin-left:5px}.saved-places-table td:nth-child(2){overflow-wrap:anywhere;min-width:180px}.saved-place-form[hidden],.saved-place-form-title[hidden]{display:none!important}.move-memory-form{display:grid;gap:16px}.move-memory-form label{display:grid;gap:8px}.move-memory-form input,.move-memory-form select{width:100%;box-sizing:border-box}

#detail.photo-viewer #close{background:#edf1e7;color:#2d4732;border-color:#dce5d7}.icon-import svg{pointer-events:none}

#detail.photo-viewer #close{background:#edf1e7!important;color:#2d4732!important;border-color:#dce5d7!important}#detail.photo-viewer #close:hover{background:#dce5d7!important}

#detail.photo-viewer>.preview-gesture-surface{touch-action:pan-y pinch-zoom;user-select:none;-webkit-user-select:none;-webkit-user-drag:none;cursor:pointer}

/* Profile preview and consistent rounded surfaces. */
.profile-preview-banner{position:fixed;inset:auto 12px 12px 12px;width:auto;height:auto;z-index:10000;display:flex;flex-direction:row;align-items:center;justify-content:center;gap:18px;padding:12px 18px;border:2px solid var(--green);border-radius:12px;background:var(--souvenir-band);color:var(--souvenir-band-ink);box-shadow:0 3px 18px #0003}.profile-preview-banner button{flex:none}.profile-tile-band>button{background:transparent;color:inherit;border:0;padding:5px}.person-card>.person-title-band{height:auto;min-height:44px}.person-card>.person-title-band h2{display:flex;align-items:center;gap:7px;flex-wrap:wrap;line-height:1.3}.person-title-band .tile-name-text{flex:0 1 auto}.person-title-birth{font-size:10px;font-weight:400;line-height:1.3;min-width:0;overflow:hidden;text-overflow:ellipsis}.person-title-band h2>.tile-name-icon{flex:none}#detail.photo-viewer{overflow:hidden}#detail.photo-viewer .photo-topbar{border-radius:inherit;border-bottom-left-radius:0;border-bottom-right-radius:0}dialog.people-dialog{overflow:hidden}dialog.people-dialog>.info{border-radius:inherit;max-height:calc(100dvh - 40px);overflow:auto}#photo-title button.preview-title-segment{background:transparent;color:inherit;border:0;padding:3px;font:inherit;cursor:pointer}#photo-title button.preview-title-segment:hover{text-decoration:underline}@media(max-width:600px){.profile-preview-banner{flex-wrap:wrap;gap:8px;font-size:12px}}

.move-memory-form select,.move-memory-form input{min-height:40px;padding:9px 12px}.remove-photo-album-tool{display:inline-flex;align-items:center;justify-content:center;flex:none}
.profile-only-shares{display:flex!important;align-items:center;gap:9px;margin-top:18px}.profile-only-shares input{width:18px!important;height:18px;margin:0}.album-hidden-tool[aria-pressed=true]{color:#E21C1C}.album-hidden-tool[aria-pressed=true] svg{fill:currentColor;stroke:currentColor}.album-hidden-tool svg{fill:none}
.day-hidden-tool[aria-pressed=true]{color:#E21C1C}.day-hidden-tool svg{fill:none}.day-hidden-tool[aria-pressed=true] svg{fill:currentColor;stroke:currentColor}.album-hidden-badge{top:9px;left:9px}
.profile-edit-form,.profile-local-password{display:grid;gap:15px}.profile-edit-form label{display:grid;gap:7px}.profile-edit-form input{width:100%;min-height:40px;box-sizing:border-box}.profile-local-password[hidden]{display:none}.profile-edit-form input[readonly]{opacity:.7}

.disk-export-form{display:grid;gap:15px}.disk-export-form[hidden]{display:none}.disk-export-form label{display:grid;gap:7px}.disk-export-form select{min-height:40px;width:100%}.disk-export-progress{width:100%}

.album-protection-form{display:grid;gap:15px}.album-protection-form label{display:grid;gap:7px}.album-protection-form input{min-height:40px;width:100%}

.rights-reference-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:10px 14px;min-height:40px;box-sizing:border-box;border:1px solid var(--line);border-radius:8px;background:var(--card,#fff);color:var(--ink);font:inherit;text-decoration:none}.rights-reference-button svg{width:18px;height:18px;flex-shrink:0}.rights-reference-button:hover{background:var(--sage,#edf1e7)}.rights-reference-button:focus-visible{outline:2px solid #425b44;outline-offset:3px}

[data-theme=dark] .rights-reference-button{background:#252c23}[data-theme=dark] .rights-reference-button:hover{background:#333e2e}

.profile-access-actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px}.profile-access-actions>button,.profile-access-actions>.rights-reference-button{display:inline-flex;align-items:center;justify-content:center;min-height:40px;margin:0;padding:10px 14px;line-height:20px;vertical-align:middle}.disk-export-fallback{margin-top:12px}.disk-export-fallback[hidden]{display:none}

.debug-mode-switch{display:flex;align-items:center;gap:10px}.debug-mode-switch input{width:18px;height:18px}.picador-debug-preview{border:1px dashed #9366bd;border-radius:10px;padding:14px;margin:0 0 20px;background:#f4eafa;color:#713da0}.picador-debug-preview summary{font-weight:700;cursor:pointer}.picador-debug-tools{display:flex;flex-wrap:wrap;gap:8px}.picador-debug-tools .picador-debug-button:disabled{display:inline-flex;align-items:center;gap:7px;opacity:1;color:#713da0;background:#ebddf5;border:1px solid #b38bd0;font-size:11px;cursor:not-allowed}.picador-debug-button svg{height:18px;width:18px;flex-shrink:0}[data-theme=dark] .picador-debug-preview{background:#2d2038;color:#ddbbf7}[data-theme=dark] .picador-debug-button:disabled{background:#3c294c;color:#ddbbf7}

.debug-unavailable,.debug-unavailable:disabled,.debug-unavailable button:disabled,.debug-unavailable input:disabled,.debug-unavailable select:disabled{opacity:1!important;background:#eee0fa!important;color:#713da0!important;border-color:#ad82cc!important;cursor:not-allowed!important}.debug-unavailable{visibility:visible!important}.debug-unavailable button,.debug-unavailable input,.debug-unavailable select{pointer-events:auto}.debug-restore-controls{display:grid;gap:12px;margin-top:16px;padding:14px;border:1px dashed #ad82cc;border-radius:8px}.debug-restore-controls label{display:grid;gap:6px}.debug-unavailable form{display:grid;gap:10px}[data-theme=dark] .debug-unavailable,[data-theme=dark] .debug-unavailable button:disabled,[data-theme=dark] .debug-unavailable input:disabled,[data-theme=dark] .debug-unavailable select:disabled{background:#3c294c!important;color:#ddbbf7!important}

button.debug-unavailable,a.debug-unavailable{display:inline-flex!important;align-items:center;justify-content:center;gap:6px}

.profile-password-form{display:grid;gap:14px}.profile-password-form label{display:grid;gap:6px}.profile-password-form input{min-height:40px}.profile-password-tool{display:flex;align-items:center;gap:10px;width:100%}.profile-password-tool svg{width:20px;height:20px;flex-shrink:0}.administrator-profile .profile-password-tool{width:auto;margin-top:12px}

.person-card>.person-title-band h2{flex-wrap:nowrap;min-width:0}.person-title-band .tile-name-text{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.person-title-age{font-size:11px;font-weight:400;line-height:1.3;white-space:nowrap;flex:none;opacity:.9}.person-card .person-birth-date{display:flex;font-size:11px;font-weight:400}@media(max-width:650px){.person-title-age{font-size:10px}}

.hidden-collection-filter{display:inline-flex;align-items:center;justify-content:center;min-width:42px;min-height:40px;padding:9px}.hidden-collection-filter.active{background:var(--green);color:#fff;border-color:var(--green)}[data-theme=dark] .hidden-collection-filter.active{color:#1f2b1b}

.locked-day-card .day-title-band h2{display:flex;align-items:center;gap:7px;margin:0;font-size:14px}.locked-day-card .day-open{display:flex;align-items:center;justify-content:center;gap:14px;background:var(--souvenir-band);color:var(--souvenir-band-ink);padding:25px 12px}.locked-day-open>svg{width:44px;height:44px}.locked-day-open small{display:block;font-size:11px;font-weight:400}.locked-day-card .day-date-band{font-size:11px}.day-protection-tool[aria-pressed=true]{color:#b42222}

/* Navigation fixe et outils de sécurité */
body>aside:not(.profile-preview-banner){top:80px;height:calc(100dvh - 80px);padding-top:16px;box-sizing:border-box}body>aside:not(.profile-preview-banner)>.brand{display:none}body>aside:not(.profile-preview-banner)>.space{margin-top:16px}main{padding-top:80px}main>header{position:fixed!important;inset:0 0 auto 0!important;width:100%;height:80px;z-index:80;box-sizing:border-box;padding:0 24px;gap:22px}main>header .header-brand-toggle{padding:6px 0;border:0;background:transparent;color:var(--green);flex:none;font-size:23px;white-space:nowrap;width:190px;text-align:left}main>header .breadcrumb{flex:1;min-width:0}main>header .header-brand-toggle svg{vertical-align:middle}#open-security-indicator{position:absolute;left:50%;transform:translateX(-50%);display:inline-flex;align-items:center;gap:5px;padding:7px 10px;color:#b22f34;border-color:#b22f3440;background:var(--card,#fff)}#open-security-indicator[hidden]{display:none}.sidebar-collapsed>aside:not(.profile-preview-banner){display:none}.sidebar-collapsed main{margin-left:0!important}#nav [data-nav=tools]{margin-top:4px}#density{display:none!important}.responsive-table{overflow:auto;max-width:100%}.picador-settings-table{width:100%;border-collapse:collapse;font-size:12px}.picador-settings-table th,.picador-settings-table td{padding:12px 10px;text-align:left;border-bottom:1px solid var(--line);vertical-align:middle}.picador-settings-table thead{background:var(--souvenir-band);color:var(--souvenir-band-ink)}.picador-settings-table .table-object{display:flex;gap:8px;align-items:center;min-width:150px}.table-object svg{flex:none}.remaining-time{white-space:nowrap;font-variant-numeric:tabular-nums}.settings-section-heading{display:flex;gap:15px;align-items:center;justify-content:space-between;margin:8px 0 18px}.settings-section-heading h2,.settings-section-heading h3{margin:0;display:flex;align-items:center;gap:9px}.settings-section-heading>button{flex:none;display:inline-flex;align-items:center;gap:8px}.security-tools-panel{max-width:none!important;scroll-margin-top:100px}.content:has(#security-tools-panel)>.heading{margin-bottom:24px}.row-tools{display:flex;gap:6px}.row-tools button{padding:6px;display:grid;place-items:center}.active-period{background:var(--sage,#dce5d6)}.row-tools [aria-pressed=true]{background:var(--green);color:white}.settings-inline-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.settings-inline-actions button{display:flex;align-items:center;gap:8px}.administrator-personal-tools{margin-top:24px;border-top:1px solid var(--line);padding-top:20px}.period-dates{display:grid;grid-template-columns:1fr 1fr;gap:14px}.period-form input{width:100%;height:42px;box-sizing:border-box}.period-form label{display:block;margin-bottom:14px}.current-profile-settings .themes{display:flex;gap:8px;margin:12px 0 20px}.current-profile-settings .themes button{width:42px!important;height:42px!important;min-height:0!important;min-width:0!important;padding:7px!important;display:grid;place-items:center}.current-profile-settings .themes button span{margin:0;font-size:23px}.current-profile-settings .own-password-tool{display:inline-flex;align-items:center;gap:8px}.storage-summary-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(145px,1fr));gap:16px}.storage-summary-grid div{padding:14px;background:var(--sage,#edf1e7);border-radius:9px}.storage-summary-grid dt{font-size:12px;color:var(--muted)}.storage-summary-grid dd{margin:8px 0 0;font-size:19px;font-weight:700}.storage-overview .refresh-storage-summary{padding:8px}.storage-overview .refresh-storage-summary svg{width:20px;height:20px}.content:has(#security-tools-panel) #retry-metadata{display:inline-flex}#body>.settings-panel:has(#recover-local){display:none}
@media(max-width:850px){main>header{gap:12px;padding:0 14px}main>header .header-brand-toggle{width:auto;font-size:18px}#open-security-indicator{position:static;transform:none;order:1}main>header .breadcrumb{font-size:10px}main>header .profile-name{max-width:130px}body>aside:not(.profile-preview-banner){z-index:79;background:var(--card,#fff)}}@media(max-width:600px){main>header{height:70px}main{padding-top:70px;margin-left:0!important}body>aside:not(.profile-preview-banner){top:70px;height:calc(100dvh - 70px);width:220px;box-shadow:4px 0 20px #0002}main>header .header-brand-toggle{font-size:16px;max-width:112px}main>header .breadcrumb{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}main>header .profile-header-name{display:none}.period-dates{grid-template-columns:1fr}.settings-section-heading{flex-wrap:wrap}.security-tools-panel .picador-settings-table{min-width:620px}.administrator-personal-tools .picador-settings-table{min-width:420px}.storage-summary-grid{grid-template-columns:1fr 1fr}}

main>header .breadcrumb{max-width:34%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}main>header .profile-header-name{margin-left:auto}.security-tools-panel h2{font-size:21px}@media(max-width:850px){main>header .breadcrumb{max-width:none}main>header:has(#open-security-indicator:not([hidden])) .profile-header-name{max-width:90px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}}

.protected-history{margin-top:28px;padding-top:22px;border-top:1px solid var(--line)}.protected-history td small{display:block;color:var(--muted);margin-top:4px}.protected-history #protected-history-more{margin-top:16px}.protected-history #protected-history-refresh{padding:7px}

main>header{justify-content:flex-start}main>header .breadcrumb{flex:0 1 auto;max-width:calc(50vw - 280px)}main>header .profile-identity{margin-left:auto;flex:none}.security-tools-panel>.responsive-table,.protected-history>.responsive-table{max-height:320px;overflow:auto;overscroll-behavior:contain}.security-tools-panel .picador-settings-table thead th{position:sticky;top:0;background:var(--souvenir-band);color:var(--souvenir-band-ink);z-index:1}.history-open-target{padding:6px;display:grid;place-items:center}@media(max-width:850px){main>header .breadcrumb{flex:1;max-width:none}main>header .profile-identity{order:2}main>header #open-security-indicator{order:1}}@media(max-width:600px){main>header .profile-name{display:none}.protected-history .picador-settings-table{min-width:680px}}

main>header .header-security-indicator{position:absolute!important;left:50%!important;transform:translateX(-50%)!important;display:inline-flex;align-items:center;gap:5px;padding:7px 10px;color:#b22f34;border-color:#b22f3440;background:var(--card,#fff)}main>header .header-security-indicator[hidden]{display:none}main>header .header-security-indicator.debug-unavailable{background:#eee0fa!important;color:#8144a7!important;border-color:#b879e0!important}@media(max-width:600px){main>header{height:90px;display:grid;grid-template-columns:110px 1fr auto;grid-template-rows:50px 24px;gap:0 8px;padding-top:4px;padding-bottom:8px}main>header .header-brand-toggle{grid-row:1;grid-column:1}main>header .profile-identity{grid-row:1;grid-column:3}main>header .breadcrumb{grid-row:2;grid-column:1/-1;max-width:none;font-size:10px;align-self:center}main>header .header-security-indicator{top:15px}main{padding-top:90px}body>aside:not(.profile-preview-banner){top:90px;height:calc(100dvh - 90px)}}

#security-live-status:empty,#protected-history-status:empty{display:none}

.profile-theme-tools{display:flex;align-items:center;gap:7px}.profile-theme-tools button{display:grid;place-items:center;width:38px;height:38px;padding:5px;font-size:22px;background:var(--card,#fff)}.profile-theme-tools button[aria-pressed=true]{border-color:var(--green);background:var(--sage,#edf1e7)}.profile-account-menu{position:fixed;right:24px;top:72px;z-index:120;min-width:230px;max-width:calc(100vw - 32px);padding:9px;border:1px solid var(--line);border-radius:12px;background:var(--card,#fff);color:var(--ink);box-shadow:0 10px 32px #1c2b2226}.account-menu-identity{padding:10px 12px 14px;border-bottom:1px solid var(--line);margin-bottom:6px}.account-menu-identity strong,.account-menu-identity small{display:block}.account-menu-identity small{color:var(--muted);margin-top:5px}.profile-account-menu [role=menuitem]{display:flex;align-items:center;gap:9px;text-decoration:none;color:inherit;width:100%;box-sizing:border-box;padding:11px 12px;border:0;background:transparent;border-radius:7px;text-align:left;font-size:13px}.profile-account-menu [role=menuitem]:hover,.profile-account-menu [role=menuitem]:focus-visible{background:var(--sage,#edf1e7);outline:2px solid var(--green)}header button.avatar{padding:0;cursor:pointer}.administrator-profile{scroll-margin-top:100px}[data-theme=dark] .profile-account-menu{background:#242b24}[data-theme=dark] .profile-theme-tools button{background:#242b24}[data-theme=dark] .profile-theme-tools button[aria-pressed=true]{background:#425b44;color:white}@media(max-width:600px){.profile-account-menu{top:80px;right:12px}}

aside:has(>#nav){top:80px;height:calc(100dvh - 80px);padding-top:16px;box-sizing:border-box}aside:has(>#nav)>.brand{display:none!important}aside:has(>#nav)>.space{margin-top:16px}.sidebar-collapsed aside:has(>#nav){display:none!important}main>header .header-brand-toggle small{display:block;margin:5px 0 0 1px;font-size:7px;line-height:1.3;letter-spacing:2px;font-weight:400}main>header .header-brand-toggle{line-height:1.1}@media(max-width:850px){aside:has(>#nav){z-index:79;background:var(--card,#fff)}}@media(max-width:600px){aside:has(>#nav){top:90px;height:calc(100dvh - 90px);width:220px;box-shadow:4px 0 20px #0002}main>header .header-brand-toggle small{font-size:5.7px;letter-spacing:1.3px}}

.profile-tile-band .profile-theme-tools{display:flex;gap:6px;margin-left:auto}.profile-tile-band .profile-theme-tools button{padding:6px;min-width:32px;background:var(--sage,#dce5d6);color:var(--green,#405b43)}.period-people-choices{display:grid;gap:10px;max-height:45vh;overflow:auto}.period-people-choices label{display:flex;align-items:center;gap:10px}.period-people-choices input{width:auto}.period-modal-table{max-height:50vh;overflow:auto}

.mail-settings-form{display:grid;gap:14px}.invite-profile-choice{display:flex!important;gap:10px;align-items:center}.invite-profile-choice input{width:auto}.profile-tile-band .profile-invite-tool,.profile-tile-band .profile-reset-tool{padding:6px;min-width:30px}.mail-settings-panel h2{display:flex;gap:10px;align-items:center}

.unlock-duration-presets{display:flex;flex-wrap:wrap;gap:8px;margin:10px 0}.unlock-duration-presets button[aria-pressed=true]{background:var(--green);color:var(--card,#fff)}.locked-day-card>.day-date-band{display:flex;align-items:center;justify-content:center;text-align:center}.local-security-count,.remote-security-count{display:inline-flex;align-items:center;gap:5px}.remote-security-count{border-left:1px solid var(--line);padding-left:9px;margin-left:4px}.remote-unlock-notification{position:fixed;z-index:20000;top:85px;left:50%;transform:translateX(-50%);max-width:calc(100vw - 30px);padding:14px 20px;border-radius:10px;background:var(--green);color:white;box-shadow:0 3px 20px #0003}

.access-user-stack{display:grid;gap:8px}.access-user-stack>span{min-height:24px;display:flex;align-items:center}.access-history-scroll{max-height:320px;overflow:auto}.profile-activity-table .activity-target{display:flex;gap:6px;align-items:center}.profile-activity-table .activity-target svg{width:18px;height:18px;flex:none}.connection-management .settings-section-heading{flex-wrap:wrap}.connection-action-filter{max-width:200px}

.activity-filter-tool{display:inline-flex;align-items:center;gap:7px;margin:0;flex:0 1 235px;min-width:100px}.activity-filter-tool svg{flex:none}.activity-filter-tool select{height:40px;min-height:40px;padding:8px 28px 8px 10px;width:100%;min-width:0;font:inherit;text-overflow:ellipsis;border:1px solid var(--line);border-radius:8px;background:var(--card,#fff);color:inherit}.profile-activity-dialog .bulk-people-header{flex-wrap:wrap;gap:10px}.profile-activity-dialog .bulk-people-header h2{min-width:180px;flex:1}.protected-download-policy[aria-pressed=true]{color:#c32732;background:#fce9eb;border-color:#db969e}@media(max-width:650px){.profile-activity-dialog .bulk-people-header h2{flex-basis:100%}.activity-filter-tool{flex:1}}

.profile-activity-dialog .bulk-people-header label.activity-filter-tool{display:inline-flex;flex-direction:row;align-items:center;gap:7px}.profile-activity-dialog .bulk-people-header label.activity-filter-tool>svg{display:block;margin:0;flex:0 0 19px}

.security-tools-panel .security-heading-tools{display:flex;align-items:center;justify-content:flex-end;gap:8px;margin-left:auto;flex:0 0 auto}.security-tools-panel .security-heading-tools>button{display:inline-flex;align-items:center;justify-content:center;width:42px;height:42px;min-width:42px;padding:9px}.security-tools-panel .security-heading-tools>button svg{flex:none}.security-tools-panel .settings-section-heading{gap:12px}

.locked-day-card .day-date-band{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;text-align:center}.locked-day-card .locked-content-shield{color:#e21c1c;display:flex}.locked-content-shield svg{fill:currentColor;width:22px;height:22px}

.storage-destinations-panel h2{display:flex;align-items:center;gap:8px}.storage-folder-list{display:flex;flex-wrap:wrap;gap:6px;margin:8px 0}.storage-config-output{white-space:pre-wrap;overflow-wrap:anywhere}.destination-settings-form label{display:block;margin:12px 0}.destination-settings-form input:not([type=checkbox]),.destination-settings-form select{width:100%}

.connection-browser{max-width:260px;overflow-wrap:anywhere}.access-protection-settings h2{display:flex;align-items:center;gap:8px}.access-protection-settings pre{white-space:pre-wrap}

.destination-settings-form label:has(>input[type="checkbox"]),.access-protection-settings~dialog label:has(>input[type="checkbox"]){display:flex;align-items:center;gap:8px}.destination-settings-form input[type="checkbox"]{width:auto;flex:none;margin:0}.destination-settings-form select{min-height:40px}.people-dialog form label:has(>input[type="checkbox"]){display:flex;align-items:center;gap:8px}.people-dialog form input[type="checkbox"]{width:auto;flex:none;margin:0}

.single-file-policy h2{display:flex;gap:8px;align-items:center}.verified-source-backup{width:100%;min-height:40px}

.album-day-heading{display:block;font-size:.82em;margin-top:7px;font-weight:700}.sidebar-collapsed main{padding-top:80px!important}.saved-places-dialog .bulk-people-header{align-items:center}.saved-places-dialog .saved-place-form input,.saved-places-dialog .saved-place-form select{height:42px;width:100%;margin:0}.saved-places-dialog .saved-place-actions{gap:10px}.header-presence{position:absolute;left:50%;transform:translateX(-50%);display:flex;gap:8px;align-items:center}.header-presence #open-security-indicator{position:static;transform:none}.header-presence .connected-profiles-indicator{display:inline-flex;align-items:center;gap:5px;padding:7px 10px}.connected-profiles-indicator[hidden]{display:none!important}@media(max-width:600px){.sidebar-collapsed main{padding-top:90px!important}.header-presence{top:12px}}

.database-reset-form{display:grid;gap:18px}.database-reset-form label{display:grid;gap:8px;font-size:12px}.database-reset-form input{width:100%;max-width:100%;margin:0;height:42px}.database-reset-settings .delete-action{color:#c32929}.profile-modal-save.delete-action{background:#b62929;color:white}
.header-presence .header-security-indicator{position:static!important;left:auto!important;top:auto!important;transform:none!important}.people-dialog .bulk-people-header>button.delete-action{background:#b62929;color:#fff}@media(max-width:700px){aside:has(>#nav){position:fixed!important;display:flex;flex-direction:column}aside:has(>#nav)>nav{display:block;overflow-y:auto;overflow-x:hidden;margin-top:0}aside:has(>#nav) nav button{width:100%;white-space:nowrap}aside:has(>#nav) nav i{display:inline-flex}}

#detail .preview-gesture-surface{-webkit-touch-callout:none;-webkit-user-select:none;user-select:none} .mail-settings-form~button{margin-right:8px;margin-top:10px}

.profile-shares-table-dialog{width:min(1100px,calc(100vw - 32px));max-width:1100px}.profile-shares-table-scroll{max-height:60vh;overflow:auto}.profile-shares-table{width:100%;border-collapse:collapse;min-width:750px}.profile-shares-table th,.profile-shares-table td{padding:12px;border-bottom:1px solid var(--border,#dfe4dc);text-align:center}.profile-shares-table thead th{position:sticky;top:0;background:var(--sage,#dce5d5);color:var(--ink,#252c26);z-index:1}.profile-shares-table th:first-child{text-align:left;min-width:180px}.profile-shares-table th small{display:block;font-weight:400;margin-top:4px}.profile-shares-table input{width:17px;height:17px;accent-color:#405b43;opacity:1}.profile-shares-table .profile-share-actions{display:flex;gap:6px;flex-wrap:nowrap;margin:0;justify-content:center}.profile-shares-table .profile-share-actions button{display:inline-flex;padding:8px;align-items:center;justify-content:center}.profile-shares-table .profile-share-main svg{flex-shrink:0}

.day-sharing-table-dialog{width:min(1000px,calc(100vw - 32px));max-width:1000px}.day-sharing-table-scroll{overflow:auto;max-height:60vh}.day-sharing-table{width:100%;min-width:650px;border-collapse:collapse}.day-sharing-table th,.day-sharing-table td{padding:12px;border-bottom:1px solid var(--border,#dfe4dc);text-align:center}.day-sharing-table th:first-child{text-align:left}.day-sharing-table thead th{background:var(--sage,#dce5d5);position:sticky;top:0}.day-sharing-table th small{display:block;font-weight:400}.day-sharing-table input{width:17px;height:17px;accent-color:#405b43}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
