/* The album shares the personal space palette; records stay on the page, without card frames. */
.lb-page,.lb-detail,.lb-entry,#dialog[data-kind^="lb-"]{--lb-brick:#a43820;--lb-ink:#412e24;--lb-muted:#8b735f;--lb-olive:#77774b;--lb-line:#dfcfb9;color:var(--lb-ink)}
.lb-page,.lb-detail{max-width:900px;margin:0 auto}.lb-page [hidden],.lb-detail [hidden],#dialog[data-kind^="lb-"] [hidden]{display:none!important}
.lb-page svg,.lb-detail svg,.lb-entry svg,#dialog[data-kind^="lb-"] svg{width:17px;height:17px;flex-shrink:0}
body[data-ui-shell=community] :is(.lb-page,.lb-detail) .button,#dialog[data-kind^="lb-"] .button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:42px;border:0;border-radius:24px;padding:10px 19px;background:var(--lb-brick);color:#fffcf7;font-size:12px;font-weight:500;box-shadow:none}
body[data-ui-shell=community] :is(.lb-page,.lb-detail) .button.outline,#dialog[data-kind^="lb-"] .button.outline{background:transparent;color:var(--lb-muted);border:1px solid var(--lb-line)}
.lb-page button:disabled,.lb-detail button:disabled,#dialog[data-kind^="lb-"] button:disabled{opacity:.4;cursor:default}
.lb-page :is(a,button):focus-visible,.lb-detail :is(a,button):focus-visible,#dialog[data-kind^="lb-"] :is(a,button,label:has(input)):focus-visible{outline:2px solid var(--lb-brick);outline-offset:4px}
.lb-space-topbar{display:grid;grid-template-columns:1fr auto 1fr;gap:12px;align-items:center;padding-bottom:18px;border-bottom:1px solid var(--lb-line);font-size:11px;color:var(--lb-muted)}
.lb-space-topbar a{display:inline-flex;align-items:center;gap:6px;min-height:36px;width:fit-content}.lb-space-topbar>a:last-child{justify-self:end;color:var(--lb-brick)}.lb-space-topbar>span{font-size:13px;letter-spacing:.06em}
.lb-space-identity{display:flex;align-items:center;gap:22px;padding:28px 0 29px}.lb-space-symbol{display:grid;place-items:center;width:72px;height:72px;flex-shrink:0;border:1px solid #d5bfa2;border-radius:50%;background:#eee4d3;color:var(--lb-brick)}.lb-space-symbol svg{width:29px;height:29px;stroke-width:1.4}
body[data-ui-shell=community] .lb-space-identity h1{font-size:30px;line-height:1.4;letter-spacing:-.03em;margin:0 0 7px;color:var(--lb-ink)}.lb-space-identity>div{min-width:0;flex:1}.lb-space-identity p{font-size:13px;line-height:1.8;margin:0;color:var(--lb-muted)}.lb-space-identity small{display:block;font-size:10px;color:#9e876e;margin-top:9px}.lb-space-identity .lb-create{flex-shrink:0;align-self:center}.lb-create-short{display:none}
.lb-album-toolbar{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:21px 0 24px}.lb-filters{display:flex;gap:6px;flex-wrap:wrap}.lb-filters button{font-size:11px;padding:7px 12px;min-height:34px;color:var(--lb-muted);border:0;border-radius:18px;background:transparent}.lb-filters button[aria-pressed=true]{color:var(--lb-olive);background:#e8e5d4;font-weight:600}.lb-album-tools{display:flex;align-items:center;gap:12px;flex-shrink:0}.lb-album-tools a,.lb-album-tools button{display:inline-flex;align-items:center;gap:5px;font-size:11px;color:var(--lb-muted);min-height:36px}.lb-album-tools button{width:36px;justify-content:center;border-radius:50%;background:#ece2d2}.lb-album-tools a[aria-current=page]{color:var(--lb-brick)}
.lb-photo-wall,.lb-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:25px 17px}.lb-card{min-width:0;padding:0;border:0;border-radius:0;box-shadow:none;background:transparent;margin:0;overflow:visible}.lb-card>a{display:block;text-decoration:none;color:inherit}.lb-cover{position:relative;aspect-ratio:1;overflow:hidden;border-radius:9px;background:#e7dcc8}.lb-cover>img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .25s ease}.lb-photo-count{position:absolute;right:9px;bottom:9px;display:flex;align-items:center;gap:5px;font-size:10px;padding:4px 8px;border-radius:12px;background:#fffcf7ed;color:#72543c}.lb-photo-count svg{width:12px;height:12px}
.lb-card-copy{padding:12px 1px 0}.lb-meta{display:flex;align-items:baseline;justify-content:space-between;gap:7px;flex-wrap:wrap;font-size:10px;color:#9e876e;line-height:1.5}.lb-meta span{font-size:9px;color:var(--lb-olive)}
body[data-ui-shell=community] .lb-card h2{font-size:15px;line-height:1.6;font-weight:550;letter-spacing:0;margin:7px 0 0;overflow-wrap:anywhere;color:var(--lb-ink)}.lb-card footer{display:flex;align-items:center;gap:5px;margin-top:7px;font-size:10px;line-height:1.6;color:var(--lb-muted)}.lb-card footer svg{width:12px;height:12px}.lb-card footer span{overflow-wrap:anywhere;min-width:0}
.lb-text-records{margin-top:32px}.lb-text-records>h2{font-size:11px;font-weight:500;color:#a0886e;letter-spacing:.06em;margin:0 0 7px}.lb-text-records:first-child{margin-top:0}.lb-text-record{border-bottom:1px solid var(--lb-line)}.lb-text-record>a{padding:19px 0}.lb-text-record .lb-card-copy{padding:0}.lb-text-record h2{font-size:18px!important;margin-top:8px!important}.lb-text-record p{font-size:13px;line-height:1.9;color:#80654e;white-space:pre-wrap;overflow-wrap:anywhere;margin:7px 0 0;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.lb-note{display:flex;align-items:center;justify-content:center;gap:7px;font-size:10px;line-height:1.8;color:#a08870;margin:33px 0 16px}.lb-note svg{width:13px;height:13px}.lb-empty{text-align:center;padding:45px 18px 55px;background:transparent;border:0;border-radius:0;color:var(--lb-muted)}.lb-empty>span{display:inline-grid;place-items:center;width:50px;height:50px;border:1px solid #d6c4aa;border-radius:50%;color:var(--lb-olive);margin-bottom:9px}.lb-empty>span svg{width:23px;height:23px}.lb-empty h2{font-size:20px;font-weight:500;line-height:1.6;color:#78573f;margin:10px 0}.lb-empty p{font-size:12px;line-height:1.9;margin:0 0 19px}.lb-more{display:flex;align-items:center;gap:7px;margin:27px auto;min-height:40px;padding:9px 20px;border:1px solid var(--lb-line);border-radius:22px;color:var(--lb-muted);font-size:11px;background:transparent}
.lb-entry{display:flex;align-items:center;gap:16px;padding:20px 0;margin:15px 0;border-top:1px solid var(--lb-line);border-bottom:1px solid var(--lb-line);background:transparent}.lb-entry>div{flex:1}.lb-entry h2{font-size:17px;margin:0 0 5px}.lb-entry p{font-size:12px;color:var(--lb-muted);margin:0}.lb-entry-symbol{width:43px;height:43px;border-radius:50%;background:#e9dfcb;display:grid;place-items:center;color:var(--lb-brick)}
.lb-breadcrumb{display:flex;justify-content:space-between;align-items:center;gap:15px;font-size:11px;color:var(--lb-muted);padding:5px 0 18px;margin-bottom:19px;border-bottom:1px solid var(--lb-line)}.lb-breadcrumb a,.lb-breadcrumb span{display:inline-flex;align-items:center;gap:6px;min-height:32px}.lb-story{background:transparent;border:0;border-radius:0;box-shadow:none}.lb-gallery{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}.lb-gallery button{position:relative;border:0;padding:0;aspect-ratio:1;overflow:hidden;border-radius:6px;background:#e7dcc8}.lb-gallery button:first-child{grid-column:1/-1;aspect-ratio:16/10;border-radius:10px}.lb-gallery img{display:block;width:100%;height:100%;object-fit:cover}.lb-gallery button:first-child img{object-fit:contain}.lb-gallery button>span{position:absolute;left:14px;bottom:13px;display:inline-flex;gap:7px;align-items:center;padding:6px 11px;border-radius:16px;background:#fffcf7ed;color:#72543c;font-size:10px}.lb-story-head{padding:24px 0 0}.lb-eyebrow{font-size:10px;color:var(--lb-olive)}
body[data-ui-shell=community] .lb-story h1{font-size:29px;line-height:1.5;letter-spacing:-.02em;font-weight:600;margin:10px 0 14px;overflow-wrap:anywhere;color:var(--lb-ink)}.lb-author{display:inline-flex;align-items:center;gap:7px;font-size:11px;color:var(--lb-muted)}.lb-author strong{font-weight:500}.lb-story-copy{padding:21px 0 25px}.lb-story-copy>p{font-size:15px;line-height:1.95;white-space:pre-wrap;overflow-wrap:anywhere;color:#70543e;margin:0}.lb-reference{display:flex;align-items:center;gap:10px;padding:15px 0;margin-top:23px;border-top:1px solid var(--lb-line);border-bottom:1px solid var(--lb-line);color:var(--lb-muted)}.lb-reference>div{flex:1;min-width:0}.lb-reference small{display:block;font-size:10px;margin-bottom:4px}.lb-reference strong{font-size:12px;font-weight:500;overflow-wrap:anywhere}.lb-reference.is-unavailable{font-size:11px}.lb-detail-actions{display:flex;align-items:center;flex-wrap:wrap;gap:10px;border-top:1px solid var(--lb-line);padding-top:19px;margin-bottom:25px}
#dialog[data-kind^="lb-"]{background:#fffcf7;border-radius:22px}#dialog[data-kind^="lb-"] .dialog-header{border-bottom:1px solid #e5d7c3}#dialog[data-kind^="lb-"] .dialog-header h2{font-size:16px;font-weight:550;color:var(--lb-ink)}#dialog[data-kind^="lb-"] .dialog-header>button{border-radius:50%}
.lb-compose-intro{display:flex;justify-content:space-between;flex-wrap:wrap;gap:7px;align-items:center;margin-bottom:18px;font-size:12px;color:var(--lb-muted)}.lb-compose-intro span{display:inline-flex;gap:5px;align-items:center}.lb-compose-intro small{font-size:10px;color:var(--lb-olive)}.lb-photo-tray{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-bottom:17px}.lb-photo-tile,.lb-add-photo{aspect-ratio:4/3;border-radius:8px;overflow:hidden;position:relative}.lb-photo-tile img{width:100%;height:100%;object-fit:cover}.lb-photo-tile>button{position:absolute;right:5px;top:5px;display:grid;place-items:center;width:29px;height:29px;background:#fffcf7ed;border-radius:50%;color:var(--lb-brick)}.lb-add-photo{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;background:#f4efe5;border:1px dashed #cdb79a;color:var(--lb-muted);font-size:11px;cursor:pointer}.lb-add-photo>svg{width:25px;height:25px}
#lb-compose .lb-title-input,#lb-compose .lb-body-input{display:block;width:100%;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;padding:12px 0!important;resize:vertical;color:var(--lb-ink)!important;outline-offset:3px}#lb-compose .lb-title-input{font-size:23px!important;font-weight:550}#lb-compose .lb-body-input{font-size:14px!important;line-height:1.85;min-height:130px}#lb-compose input::placeholder,#lb-compose textarea::placeholder{color:#ab957d}#lb-compose :is(.lb-title-input,.lb-body-input):focus{outline:0;border-bottom:1px solid #b87956!important}
.lb-compose-tools{display:grid;gap:16px;padding-top:17px;border-top:1px solid var(--lb-line)}.lb-date-input{display:flex;align-items:center;flex-wrap:wrap;gap:8px;font-size:11px;color:var(--lb-muted)}#lb-compose .lb-date-input input{width:auto;border:1px solid var(--lb-line);border-radius:18px;background:#f4efe5;color:#76573f;min-height:35px;padding:6px 11px;font-size:12px}.lb-kind-options{display:flex;gap:6px;flex-wrap:wrap}.lb-kind-options button{display:flex;align-items:center;gap:5px;border:0;border-radius:18px;padding:8px 12px;font-size:11px;color:var(--lb-muted);background:#f4efe5}.lb-kind-options button[aria-pressed=true]{background:#e6e4d2;color:var(--lb-olive)}.lb-link-picker{display:flex;align-items:center;gap:8px;text-align:left;padding:8px 0;min-height:38px;font-size:12px;color:var(--lb-muted)}.lb-link-picker span{flex:1;overflow-wrap:anywhere}.lb-privacy-options{display:grid;grid-template-columns:1fr 1fr;gap:12px}.lb-privacy-options button{display:flex;align-items:flex-start;gap:8px;text-align:left;padding:13px 12px;border:1px solid var(--lb-line);border-radius:12px;background:transparent;color:var(--lb-muted)}.lb-privacy-options button[aria-pressed=true]{border-color:var(--lb-olive);background:#f0efe3;color:var(--lb-olive)}.lb-privacy-options strong{font-size:12px;font-weight:500}.lb-privacy-options small{display:block;font-size:10px;line-height:1.6;margin-top:5px}.lb-compose-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;border-top:1px solid var(--lb-line);margin-top:20px;padding-top:16px}.lb-compose-footer small{font-size:10px;color:var(--lb-muted);line-height:1.7}.lb-feedback{font-size:12px;line-height:1.8;color:var(--lb-brick);margin:15px 0}.lb-feedback:empty{display:none}.lb-feedback button{text-decoration:underline}
.lb-preview-visibility{display:inline-flex;align-items:center;gap:7px;font-size:11px;color:var(--lb-olive);margin-bottom:15px}.lb-preview-photo{max-height:390px;margin-bottom:16px;border-radius:9px;overflow:hidden;background:#f4efe5}.lb-preview-photo img{display:block;max-height:390px;max-width:100%;margin:auto;object-fit:contain}.lb-preview>small{font-size:10px;color:var(--lb-muted)}.lb-preview h2{font-size:25px;line-height:1.5;margin:10px 0;overflow-wrap:anywhere}.lb-preview>p{font-size:14px;line-height:1.9;white-space:pre-wrap;overflow-wrap:anywhere;color:#70543e}
.lb-reference-picker>p,.lb-manage>p{font-size:12px;line-height:1.85;color:var(--lb-muted)}#lb-ref-search{display:flex;align-items:center;gap:9px;margin:17px 0}#lb-ref-search :is(input,select){min-width:0;border:1px solid var(--lb-line);border-radius:20px;background:#f4efe5;color:var(--lb-ink);padding:10px;font-size:12px}#lb-ref-search input{flex:1}#lb-ref-results>button{display:flex;align-items:center;gap:10px;text-align:left;border-bottom:1px solid var(--lb-line);padding:13px 0;width:100%;font-size:12px;color:var(--lb-muted)}#lb-ref-results>button span{flex:1}#lb-ref-results>p{font-size:12px;color:var(--lb-muted)}.lb-manage-choice{display:flex;align-items:center;gap:12px;text-align:left;padding:19px 0;width:100%;border-bottom:1px solid var(--lb-line);color:var(--lb-muted)}.lb-manage-choice>span{flex:1}.lb-manage-choice strong{font-size:13px;font-weight:500;color:var(--lb-ink)}.lb-manage-choice small{display:block;font-size:10px;line-height:1.7;margin-top:6px}
#dialog[data-kind="lb-photo"]{width:min(960px,calc(100vw - 34px));max-width:960px}.lb-lightbox-stage{position:relative;display:grid;grid-template-columns:40px minmax(0,1fr) 40px;align-items:center;gap:10px;min-height:180px}.lb-lightbox-stage>img{display:block;width:100%;height:min(59vh,620px);object-fit:contain;background:#f4efe5;border-radius:7px}.lb-photo-arrow{width:38px;height:38px;border:1px solid #d8c6ac;border-radius:50%;display:grid;place-items:center;background:#f4efe5;color:var(--lb-brick)}.lb-lightbox-caption{display:flex;align-items:baseline;justify-content:space-between;gap:15px;margin:15px 0;font-size:12px;color:var(--lb-muted)}.lb-lightbox-caption strong{font-weight:500;overflow-wrap:anywhere}.lb-lightbox-caption>span{flex-shrink:0;font-variant-numeric:tabular-nums;color:var(--lb-olive)}.lb-lightbox-thumbs{display:flex;align-items:center;justify-content:center;gap:8px;overflow-x:auto;padding:4px}.lb-lightbox-thumbs button{width:58px;height:50px;flex-shrink:0;border:2px solid transparent;border-radius:7px;padding:2px;background:transparent;opacity:.6}.lb-lightbox-thumbs button[aria-current=true]{border-color:var(--lb-brick);opacity:1}.lb-lightbox-thumbs img{width:100%;height:100%;object-fit:cover;border-radius:3px}.lb-lightbox-hint{text-align:center;font-size:10px;color:#a58c73;margin:11px 0 0}
/* Kept for existing activity recap consumers, never used as an album placeholder. */
.lb-art{width:160px;height:auto;stroke:#947657;stroke-width:1.2;stroke-linecap:round;stroke-linejoin:round;fill:none}.lb-orbit{stroke-dasharray:3 8;opacity:.35}.lb-pages{fill:#fffcf7}.lb-pages rect:first-child{fill:#dcc6a5}.lb-pages rect:nth-of-type(3){fill:#e5dfc7}.lb-leaf{fill:#dedfc5}
@media(hover:hover){.lb-photo-record>a:hover .lb-cover>img{transform:scale(1.025)}.lb-card>a:hover h2,.lb-album-tools :is(a,button):hover,.lb-space-topbar a:hover{color:var(--lb-brick)}.lb-text-record>a:hover{background:#fffcf74d}}
@media(max-width:640px){.lb-space-topbar{gap:8px;padding-bottom:12px}.lb-space-topbar a{font-size:10px}.lb-space-topbar>span{font-size:11px}.lb-space-identity{gap:13px;padding:22px 0}.lb-space-symbol{width:50px;height:50px}.lb-space-symbol svg{width:23px;height:23px}body[data-ui-shell=community] .lb-space-identity h1{font-size:25px;margin-bottom:5px}.lb-space-identity p{font-size:11px}.lb-space-identity small{font-size:9px;line-height:1.7}.lb-space-identity .lb-create{padding:9px 12px!important;min-height:37px!important;font-size:11px!important;align-self:flex-start;margin-top:3px}.lb-create>span:not(.lb-create-short){display:none}.lb-create-short{display:inline}.lb-create svg{width:14px;height:14px}.lb-album-toolbar{align-items:flex-start;gap:8px;margin:16px 0 21px}.lb-filters{gap:2px}.lb-filters button{font-size:10px;padding:6px 9px;min-height:32px}.lb-album-tools{gap:5px}.lb-album-tools a{font-size:10px}.lb-album-tools a svg{display:none}.lb-album-tools button{width:31px;min-height:31px}.lb-photo-wall,.lb-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:21px 12px}.lb-cover{border-radius:7px}.lb-card-copy{padding-top:9px}.lb-meta{font-size:9px;gap:4px}.lb-meta span{font-size:8px}body[data-ui-shell=community] .lb-card h2{font-size:13px;margin-top:6px}.lb-photo-count{bottom:7px;right:7px;font-size:9px;padding:3px 6px}.lb-text-record h2{font-size:16px!important}.lb-text-record p{font-size:12px}.lb-note{align-items:flex-start;font-size:9px;margin-top:26px}.lb-empty{padding:35px 5px 42px}.lb-empty h2{font-size:18px}.lb-empty p{font-size:11px}.lb-breadcrumb{font-size:10px;margin-bottom:16px}.lb-gallery{gap:5px}.lb-gallery button:first-child{aspect-ratio:1.2}.lb-gallery button>span{left:9px;bottom:9px;font-size:9px}.lb-story-head{padding-top:19px}body[data-ui-shell=community] .lb-story h1{font-size:24px}.lb-story-copy>p{font-size:14px}.lb-detail-actions{gap:8px}.lb-detail-actions .button{font-size:11px!important;padding:9px 13px!important}.lb-compose-intro{font-size:11px}.lb-compose-intro small{font-size:9px}.lb-photo-tray{gap:7px}.lb-add-photo{font-size:10px}.lb-privacy-options{gap:8px}.lb-privacy-options button{gap:6px;padding:11px 9px}.lb-privacy-options strong{font-size:11px}.lb-privacy-options small{font-size:9px}.lb-compose-footer .button{font-size:11px!important;padding:10px 14px!important}#lb-ref-search{flex-wrap:wrap}#lb-ref-search select{width:80px}#lb-ref-search input{width:calc(100% - 90px)}#dialog[data-kind="lb-photo"]{width:calc(100vw - 18px)}#dialog[data-kind="lb-photo"] .dialog-body{padding:14px}.lb-lightbox-stage{display:block}.lb-lightbox-stage>img{height:52vh}.lb-photo-arrow{position:absolute;top:calc(50% - 18px);left:7px;z-index:1;width:34px;height:34px;background:#fffcf7e8}.lb-photo-arrow:last-child{left:auto;right:7px}.lb-lightbox-caption{font-size:11px}.lb-lightbox-thumbs{gap:5px}.lb-lightbox-thumbs button{width:44px;height:42px}.lb-lightbox-hint{display:none}}
@media(prefers-reduced-motion:reduce){.lb-page *,.lb-detail *,.lb-entry *,#dialog[data-kind^="lb-"] *{animation:none!important;transition:none!important}.lb-photo-record>a:hover .lb-cover>img{transform:none}}
