/* Member-only layouts. Colours and typography inherit the shared Aurimmo tokens. */
.hybrid-app.member-app .shell{max-width:1280px;padding:32px 32px 0;min-height:calc(100dvh - 190px)}
.member-app .topbar{gap:24px}
.member-app .account-button{display:inline-flex;align-items:center;gap:8px}
.member-app .account-button>span{padding-left:0}
.member-app .account-credits{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
.member-app .skip-link{position:fixed;z-index:100;top:12px;left:12px;padding:12px 16px;border-radius:8px;background:var(--ink);color:white;transform:translateY(-200%)}
.member-app .skip-link:focus{transform:translateY(0)}
.home-hero{display:grid;grid-template-columns:1.08fr 1fr;background:var(--surface);border:1px solid var(--line);border-radius:16px;overflow:hidden;margin-bottom:24px;min-height:332px}
.home-hero-copy{padding:40px 42px;align-self:center;position:relative}
.home-hero-copy h1{font-size:clamp(36px,4.05vw,54px);line-height:1.08;letter-spacing:-.04em;max-width:570px}
.home-hero-copy .eyebrow{font-size:10px;margin-bottom:20px;letter-spacing:.15em}
.home-hero-copy .intro{max-width:480px;font-size:15px;line-height:1.6;margin-top:20px}
.home-actions{display:flex;gap:20px;align-items:center;flex-wrap:wrap;margin-top:26px}
.home-actions .button{gap:22px;padding-inline:24px}
.home-actions .text-link{font-size:13px}
.home-hero-visual{position:relative;min-width:0;background:var(--soft);min-height:320px}
.home-hero-visual>img{display:block;width:100%;height:100%;position:absolute;inset:0;object-fit:cover}
.hero-label{position:absolute;bottom:18px;left:18px;right:72px;width:fit-content;max-width:calc(100% - 90px);padding:7px 11px;border-radius:7px;background:var(--surface);font-size:11px;line-height:1.45;box-shadow:0 2px 12px #24231f0d}
.member-app .photo-open{bottom:16px;right:18px;background:var(--surface);color:var(--ink);box-shadow:0 2px 12px #24231f0d}
.member-app .creator-board{margin:0 0 36px;gap:16px;border:0;background:transparent;overflow:visible;border-radius:0}
.member-app .creator-metric{border:1px solid var(--line);border-radius:12px;padding:20px 22px;gap:5px;background:var(--surface);align-content:start;position:relative}
.member-app .creator-metric small{font-size:10px;letter-spacing:.11em;color:var(--muted)}
.member-app .creator-metric strong{font:30px/1.25 var(--font-ui);overflow-wrap:anywhere}
.member-app .creator-metric .metric-unit{font:13px/1.3 var(--font-ui);color:var(--muted);display:inline}
.member-app .creator-metric>span{font-size:12px;line-height:1.5}
.member-app .creator-metric .text-link{padding-bottom:0;margin-top:5px;justify-self:start;font-size:12px;min-height:36px}
.member-app .creator-account-action{background:var(--surface)}
.member-app .section-heading{margin:0 0 20px;align-items:center}
.member-app .section-heading .eyebrow{margin-bottom:8px;font-size:9px;letter-spacing:.15em}
.member-app .section-heading h2{font-size:29px;letter-spacing:-.02em}
.project-gallery{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}
.project-tile{min-width:0;border:1px solid var(--line);border-radius:12px;overflow:hidden;background:var(--surface)}
.project-tile-link{display:block;height:100%}
.project-tile-link:hover .project-open{text-decoration:underline;text-underline-offset:4px}
.project-thumbnail{position:relative;aspect-ratio:4/3;background:var(--soft);display:grid;place-items:center;overflow:hidden}
.project-thumbnail>img{display:block;width:100%;height:100%;object-fit:cover}
.project-placeholder{font:52px/1 var(--font-ui);color:var(--gold);opacity:.8}
.project-state{position:absolute;bottom:10px;left:10px;right:auto;max-width:calc(100% - 20px);background:var(--surface);color:var(--ink);padding:5px 9px;border-radius:6px;font-size:10px;line-height:1.35}
.project-tile-copy{padding:16px}
.project-tile h3{font-size:15px;font-weight:600;line-height:1.4;overflow-wrap:anywhere;margin-bottom:7px}
.project-tile p{font-size:12px;color:var(--muted);line-height:1.5}
.project-tile .project-updated{font-size:10px;margin-top:4px}
.project-open{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:12px;margin-top:16px;color:var(--gold);min-height:22px}
.home-guidance{display:flex;align-items:center;gap:18px;margin:32px 0 10px;padding:24px 0;border-top:1px solid var(--line)}
.guidance-icon{width:44px;height:44px;flex-shrink:0;display:grid;place-items:center;border:1px solid var(--line);border-radius:50%;font-size:25px;color:var(--gold)}
.home-guidance>div:nth-child(2){flex:1}
.home-guidance h2{font-size:23px;line-height:1.3}
.home-guidance p{font-size:13px;color:var(--muted);margin-top:7px;line-height:1.5}
.breadcrumb{display:flex;align-items:center;gap:12px;color:var(--muted);font-size:12px;margin-bottom:26px}
.breadcrumb button{background:none;border:0;color:inherit;padding:4px 0;min-height:32px;cursor:pointer}
.breadcrumb button:hover{text-decoration:underline;text-underline-offset:4px}
.member-app .page-heading{margin-bottom:30px}
.member-app .page-heading h1{font-size:clamp(34px,4.2vw,50px)}
.member-app .page-heading .eyebrow{margin-bottom:14px}
.member-app .page-heading .intro{font-size:15px;line-height:1.5}
.member-app .image-library-heading{margin-bottom:18px}
.member-app .image-library-heading h2{font-size:24px}
.member-app .gallery{grid-template-columns:repeat(3,minmax(0,1fr));gap:26px 22px}
.member-app .image-card>button{position:relative;border:1px solid var(--line);border-radius:12px;background:var(--soft)}
.image-kind{position:absolute;top:10px;left:10px;max-width:calc(100% - 20px);padding:5px 9px;border-radius:6px;background:var(--surface);color:var(--ink);font-size:10px;line-height:1.4}
.unavailable-image{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;width:100%;height:100%;color:var(--muted);font-size:13px}
.unavailable-image>span{font-size:28px;color:var(--gold)}
.member-app .image-card h3{font-size:15px;font-weight:600;line-height:1.4;overflow-wrap:anywhere}
.member-app .image-card p{line-height:1.5}
.member-app .image-expiry{font-size:11px;margin-top:6px;color:var(--muted)}
.member-app .card-meta{align-items:start}
.member-app .card-meta a{margin-top:5px;flex-shrink:0}
.member-app .is-expired>button{cursor:pointer}
.empty-state{grid-column:1/-1;display:flex;align-items:center;gap:20px;padding:26px;border:1px dashed var(--line);border-radius:12px;background:var(--surface)}
.empty-state>div{flex:1}
.empty-state h3{font:26px/1.25 var(--font-ui);margin:0 0 8px}
.empty-state p{font-size:14px;color:var(--muted);line-height:1.5}
.empty-state-icon{display:grid;place-items:center;width:58px;height:58px;border:1px solid var(--line);border-radius:50%;color:var(--gold);font:34px var(--font-ui);flex-shrink:0}
.member-app #galleryStatus:not([hidden]){border:1px dashed var(--line);padding:26px;border-radius:12px;display:flex;gap:24px;align-items:center;justify-content:space-between;background:var(--surface)}
.member-app #projectStatus{margin-bottom:20px}
.member-app #imageExpiry{text-align:center;margin:15px 0 0;font-size:13px}
.member-app .image-dialog>img{background:var(--paper);object-fit:contain}
.member-app .image-dialog .eyebrow{margin-bottom:8px}
.member-app .account-row{align-items:flex-start}
.member-app .account-row strong{font-size:17px}
.member-app .account-row button{font-size:13px;color:var(--muted);text-decoration:underline;text-underline-offset:4px;flex-shrink:0}
.account-links{display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap;border-top:1px solid var(--line);padding-top:12px;margin-top:20px}
.member-app dialog input[type=text]{font-size:16px;border:1px solid var(--line);border-radius:8px;width:100%;padding:13px;background:white;color:var(--ink)}
.member-app .faq{margin:0 0 45px;max-width:860px}
.member-app .faq details{padding:22px 0}
.member-app .faq summary{line-height:1.5}
.member-app .plans{max-width:900px;margin-inline:auto}
.member-app .plan .quota{font-size:43px}
.member-app .footer{margin-top:26px;padding-top:24px;border-top:1px solid var(--line)}
@media(max-width:1000px){
 .hybrid-app.member-app .shell{padding:28px 24px 0}.home-hero-copy{padding:32px}.home-hero-copy h1{font-size:42px}.home-hero{min-height:320px}.home-hero-visual{min-height:320px}.project-gallery{gap:16px;grid-template-columns:repeat(3,minmax(0,1fr))}.project-tile:nth-child(4){display:none}#projectLibrary .project-tile:nth-child(4){display:block}.home-actions{gap:10px}.home-actions .button{padding-inline:18px}.member-app .creator-metric{padding:18px}.member-app .creator-metric strong{font-size:26px}
}
@media(max-width:760px){
 .home-hero{grid-template-columns:1fr 1fr}.home-hero-copy{padding:26px}.home-hero-copy h1{font-size:35px}.home-hero-copy .intro{font-size:14px}.home-hero-copy .eyebrow{font-size:9px}.member-app .creator-board{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-bottom:30px}.member-app .creator-metric{padding:15px 13px;border:1px solid var(--line)}.member-app .creator-metric strong{font-size:23px}.member-app .creator-metric small{font-size:9px}.member-app .creator-metric .metric-unit{font-size:11px}.member-app .creator-metric>span{font-size:11px}.member-app .creator-metric .text-link{font-size:11px}.member-app .gallery{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 16px}.project-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}.project-tile:nth-child(4){display:block}.home-guidance h2{font-size:21px}.home-guidance p{font-size:12px}.empty-state{flex-wrap:wrap}.empty-state .button{margin-left:78px}.empty-state h3{font-size:24px}
}
@media(max-width:600px){
 .hybrid-app.member-app .shell{padding:20px 18px 0}.home-hero{grid-template-columns:1fr;margin-bottom:18px}.home-hero-copy{padding:28px 24px 26px}.home-hero-copy h1{font-size:38px}.home-hero-copy .eyebrow{font-size:9px;margin-bottom:15px}.home-hero-copy .intro{margin-top:16px;font-size:14px}.home-actions{margin-top:22px;gap:18px}.home-actions .button{font-size:14px}.home-actions .text-link{font-size:12px}.home-hero-visual{min-height:0;height:auto;aspect-ratio:16/10}.hero-label{font-size:10px;bottom:12px;left:12px}.member-app .photo-open{width:40px;height:40px;bottom:10px;right:12px}.member-app .creator-board{grid-template-columns:1fr 1fr;gap:10px;margin-bottom:28px}.member-app .creator-metric{padding:16px 14px}.member-app .creator-metric:last-child{grid-column:1/-1;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;column-gap:12px}.member-app .creator-metric:last-child small,.member-app .creator-metric:last-child>span{grid-column:1}.member-app .creator-metric:last-child .text-link{grid-column:2;grid-row:1/4;margin:0;font-size:12px}.member-app .creator-metric strong{font-size:25px}.member-app .creator-metric>span{font-size:11px}.member-app .section-heading h2{font-size:26px}.member-app .section-heading .eyebrow{font-size:8px}.member-app .section-heading .text-link{font-size:11px;max-width:95px;text-align:right}.project-gallery{gap:14px 12px}.project-tile-copy{padding:13px 12px}.project-tile h3{font-size:13px}.project-tile p{font-size:11px}.project-tile .project-updated{font-size:9px}.project-open{font-size:11px;margin-top:12px}.project-state{bottom:8px;left:8px;font-size:9px;padding:4px 6px}.home-guidance{gap:12px;align-items:flex-start;flex-wrap:wrap;padding:22px 0;margin-top:25px}.guidance-icon{width:36px;height:36px;font-size:22px}.home-guidance>div:nth-child(2){flex-basis:calc(100% - 48px)}.home-guidance .text-link{margin-left:48px;padding-top:2px;min-height:32px}.home-guidance h2{font-size:21px}.home-guidance p{font-size:12px}.breadcrumb{margin-bottom:22px}.member-app .page-heading{gap:22px;margin-bottom:25px}.member-app .page-heading h1{font-size:38px}.member-app .page-heading .intro{font-size:14px}.member-app .page-heading .button{font-size:14px}.member-app .image-library-heading{display:block}.member-app .image-library-heading h2{font-size:23px;margin-bottom:8px}.member-app .image-library-heading>p{font-size:12px}.member-app .gallery{gap:22px 12px}.member-app .image-card h3{font-size:13px}.member-app .image-card p{font-size:10px}.image-kind{font-size:9px;top:8px;left:8px;padding:4px 6px}.member-app .card-meta a{min-width:32px;font-size:18px}.member-app .image-expiry{font-size:9px}.empty-state{padding:22px 18px;gap:14px;align-items:flex-start}.empty-state-icon{width:44px;height:44px;font-size:27px}.empty-state>div{flex-basis:calc(100% - 58px)}.empty-state h3{font-size:23px}.empty-state p{font-size:13px}.empty-state .button{margin-left:0;width:100%;font-size:14px}.member-app #galleryStatus:not([hidden]){padding:24px 20px;display:grid;gap:20px}.member-app .save-note{margin-bottom:20px}.member-app .save-note strong{font-size:13px}.member-app .save-note p{font-size:12px}.member-app .plans{grid-template-columns:1fr}.member-app .plan{padding:24px}.member-app .footer{margin-top:20px;gap:10px;justify-content:space-between}.member-app .footer>span{order:3;flex-basis:100%;font-size:11px}.member-app .faq summary{font-size:16px}.member-app .faq details p{font-size:14px}.member-app .image-actions .button{width:100%;min-height:44px}.member-app .image-actions{gap:10px}.member-app #imageExpiry{font-size:12px}
}
@media(prefers-reduced-motion:reduce){.member-app *{scroll-behavior:auto}.member-app .image-card img{transition:none}}

.member-app .credit-link,.member-app .project-open,.member-app .plan .plan-name,.member-app .plan .plan-price{color:var(--focus)}
@media(max-width:600px){.member-app .project-tile h3{font-size:14px}.member-app .project-tile p{font-size:12px}.member-app .project-tile .project-updated{font-size:10px}.member-app .image-card h3{font-size:14px}.member-app .image-card p{font-size:11px}.member-app .image-expiry{font-size:10px}.member-app .image-kind{font-size:10px}}

.member-app .brand-copy{color:var(--ink);letter-spacing:0}.member-app .account-button{font-size:12px;padding:9px 12px;border-radius:8px}.member-app .credit-link{font-size:12px;padding:6px 0;white-space:nowrap}.member-app .header-account{gap:16px}
@media(max-width:600px){.member-app .topbar{gap:10px;padding:10px 16px}.member-app .header-account{gap:10px}.member-app .credit-link{font-size:10px}.member-app .account-button{font-size:11px;padding:8px 10px}.member-app .brand{gap:8px}}
