.fala-photos{max-width:1440px;margin:auto}.photos-intro{position:relative;display:flex;justify-content:space-between;align-items:center;padding:40px 12px 44px;overflow:hidden}.photos-intro h1{font-size:clamp(38px,5vw,66px);line-height:1.05;letter-spacing:-.045em;margin:14px 0}.photos-intro h1 em{font-family:Georgia,serif;font-weight:400;color:var(--cyan);font-style:italic}.photos-intro p{color:var(--muted)}.photos-wave{width:38%;height:180px;background:url('/interface-wave.svg') center/contain no-repeat;display:grid;place-items:center;opacity:.8}.photos-wave span{font-size:64px;color:var(--cyan);filter:drop-shadow(0 0 26px var(--violet))}.photo-tabs{display:flex;gap:8px;flex-wrap:wrap;border-bottom:1px solid var(--line);padding-bottom:18px}.photo-tabs button,.photo-filters button,.photo-more,.photo-batch button,.photo-detail button{border:1px solid var(--line);border-radius:14px;padding:12px 18px;background:var(--surface);color:var(--text);cursor:pointer;font:inherit;min-height:44px}.photo-tabs button[aria-pressed=true]{background:linear-gradient(110deg,color-mix(in srgb,var(--cyan) 18%,var(--surface)),color-mix(in srgb,var(--violet) 22%,var(--surface)));border-color:var(--cyan)}.photo-tabs small{margin-left:8px;color:var(--muted)}.photo-filters{display:flex;align-items:end;gap:14px;padding:24px 0}.photo-filters label,.photo-detail form>label{display:grid;gap:7px;font-size:12px;color:var(--muted)}.photo-filters input,.photo-filters select,.photo-detail input:not([type=checkbox]){min-height:44px;border:1px solid var(--line);border-radius:12px;background:var(--surface);color:var(--text);padding:10px 13px;font:inherit;max-width:100%;box-sizing:border-box}.photo-search{flex:1}.photo-notice{color:var(--muted);font-size:13px;min-height:20px}.photos-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px;margin:22px 0}.photo-tile{min-width:0;border:1px solid var(--line);background:var(--surface);border-radius:20px;overflow:hidden;box-shadow:0 8px 28px #0000000b}.photo-open{position:relative;display:block;border:0;padding:0;background:color-mix(in srgb,var(--cyan) 5%,var(--surface));width:100%;height:220px;cursor:pointer}.photo-open img{width:100%;height:100%;object-fit:contain;display:block}.photo-badges{position:absolute;bottom:8px;left:8px;border-radius:8px;background:#112135c9;color:#fff;font-size:11px;padding:4px 8px}.photo-badges:empty{display:none}.photo-caption{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:15px}.photo-caption b{display:block;font-size:13px;overflow-wrap:anywhere}.photo-caption small{display:block;font-size:11px;color:var(--muted);margin-top:5px}.photo-caption input{width:20px;height:20px;accent-color:var(--violet);flex-shrink:0}.photo-more{display:block;margin:20px auto}.photo-more[hidden],.photo-batch[hidden]{display:none}.photo-batch{position:sticky;top:12px;z-index:3;display:flex;align-items:center;flex-wrap:wrap;gap:10px;padding:14px;border-radius:18px;background:var(--surface);border:1px solid var(--cyan);box-shadow:var(--shadow)}.photo-care{margin:36px 0;padding:26px 30px;display:flex;justify-content:space-between;align-items:center;gap:28px;border-radius:22px;border:1px solid var(--line);background:linear-gradient(125deg,color-mix(in srgb,var(--cyan) 7%,var(--surface)),color-mix(in srgb,var(--violet) 8%,var(--surface)))}.photo-care p{max-width:650px;color:var(--muted);font-size:13px;line-height:1.6}.photo-care a{color:var(--text);white-space:nowrap}.photo-empty{grid-column:1/-1;padding:55px 20px;text-align:center;color:var(--muted)}.photo-empty span{font-size:42px;color:var(--cyan)}.photo-empty h2{color:var(--text)}.photo-detail{background:var(--surface);color:var(--text);width:min(1100px,94vw);max-height:92dvh;border:1px solid var(--line);border-radius:24px;padding:0;overflow:auto}.photo-detail::backdrop{background:#050b19d9;backdrop-filter:blur(12px)}.photo-detail-bar{display:flex;gap:8px;padding:14px;position:sticky;top:0;background:var(--surface);z-index:2}.photo-detail-bar [data-close]{margin-left:auto}.photo-full{display:block;width:100%;height:53dvh;object-fit:contain;background:#060a12}.photo-detail-copy{padding:24px 30px}.photo-detail-copy h2{margin:0;overflow-wrap:anywhere}.photo-detail-copy>p{color:var(--muted)}.photo-detail form{display:grid;grid-template-columns:1fr 1fr;gap:16px}.photo-choice{grid-column:1/-1;display:flex;flex-wrap:wrap;gap:20px}.photo-save-status{font-size:13px}.photo-unavailable:after{content:'Podgląd chwilowo niedostępny';color:var(--muted);font-size:12px}.fala-photos :focus-visible,.photo-detail :focus-visible{outline:3px solid var(--cyan);outline-offset:3px}.photo-detail button:disabled{opacity:.4;cursor:default}@media(max-width:1000px){.photos-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.photo-open{height:190px}}@media(max-width:680px){.photos-intro{padding:22px 0}.photos-wave{width:25%;position:absolute;right:-15px;opacity:.3}.photos-intro>div:first-child{z-index:1}.photo-tabs{gap:6px}.photo-tabs button{flex:1 0 42%;padding:10px}.photo-filters{display:grid;grid-template-columns:1fr 1fr}.photo-search{grid-column:1/-1}.photo-filters button{grid-column:1/-1}.photos-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.photo-open{height:160px}.photo-caption{padding:10px}.photo-care{display:block;padding:20px}.photo-detail form{grid-template-columns:1fr}.photo-detail-copy{padding:20px}.photo-full{height:40dvh}}
.photo-cleanup{border:1px solid var(--line);border-radius:20px;background:var(--surface);padding:22px;margin-top:28px}.photo-cleanup summary{font-size:18px;font-weight:600;cursor:pointer}.photo-cleanup p,.photo-cleanup small{color:var(--muted);font-size:13px;line-height:1.6}.photo-cleanup button{min-height:44px;padding:10px 15px;border:1px solid var(--line);border-radius:12px;background:var(--surface-2);color:var(--text);font:inherit;cursor:pointer;margin:4px}.photo-duplicate-groups>section{border-top:1px solid var(--line);padding:15px 0}.photo-duplicate-groups section>div{display:flex;gap:12px;overflow:auto}.photo-duplicate-groups img{width:150px;height:130px;object-fit:contain;border-radius:12px;background:var(--surface-2)}
/* Dom opowieści: paper spreads and independent mobile pages. */
.album-brand{display:flex;justify-content:space-between;align-items:center;margin:18px 0 28px}.album-brand h1{font-size:25px;margin:0}.album-brand p{margin:5px 0;color:var(--muted,#9caac0);letter-spacing:.12em;font-size:11px;text-transform:uppercase}.album-brand>span{font-family:Georgia,serif;font-style:italic;color:var(--muted,#9caac0)}
.album-shell{display:grid;grid-template-columns:140px minmax(0,1fr);gap:24px}.album-rail{display:flex;flex-direction:column;gap:8px;padding-top:30px}.album-rail button{background:transparent;border:0;text-align:left;padding:14px;color:inherit;border-radius:12px}.album-rail button[aria-pressed=true]{background:linear-gradient(110deg,#687fe32b,#49cbb51c);color:var(--text,#e7ecff)}.album-rail p{font:italic 14px/1.8 Georgia,serif;opacity:.5;margin:40px 14px}.album-main{min-width:0}.book-layout{max-width:1160px;margin:auto}.memory-book{display:grid;grid-template-columns:1fr 1fr;position:relative;background:url('/photo-book.png') center/100% 100%;padding:9% 5% 7%;min-height:620px;aspect-ratio:1.46;color:#493c31}.book-page{min-width:0;display:flex;flex-direction:column;padding:0 8%;position:relative}.book-heading{text-align:center;min-height:96px}.book-date{font:10px/1.5 system-ui,sans-serif;text-transform:uppercase;letter-spacing:.19em;color:#87735c;margin:0 0 9px}.book-heading h2{font:normal clamp(22px,2.5vw,35px)/1.12 Georgia,serif;letter-spacing:-.04em;margin:0;text-wrap:balance}.book-flourish{display:block;color:#ae895d;font:26px Georgia,serif;margin:4px}.book-continuation{font:italic 13px/1.6 Georgia,serif;text-align:center;min-height:96px;padding-top:24px;color:#87735c}.book-continuation span{margin:0 7px}.page-photos{display:grid;gap:18px;flex:1;align-content:center}.mounted-photo{margin:0;min-width:0}.mounted-photo button{display:block;position:relative;width:100%;padding:7px;background:#fffcf4;border:1px solid #d5c8b6;border-radius:1px;box-shadow:1px 4px 7px #47332126;aspect-ratio:1.95}.mounted-photo img{width:100%;height:100%;object-fit:contain;display:block;background:#eee7d9}.mounted-photo i{position:absolute;width:17px;height:17px;background:linear-gradient(135deg,#4b4238,#83715b);filter:drop-shadow(0 1px 1px #0003);clip-path:polygon(0 0,100% 0,0 100%);top:-2px;left:-2px}.mounted-photo i:nth-of-type(2){left:auto;right:-2px;transform:rotate(90deg)}.mounted-photo i:nth-of-type(3){top:auto;bottom:-2px;transform:rotate(-90deg)}.mounted-photo i:nth-of-type(4){top:auto;left:auto;bottom:-2px;right:-2px;transform:rotate(180deg)}.mounted-photo figcaption{font:italic 14px/1.4 Georgia,serif;color:#705e4b;text-align:center;padding:7px 3px 0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.book-page footer{display:flex;justify-content:space-between;margin-top:18px;padding-top:8px;border-top:1px solid #a48c622e;font:italic 10px Georgia,serif;color:#97836c}.book-pager{display:flex;justify-content:center;align-items:center;gap:18px;margin:18px 0 26px;font-size:12px;color:var(--muted,#9caac0)}.book-pager button{min-height:44px;min-width:44px;border:1px solid #8694b12b;border-radius:24px;background:transparent;color:inherit;padding:8px 15px}.book-pager button:disabled{opacity:.3}.book-empty{font:italic 20px/1.7 Georgia,serif;text-align:center}.album-shelf h2{font:32px Georgia,serif}.album-shelf>div{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:24px}.album-shelf>div>button{min-height:250px;padding:20px;border-radius:4px 14px 14px 4px;border:1px solid #7885a14a;background:linear-gradient(110deg,#344052,#152335);color:#f9e9cf;box-shadow:inset 7px 0 0 #a58f6b44,5px 10px 20px #0002;text-align:left}.album-shelf img{width:100%;height:150px;object-fit:cover;margin-bottom:15px}.album-shelf strong,.album-shelf small{display:block;margin:7px 0}.album-shelf strong{font:22px Georgia,serif}.album-shelf small{opacity:.65}.album-stage[hidden],.album-shelf[hidden],.album-library[hidden]{display:none}
[data-theme="light"] .memory-book{background-image:url('/photo-book-light.png')}
@media(max-width:1000px){.album-shell{grid-template-columns:1fr;gap:0}.album-rail{flex-direction:row;padding:0;gap:4px;margin-bottom:4px}.album-rail p{display:none}.memory-book{min-height:560px}.album-brand{margin-bottom:16px}}
@media(max-width:680px){.album-brand{margin:15px 0}.album-brand>span{display:none}.album-rail{justify-content:space-between;margin-bottom:22px}.album-rail button{font-size:12px;padding:12px 7px;min-height:44px}.memory-book,[data-theme="light"] .memory-book{display:block;aspect-ratio:auto;min-height:0;padding:26px 22px 20px;background:radial-gradient(ellipse at top right,#f9eedc,transparent 65%),linear-gradient(90deg,#d8cbb4 0,#eee5d4 2%,#faf4e8 6%,#f1e7d5 100%);border-radius:3px 12px 12px 3px;border:1px solid #bdab8f;box-shadow:inset 5px 0 9px #735c3f19,3px 4px 0 #c4b497,5px 8px 0 #7f7764,0 16px 35px #0003}.book-page{padding:0}.book-heading{min-height:0;margin-bottom:20px}.book-heading h2{font-size:29px}.book-date{font-size:9px}.page-photos{gap:22px}.mounted-photo button{aspect-ratio:1.65;padding:8px}.mounted-photo figcaption{font-size:15px;padding-top:10px}.book-page footer{margin-top:22px}.book-pager{gap:9px;flex-wrap:wrap;margin-top:22px}.book-pager button:last-child{flex-basis:100%;border:0}.album-shelf>div{grid-template-columns:1fr 1fr;gap:12px}.album-shelf>div>button{padding:15px;min-height:200px}.album-shelf strong{font-size:19px}.album-shelf img{height:110px}}
@media(min-width:681px){.memory-book{box-sizing:border-box;padding:9% 7% 10%;min-height:0}.book-heading,.book-continuation{min-height:75px}.book-heading h2{font-size:clamp(20px,2.3vw,31px)}.page-photos{gap:14px}.mounted-photo button{aspect-ratio:2.5}.book-page footer{margin-top:10px}.mounted-photo figcaption{font-size:13px}}
.album-editor{padding:26px}.album-editor label{display:block;margin:16px 0}.album-editor input:not([type=checkbox]){display:block;width:100%;padding:12px}.album-order{display:grid;grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:14px;max-height:50vh;overflow:auto}.album-order img{display:block;width:100%;height:100px;object-fit:contain}.album-order button{min-width:44px;min-height:44px}.album-editor button{padding:10px;margin:4px}.mounted-photo.portrait button{aspect-ratio:1.6}
.book-status:empty{display:none}.book-status{padding:12px;color:var(--muted)}
.album-editor{width:min(680px,92vw)}.album-editor form{display:block}.album-editor h2{font:30px Georgia,serif}.album-editor label:has(input[type=checkbox]){display:flex;align-items:center;gap:10px}.album-editor input[type=checkbox]{width:20px;height:20px;margin:0}.album-order>div{padding:12px;border:1px solid var(--line,#6c779333);border-radius:12px}.album-editor [type=submit]{margin-top:22px;width:100%;background:linear-gradient(100deg,#526dae,#507f8d);color:white}.album-shelf>header{position:static;display:block;height:auto;background:none;padding:12px 0 24px}.album-shelf>header p,.album-shelf>header h2{display:block;position:static}
.photo-source{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin:0 0 22px;font-size:13px}.photo-source select{padding:11px 16px;border-radius:12px;background:var(--surface,#19243a);color:var(--text,#e7ecff);border:1px solid var(--line,#65708844);min-width:210px}.photo-source small{color:var(--muted,#98a5bd)}
/* Keep the photographs inside the physical page, including portrait originals. */
.photo-library-entry{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px 22px;margin-bottom:16px;border:1px solid var(--line);border-radius:18px;background:linear-gradient(110deg,color-mix(in srgb,var(--cyan) 7%,var(--surface)),var(--surface))}.photo-library-entry p{margin:6px 0 0;color:var(--muted);font-size:13px}.photo-library-entry button{flex-shrink:0;padding:12px 18px;min-height:44px;border:1px solid var(--line);border-radius:24px;background:var(--surface);color:var(--text);cursor:pointer}
.memory-book{height:auto;aspect-ratio:1.46;min-height:0;padding:10% 7% 11%;box-sizing:border-box}.book-page{min-height:0;display:grid;grid-template-rows:76px minmax(0,1fr) 25px;gap:8px}.book-heading,.book-continuation{min-height:0;margin:0;padding-top:0}.book-heading h2{font-size:clamp(20px,2vw,29px)}.page-photos{min-height:0;grid-template-rows:repeat(2,minmax(0,1fr));gap:12px;align-content:stretch}.mounted-photo{min-height:0;display:grid;grid-template-rows:minmax(0,1fr) 24px;gap:4px}.mounted-photo button,.mounted-photo.portrait button{aspect-ratio:auto;min-height:0;height:100%;box-sizing:border-box;overflow:hidden}.mounted-photo img{min-height:0;max-height:100%;object-fit:contain}.mounted-photo figcaption{padding:0 3px;font-size:12px;line-height:20px;-webkit-line-clamp:1}.book-page footer{margin:0;padding-top:6px}.book-pager{flex-wrap:wrap;position:relative;margin-top:26px}
.memory-book.book-compact,[data-theme="light"] .memory-book.book-compact{display:block;aspect-ratio:auto;max-width:540px;margin:auto;padding:28px clamp(20px,5vw,42px);background:radial-gradient(ellipse at top right,#f9eedc,transparent 65%),linear-gradient(90deg,#d8cbb4,#faf4e8 6%,#f1e7d5);border-radius:3px 12px 12px 3px;border:1px solid #bdab8f;box-shadow:inset 5px 0 9px #735c3f19,3px 4px 0 #c4b497,5px 8px 0 #7f7764,0 16px 35px #0002}.book-compact .book-page{padding:0;grid-template-rows:auto auto 25px;gap:18px}.book-compact .book-heading h2{font-size:28px}.book-compact .page-photos{grid-template-rows:repeat(2,auto);gap:20px}.book-compact .mounted-photo{grid-template-rows:auto 24px}.book-compact .mounted-photo button{height:auto;aspect-ratio:1.55}.book-compact .mounted-photo img{position:absolute;inset:8px;width:calc(100% - 16px);height:calc(100% - 16px)}
@media(max-width:680px){.photo-library-entry{align-items:stretch;flex-direction:column}.photo-source{align-items:stretch;flex-direction:column}.photo-source select{width:100%}.book-compact .book-heading h2{font-size:25px}}
.photo-timeline[hidden]{display:none}.photo-timeline>header{position:static;display:block;background:none;height:auto;padding:20px 0}.photo-timeline h2{font:32px Georgia,serif;margin:10px 0}.photo-timeline p{color:var(--muted);line-height:1.6}.photo-months{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px;max-height:300px;overflow:auto;padding:4px}.photo-months button,.photo-date-tools button{border:1px solid var(--line);border-radius:14px;padding:14px;background:var(--surface);color:var(--text);text-align:left;cursor:pointer;min-height:44px}.photo-months small,.photo-events small{display:block;margin-top:7px;color:var(--muted)}.photo-events{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:18px}.photo-events button{padding:12px;border:1px solid var(--line);border-radius:16px;background:var(--surface);color:var(--text);text-align:left;cursor:pointer}.photo-events img{width:100%;height:150px;object-fit:contain;background:color-mix(in srgb,var(--cyan) 5%,var(--surface));border-radius:8px;margin-bottom:12px}.photo-date-tools{margin-top:26px;padding:22px;border:1px solid var(--line);border-radius:18px}.photo-date-tools button{margin:4px}.photo-filters{flex-wrap:wrap}@media(max-width:1000px){.album-rail{flex-wrap:wrap}}
.photo-themes[hidden],.photo-videos[hidden]{display:none}.photo-themes>header,.photo-videos>header{position:static;display:block;background:none;height:auto;padding:20px 0}.photo-themes h2,.photo-videos h2{font:32px Georgia,serif}.photo-themes p,.photo-videos p{color:var(--muted);line-height:1.7}.photo-theme-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:16px}.photo-theme-grid button{padding:24px;border:1px solid var(--line);border-radius:22px;color:var(--text);background:radial-gradient(ellipse at top right,color-mix(in srgb,var(--cyan) 16%,transparent),transparent),var(--surface);text-align:left;cursor:pointer}.photo-theme-grid span{display:block;font-size:36px;margin-bottom:18px}.photo-theme-grid small,.photo-theme-grid strong{display:block;margin:6px 0}.photo-theme-grid button:disabled{opacity:.45;cursor:default}.photo-category-editor{grid-column:1/-1;border:1px solid var(--line);border-radius:14px;padding:15px;display:flex;flex-wrap:wrap;gap:14px}.photo-category-editor label{font-size:13px}.photo-select-page,.photo-videos button{padding:12px;border:1px solid var(--line);background:var(--surface);color:var(--text);border-radius:14px;cursor:pointer}.photo-video-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:18px;margin:22px 0}.photo-video-grid button{text-align:left;position:relative;min-width:0}.photo-video-grid img{width:100%;height:160px;object-fit:contain;background:#101624;border-radius:10px}.photo-video-grid span{position:absolute;top:75px;left:45%;background:#151b30c9;border-radius:50%;padding:12px;color:#fff}.photo-video-grid strong{display:block;overflow-wrap:anywhere;padding:12px 4px}.photo-video-status{padding:15px}.album-order button{font-size:12px}
.photo-theme-grid button{position:relative;overflow:hidden;min-height:180px}.photo-theme-grid button:has(img){padding-top:126px;background:#172031;color:#fff}.photo-theme-grid img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.45}.photo-theme-grid button:has(img):after{content:'';position:absolute;inset:0;background:linear-gradient(transparent,#142031e8);pointer-events:none}.photo-theme-grid button>*:not(img){position:relative;z-index:1}.photo-theme-grid button:has(img)>span{display:none}.photo-duplicate-groups button{padding:10px;border:1px solid var(--line);background:var(--surface);color:var(--text);border-radius:10px}

.photo-people-grid,.people-collections{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:18px;margin:24px 0}.photo-people-grid button{display:grid;gap:10px;text-align:left;padding:24px;border-radius:24px;background:var(--surface);color:inherit;border:1px solid var(--line)}.photo-people-grid span{font-size:32px;color:var(--cyan)}.photo-people form{display:grid;gap:12px;max-width:560px;margin:20px 0}.photo-people label{display:grid;gap:6px}.photo-people fieldset label{display:flex;align-items:center;gap:8px}.photo-people input,.photo-people select{font:inherit;color:inherit;background:var(--surface);padding:12px;border-radius:12px;border:1px solid var(--line)}.photo-people aside{padding:20px;border-radius:20px;background:var(--surface)}
.photo-people button{min-height:44px;padding:11px 18px;border-radius:16px;border:1px solid var(--line);background:var(--surface-2);color:var(--text);font:inherit;cursor:pointer}.photo-people button:hover{border-color:var(--cyan)}.photo-people button:disabled{opacity:.5;cursor:wait}.photo-people-grid{grid-template-columns:repeat(auto-fill,minmax(180px,260px))}.photo-people-grid button{min-height:170px;align-content:center;background:linear-gradient(145deg,color-mix(in srgb,var(--cyan) 9%,var(--surface)),var(--surface))}.photo-people details{padding:20px;border:1px solid var(--line);border-radius:22px;background:var(--surface)}.photo-people summary{cursor:pointer;font-weight:600}.photo-people fieldset{border:1px solid var(--line);border-radius:14px;padding:14px}.people-collections>section{padding:22px;border-radius:22px;background:var(--surface)}.photo-people small,.photo-people p{color:var(--muted);line-height:1.6}.photo-people h2{font-family:Georgia,serif;font-size:clamp(28px,4vw,44px);font-weight:500}.photo-people-grid strong{font-size:19px}.photo-people input[type=checkbox]{accent-color:var(--cyan)}
/* Personal album notes stay separate from technical filenames. */
.album-photo-note,.photo-note-editor textarea{font-family:Georgia,'Times New Roman',serif;font-style:italic;font-weight:400;line-height:1.55;white-space:pre-wrap;overflow-wrap:anywhere}.photo-note-editor{grid-column:1/-1}.photo-note-editor textarea{display:block;box-sizing:border-box;width:100%;padding:14px 16px;resize:vertical;color:var(--text);background:var(--surface);border:1px solid var(--line);border-radius:12px;font-size:18px}.photo-note-editor small,.photo-file-details{color:var(--muted);font-size:12px}.photo-file-details p{overflow-wrap:anywhere}.photo-caption b:empty{display:none}
.photo-recognition[hidden]{display:none}.recognition-heading{display:flex;justify-content:space-between;align-items:center;gap:24px}.recognition-heading h2,.recognition-empty h3{font:normal clamp(26px,3vw,40px)/1.2 Georgia,serif;letter-spacing:-.035em}.recognition-heading p,.recognition-names>p{color:var(--muted);max-width:52ch}.recognition-toolbar{display:flex;gap:10px;margin:24px 0}.recognition-toolbar [aria-pressed=true]{background:var(--text);color:var(--surface)}.recognition-body{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(240px,1fr);align-items:start;gap:30px;margin-top:24px}.recognition-photo{position:relative;background:var(--surface);border:8px solid var(--surface);box-shadow:0 12px 40px #0002;border-radius:6px;overflow:hidden}.recognition-photo>img{display:block;width:100%;height:auto}.recognition-box{position:absolute;border:2px solid #ffe5a0;box-sizing:border-box;border-radius:5px;box-shadow:0 0 0 1px #342738}.recognition-box b{position:absolute;left:0;top:0;font:600 12px system-ui;color:#2b203a;background:#ffe5a0;padding:3px 7px;border-radius:0 0 7px 0}.recognition-names form{display:grid;gap:10px;padding:18px 0;border-bottom:1px solid var(--line)}.recognition-names label{display:grid;gap:8px}.recognition-names select{width:100%}.recognition-pager{display:flex;gap:10px;align-items:center;margin-top:24px}.recognition-progress{font-size:13px;color:var(--muted)}.recognition-empty{grid-column:1/-1;padding:40px;background:var(--surface);border:1px solid var(--line);border-radius:20px}.photo-file-details{margin:12px 0}.photo-caption{min-height:52px}.mounted-photo figcaption:empty{visibility:hidden}.recognition-names button{min-height:44px}.album-rail{position:sticky;top:95px;align-self:start}.photo-theme-grid button{overflow:hidden}.photo-theme-grid button>img{transition:transform .3s}.photo-theme-grid button:hover>img{transform:scale(1.03)}@media(max-width:760px){.recognition-heading{display:block}.recognition-body{grid-template-columns:1fr;gap:18px}.recognition-photo{max-width:500px;margin:auto}.recognition-heading h2{font-size:30px}.album-rail{position:static;overflow-x:auto;flex-wrap:nowrap;padding-bottom:10px;justify-content:flex-start}.album-rail button{white-space:nowrap;flex:none}.recognition-names form{grid-template-columns:1fr auto;align-items:end}.recognition-names small,.recognition-names form p{grid-column:1/-1}}@media(prefers-reduced-motion:reduce){.photo-theme-grid button>img{transition:none}}
.photo-comparison{width:min(1400px,96vw);padding:18px}.photo-comparison h2{font:normal 27px Georgia,serif}.photo-comparison>p{max-width:75ch;color:var(--muted)}.comparison-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:20px}.comparison-grid figure{margin:0;display:grid;gap:10px;align-content:start}.comparison-grid img{width:100%;height:48dvh;object-fit:contain;background:var(--surface);border-radius:12px}.comparison-grid figcaption{font:italic 17px Georgia,serif}.comparison-grid button{min-height:44px}.photo-batch{flex-wrap:wrap}.photo-batch button{min-height:40px}@media(max-width:680px){.comparison-grid{grid-template-columns:1fr}.comparison-grid img{height:44dvh}.photo-comparison h2{font-size:22px}}
.album-rail{scrollbar-width:thin;scrollbar-color:var(--line) transparent}.album-rail::-webkit-scrollbar{height:3px}.album-rail::-webkit-scrollbar-thumb{background:var(--line);border-radius:10px}.photo-batch [hidden]{display:none!important}.recognition-names select{min-height:44px;background:var(--surface);color:var(--text);border:1px solid var(--line);border-radius:10px;padding:8px}.recognition-heading button,.recognition-toolbar button,.recognition-names button{border:1px solid var(--line);border-radius:12px;padding:10px 16px;font:inherit;cursor:pointer;background:var(--surface);color:var(--text)}
@media(max-width:600px){.photo-library-entry{padding:16px!important}.photo-library-entry p{margin:6px 0!important}.album-brand{padding-top:12px!important}.photo-filters{flex-wrap:wrap}.photo-filters label{min-width:100px;flex:1}.photo-filters .photo-search{flex-basis:100%}.photo-batch{position:static}.photos-grid{gap:12px}.photo-caption{padding:10px}.photo-open{height:180px}}
/* Dedicated app composition: a personal photo studio, separate from the portal. */
.native-photos .site-header{justify-content:flex-end;min-height:54px;padding:8px 24px;background:var(--bg)}.native-photos .site-header>.brand,.native-photos #desktop-nav,.native-photos #account{display:none}.native-photos .site-header>a:first-child{display:none}.native-photos .site-footer{display:none}.native-photos #app{padding:14px 28px 32px}.native-album>.album-brand{display:none}.native-album .photo-library-entry{display:none}.native-album .album-shell{grid-template-columns:175px minmax(0,1fr);gap:30px}.native-album .photo-source{justify-content:flex-end;margin:0 0 18px}.native-album .photo-source small{display:none}.native-album .album-rail{top:16px}.native-album .album-rail button{display:flex;gap:12px;align-items:center;padding:13px 12px;border-radius:13px;text-align:left}.native-album .album-rail button>span{font-size:23px;color:var(--cyan);width:24px;text-align:center}.native-album .album-rail button[aria-pressed=true]{background:linear-gradient(110deg,color-mix(in srgb,var(--cyan) 14%,var(--surface)),color-mix(in srgb,var(--violet) 17%,var(--surface)));box-shadow:0 5px 20px #00000008}.native-photo-home[hidden]{display:none}.native-memory-hero{height:clamp(290px,32vw,440px);position:relative;border-radius:28px;overflow:hidden;background:linear-gradient(120deg,#162b42,#544571)}.native-memory-hero>img{position:absolute;right:0;top:0;width:72%;height:100%;object-fit:cover}.native-memory-hero:after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#15283ff5 0%,#15283fa0 40%,transparent 85%)}.native-memory-hero>div{position:relative;z-index:2;color:#fff;padding:clamp(25px,4vw,54px)}.native-memory-hero p{letter-spacing:.18em;font-size:10px;color:#eee8d5}.native-memory-hero h2{font:normal clamp(40px,5vw,66px)/1.05 Georgia,serif;letter-spacing:-.05em;margin:18px 0 26px}.native-memory-hero em{font-weight:normal;color:#eed6a8}.native-memory-hero button{border:1px solid #ffffff55;background:#ffffff18;color:#fff;border-radius:99px;padding:12px 20px;backdrop-filter:blur(12px)}.native-memory-hero>i{position:absolute;z-index:1;width:85%;height:65%;bottom:-30%;right:-10%;border:3px solid #67dedd;border-radius:50%;box-shadow:0 -10px 28px #67dedd55,0 -24px 40px #b488da55;transform:rotate(-17deg);pointer-events:none}.native-photo-entries{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin:22px 0 36px}.native-photo-entries button{display:grid;grid-template-columns:36px 1fr;gap:5px 12px;text-align:left;padding:22px 16px;border:1px solid var(--line);border-radius:19px;background:var(--surface);color:var(--text)}.native-photo-entries span{grid-row:span 2;font:32px Georgia;color:var(--cyan)}.native-photo-entries strong{font-size:14px}.native-photo-entries small{font-size:11px;color:var(--muted)}.native-recent-title{display:flex;align-items:center;justify-content:space-between;gap:10px}.native-recent-title h3{font:normal 28px Georgia,serif}.native-recent-title button{background:none;border:none;color:var(--muted)}.native-photo-recent{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.native-photo-recent button{background:var(--surface);border:1px solid var(--line);border-radius:8px;padding:10px 10px 15px;box-shadow:0 7px 25px #0000000a;min-width:0}.native-photo-recent img{width:100%;height:200px;object-fit:contain}.native-photo-recent span{display:block;font:italic 15px Georgia;color:var(--muted);margin-top:8px}.native-photo-recent span:empty{display:none}
@media(max-width:760px){.native-photos #app{padding:10px 16px 92px}.native-photos .site-header{padding:6px 16px}.native-album .album-shell{display:block}.native-album .album-rail{position:fixed;z-index:25;bottom:0;top:auto;left:0;right:0;padding:9px 12px calc(8px + env(safe-area-inset-bottom));background:var(--surface);border-top:1px solid var(--line);gap:6px;box-shadow:0 -8px 28px #0000000d}.native-album .album-rail button{display:flex;flex-direction:column;gap:4px;min-width:72px;padding:6px 8px;font-size:10px;align-items:center;text-align:center}.native-album .album-rail p{display:none}.native-album .photo-source{display:flex;flex-wrap:nowrap;gap:12px;font-size:11px;margin-bottom:16px}.native-album .photo-source select{min-width:0;width:auto;flex:1}.native-memory-hero{height:340px;border-radius:22px}.native-memory-hero>img{width:100%}.native-memory-hero:after{background:linear-gradient(90deg,#15283fdd,#15283f22)}.native-memory-hero>div{padding:26px}.native-memory-hero h2{font-size:45px;margin-top:25px}.native-photo-entries{grid-template-columns:1fr;gap:10px;margin:16px 0 25px}.native-photo-entries button{padding:15px 18px}.native-photo-entries strong{font-size:16px}.native-photo-entries small{font-size:12px}.native-photo-recent{grid-template-columns:1fr 1fr;gap:12px}.native-photo-recent img{height:180px}.native-recent-title h3{font-size:23px}.native-recent-title button{font-size:11px}}
.native-album .photo-nav-more{display:none!important}@media(max-width:760px){.native-album .album-rail{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));overflow:visible}.native-album .album-rail button{min-width:0;font-size:9px;padding:6px 2px}.native-album .album-rail button[data-section]{display:none}.native-album .album-rail button[data-section=home],.native-album .album-rail button[data-section=photos],.native-album .album-rail button[data-section=albums],.native-album .album-rail button[data-section=people]{display:flex}.native-album .photo-nav-more{display:flex!important}.native-album .album-rail.expanded{grid-template-columns:repeat(3,minmax(0,1fr));border-radius:24px 24px 0 0;padding-top:20px}.native-album .album-rail.expanded button[data-section]{display:flex}.native-album .album-rail.expanded button{min-height:62px}}
.native-photos #family-bottom-nav,.native-photos #menu{display:none!important}.photo-detail video{display:block;max-width:100%;width:100%;height:min(62dvh,680px);object-fit:contain;background:#080b13}.photo-video-grid button{min-width:0}.photo-video-grid strong{overflow-wrap:anywhere}
