/* LooksAI Studio 0.7.1 — independent full-page account dashboard. No account popup. */
.lsm-is-account-page .lsm-main-account{width:min(1190px,calc(100% - 38px));margin:36px auto 82px;min-height:calc(100vh - 230px)}
.lsm-account-page{--acc-bg:rgba(31,27,42,.96);--acc-surface:rgba(255,255,255,.045);--acc-soft:rgba(255,255,255,.07);--acc-border:rgba(219,187,229,.16);--acc-txt:#f9f2fd;--acc-muted:#bcb0ca;--acc-accent:#d992e7;color:var(--acc-txt);min-width:0}
.lsm-account-hero{display:flex;align-items:end;justify-content:space-between;gap:18px;margin-bottom:27px}
.lsm-account-eyebrow{display:inline-block;color:#e6a8df;letter-spacing:2px;font-size:10px;font-weight:800;margin-bottom:8px}
.lsm-account-hero h1{font-size:clamp(30px,3.6vw,46px);line-height:1.13;letter-spacing:-1.2px;font-weight:800;margin:0 0 6px;color:var(--acc-txt)}
.lsm-account-hero p{font-size:14px;margin:0;color:var(--acc-muted)}
.lsm-account-back{display:inline-flex;align-items:center;justify-content:center;gap:12px;padding:12px 18px;background:linear-gradient(115deg,#8346ce,#c153c4);border:1px solid #c277d4;border-radius:12px;font-size:13px;font-weight:700;color:#fff!important;white-space:nowrap}
.lsm-account-guest{max-width:550px;margin:6vh auto 12vh;background:var(--acc-bg);border:1px solid var(--acc-border);border-radius:24px;text-align:center;padding:56px 38px;box-shadow:0 15px 65px #09061260}
.lsm-account-guest-symbol{display:grid;place-items:center;width:65px;height:65px;margin:0 auto 20px;border-radius:20px;background:linear-gradient(120deg,#824bd7,#cf65c4);color:white;font-size:37px}
.lsm-account-guest h2{font-size:26px;line-height:1.2;margin:0 0 11px;color:var(--acc-txt)}
.lsm-account-guest p{color:var(--acc-muted);line-height:1.6;margin:0 0 25px;font-size:14px}
.lsm-account-guest button{width:auto;min-width:245px}
.lsm-account-dashboard{display:grid;grid-template-columns:250px minmax(0,1fr);gap:22px;align-items:start}
.lsm-account-sidebar,.lsm-account-main{background:var(--acc-bg);border:1px solid var(--acc-border);border-radius:22px;box-shadow:0 12px 45px rgba(4,2,10,.13)}
.lsm-account-sidebar{padding:21px;display:flex;flex-direction:column;gap:20px;position:sticky;top:22px;min-width:0;min-height:455px}
.lsm-account-profile{display:flex;flex-direction:column;gap:13px;border-bottom:1px solid var(--acc-border);padding-bottom:20px;min-width:0}
.lsm-account-profile-copy{display:flex;flex-direction:column;gap:4px;min-width:0}
.lsm-account-profile-copy small,.lsm-account-stat>span:not(.lsm-account-stat-icon){font-size:12px;color:var(--acc-muted)}
.lsm-account-profile-copy strong{font-size:12px;color:var(--acc-txt);overflow-wrap:anywhere;font-weight:700;line-height:1.5}
.lsm-account-profile-copy .lsm-account-verified{font-size:11px;color:#cbaaf0;line-height:1.5}
.lsm-account-avatar{display:grid;place-items:center;height:48px;width:48px;border-radius:14px;font-size:25px;background:linear-gradient(135deg,#7b48d4,#cb5bc7);box-shadow:0 8px 27px #bc55df38;color:#fff;flex:none}
.lsm-account-sidebar .lsm-account-tabs{display:flex;flex-direction:column;background:none;border:0;padding:0;gap:6px;border-radius:0;min-width:0}
.lsm-account-sidebar .lsm-account-tabs button{display:flex;align-items:center;gap:11px;text-align:left;min-height:43px;padding:11px 12px;border-radius:12px;font-size:13px;color:var(--acc-muted);font-weight:700;background:transparent;border:1px solid transparent;flex:none;white-space:nowrap}
.lsm-account-sidebar .lsm-account-tabs button span{font-size:17px;width:21px;text-align:center;font-weight:400}
.lsm-account-sidebar .lsm-account-tabs button:hover{background:var(--acc-soft);color:var(--acc-txt)}
.lsm-account-sidebar .lsm-account-tabs button[aria-selected=true]{background:rgba(166,79,213,.17);border-color:rgba(201,136,235,.27);color:#f3d3ff}
.lsm-account-sidebar-bottom{margin-top:auto;border-top:1px solid var(--acc-border);padding-top:14px}
.lsm-account-sidebar-bottom p{font-size:11px;line-height:1.6;color:var(--acc-muted);margin:0 0 13px}
.lsm-account-sidebar .lsm-account-logout{width:100%;padding:11px 13px;border:1px solid var(--acc-border);border-radius:11px;background:transparent;color:var(--acc-txt);text-align:center;font-weight:650;font-size:12px}
.lsm-account-sidebar .lsm-account-logout:hover{background:var(--acc-soft)}
.lsm-account-main{min-width:0;padding:26px}
.lsm-account-summary-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:31px}
.lsm-account-stat{position:relative;min-width:0;padding:17px 18px 16px;background:var(--acc-surface);border:1px solid var(--acc-border);border-radius:16px;display:flex;flex-direction:column;gap:6px;min-height:135px}
.lsm-account-stat-icon{position:absolute;right:14px;top:13px;display:grid;place-items:center;width:29px;height:29px;border-radius:10px;background:rgba(185,94,222,.15);color:#e8b8f1;font-size:17px}
.lsm-account-stat>strong{font-size:clamp(21px,2.15vw,28px);line-height:1.22;letter-spacing:-.4px;color:var(--acc-txt);font-weight:800;white-space:normal;overflow-wrap:normal;max-width:100%}
.lsm-account-stat>strong[data-lsm-auth-trial]{font-size:18px;line-height:1.28}
.lsm-account-stat>small{font-size:11px;color:var(--acc-muted);line-height:1.45}
.lsm-account-section-title{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:18px}
.lsm-account-section-title h2{font-size:23px;font-weight:780;line-height:1.2;margin:0 0 5px;color:var(--acc-txt)}
.lsm-account-section-title p{font-size:12px;line-height:1.5;margin:0;color:var(--acc-muted)}
.lsm-account-pane{min-width:0;min-height:0}
.lsm-account-overview-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}
.lsm-account-feature-card{min-width:0;border-radius:17px;padding:21px 18px 17px;display:flex;flex-direction:column;align-items:flex-start;gap:8px;background:var(--acc-surface);border:1px solid var(--acc-border);min-height:235px}
.lsm-account-feature-card.lsm-account-feature-primary{background:linear-gradient(139deg,#6541a8,#833fa4 75%,#8c3897);border-color:#9264ca;color:#fff}
.lsm-account-feature-icon{display:grid;place-items:center;border-radius:12px;width:39px;height:39px;background:#ffffff14;color:#e6c2f4;font-size:23px}
.lsm-account-feature-card h3{font-size:16px;margin:6px 0 0;color:var(--acc-txt);line-height:1.28;font-weight:750}
.lsm-account-feature-card p{font-size:12px;line-height:1.57;color:var(--acc-muted);margin:0 0 4px}
.lsm-account-feature-primary p{color:#ecdcf8}
.lsm-account-feature-card>a,.lsm-account-feature-card>button{margin-top:auto;padding:0;background:none;border:0;color:#eabaf5;font-weight:740;font-size:12px;text-align:left;display:inline-flex;align-items:center;gap:8px}
.lsm-account-feature-card>a{color:#fff!important}
.lsm-account-connected{margin-top:22px;background:var(--acc-surface);border:1px solid var(--acc-border);border-radius:17px;padding:19px;display:flex;flex-direction:column;gap:13px}
.lsm-account-connected h3{font-size:15px;color:var(--acc-txt);margin:0 0 3px}
.lsm-account-connected p{font-size:12px;color:var(--acc-muted);margin:0}
.lsm-account-muted{color:var(--acc-muted);font-size:12px}
.lsm-account-connected .lsm-social-button{flex:0 1 auto;min-width:160px;justify-content:center}
.lsm-account-resend{border:1px solid var(--acc-border);background:var(--acc-surface);border-radius:9px;padding:8px 12px;color:var(--acc-txt);align-self:flex-start}
.lsm-account-page .lsm-gallery-toolbar{margin:0 0 20px}
.lsm-account-page .lsm-gallery-toolbar button{padding:10px 14px;color:var(--acc-txt);background:var(--acc-soft);border:1px solid var(--acc-border);border-radius:11px;font-size:12px;font-weight:700;flex:none}
.lsm-account-page .lsm-gallery-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px;max-height:none;overflow:visible;overscroll-behavior:auto;padding:0;min-height:200px}
.lsm-account-page .lsm-gallery-photo{border-color:var(--acc-border);border-radius:15px;background:var(--acc-surface);min-width:0}
.lsm-account-page .lsm-gallery-photo-preview{aspect-ratio:9/13}
.lsm-account-page .lsm-gallery-photo-info{padding:11px 10px 5px;gap:4px}
.lsm-account-page .lsm-gallery-photo-info strong{font-size:12px;color:var(--acc-txt)}
.lsm-account-page .lsm-gallery-photo-info small{font-size:11px;color:var(--acc-muted)}
.lsm-account-page .lsm-gallery-photo-actions{padding:6px 9px 11px}
.lsm-account-page .lsm-gallery-photo-actions>a,.lsm-account-page .lsm-gallery-photo-actions>button{font-size:11px;font-weight:650;padding:9px 6px;border-color:var(--acc-border);background:var(--acc-soft);color:var(--acc-txt);border-radius:9px}
.lsm-account-page .lsm-gallery-photo-actions>a{border-color:#8558ac;color:#e8b4f3}
.lsm-account-page .lsm-gallery-grid>p{grid-column:1 / -1;padding:47px 14px;text-align:center;background:var(--acc-surface);border:1px dashed var(--acc-border);border-radius:15px;color:var(--acc-muted);font-size:13px}
.lsm-account-page .lsm-gallery-storage-note{color:var(--acc-muted);font-size:12px;margin:16px 0 0;line-height:1.5}
.lsm-account-page .lsm-account-history{border:1px solid var(--acc-border);border-radius:17px;background:var(--acc-surface);padding:19px 21px;margin:0;max-height:none;overflow:visible;color:var(--acc-txt)}
.lsm-account-page .lsm-account-history>strong{font-size:15px;color:var(--acc-txt);margin-bottom:9px}
.lsm-account-page .lsm-account-history-row{padding:12px 0;border-bottom:1px solid var(--acc-border);color:var(--acc-muted);font-size:12px;flex-wrap:wrap}
.lsm-account-page .lsm-account-history-row a{color:#dfa5f0}
.lsm-account-page .lsm-account-history-row small{overflow-wrap:anywhere}
.lsm-account-activity-actions{max-width:280px;margin-top:18px}
.lsm-account-page [hidden]{display:none!important}
/* Light follows the user's existing Looks Studio theme toggle, including when switched live. */
.lsm-site-shell[data-theme=light] .lsm-account-page{--acc-bg:#fff;--acc-surface:#f8f9fc;--acc-soft:#f1f3f8;--acc-border:#e0e5ed;--acc-txt:#111827;--acc-muted:#58677b;--acc-accent:#703aba}
.lsm-site-shell[data-theme=light] .lsm-account-sidebar,.lsm-site-shell[data-theme=light] .lsm-account-main{box-shadow:0 15px 42px #47556912}
.lsm-site-shell[data-theme=light] .lsm-account-profile-copy strong,.lsm-site-shell[data-theme=light] .lsm-account-stat>strong{color:var(--acc-txt)}
.lsm-site-shell[data-theme=light] .lsm-account-profile-copy .lsm-account-verified{color:#6741a1}
.lsm-site-shell[data-theme=light] .lsm-account-sidebar .lsm-account-tabs button[aria-selected=true]{background:#f3eafb;color:#7332ac;border-color:#ddc8ed}
.lsm-site-shell[data-theme=light] .lsm-account-feature-primary h3{color:#fff}
.lsm-site-shell[data-theme=light] .lsm-account-feature-primary .lsm-account-feature-icon{color:#fff}
.lsm-site-shell[data-theme=light] .lsm-account-feature-card:not(.lsm-account-feature-primary) h3{color:#111827}
.lsm-site-shell[data-theme=light] .lsm-account-feature-card:not(.lsm-account-feature-primary) p{color:#58677b}
.lsm-site-shell[data-theme=light] .lsm-account-feature-card:not(.lsm-account-feature-primary)>button{color:#7134a8}
.lsm-site-shell[data-theme=light] .lsm-account-page .lsm-gallery-photo-actions>a{color:#7134a8}
.lsm-site-shell[data-theme=light] .lsm-account-connected .lsm-social-button{color:#30384a!important;border-color:#d6dce8;background:#fff}
@media(max-width:1100px){.lsm-account-dashboard{grid-template-columns:225px minmax(0,1fr);gap:16px}.lsm-account-main{padding:20px}.lsm-account-summary-cards{gap:9px}.lsm-account-stat{padding:15px 12px}.lsm-account-overview-grid{gap:9px}.lsm-account-feature-card{padding:18px 13px}.lsm-account-page .lsm-gallery-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:800px){.lsm-account-dashboard{grid-template-columns:1fr;gap:13px}.lsm-account-sidebar{min-height:0;position:static;padding:16px;gap:12px}.lsm-account-profile{flex-direction:row;align-items:center;padding-bottom:11px}.lsm-account-profile-copy strong{font-size:13px}.lsm-account-sidebar .lsm-account-tabs{flex-direction:row;gap:6px;padding:4px;border:1px solid var(--acc-border);border-radius:12px;background:var(--acc-soft)}.lsm-account-sidebar .lsm-account-tabs button{flex:1;justify-content:center;text-align:center;min-height:39px;font-size:12px;padding:9px 5px}.lsm-account-sidebar .lsm-account-tabs button span{width:auto;font-size:16px}.lsm-account-sidebar-bottom{display:none}.lsm-account-summary-cards{grid-template-columns:repeat(3,minmax(0,1fr))}.lsm-account-page .lsm-gallery-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:620px){.lsm-is-account-page .lsm-main-account{width:calc(100% - 24px);margin:20px auto 55px}.lsm-account-hero{align-items:start;gap:10px;margin-bottom:17px}.lsm-account-eyebrow{font-size:9px}.lsm-account-hero h1{font-size:31px}.lsm-account-hero p{font-size:12px;max-width:240px}.lsm-account-back{padding:10px 11px;border-radius:11px;font-size:11px;white-space:normal;max-width:144px;text-align:center;line-height:1.4}.lsm-account-sidebar{border-radius:16px;padding:13px}.lsm-account-profile{gap:11px}.lsm-account-avatar{width:39px;height:39px;font-size:22px;border-radius:12px}.lsm-account-profile-copy strong{font-size:12px}.lsm-account-profile-copy small{font-size:11px}.lsm-account-sidebar .lsm-account-tabs button{font-size:12px;gap:6px}.lsm-account-main{padding:15px;border-radius:16px}.lsm-account-summary-cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin-bottom:22px}.lsm-account-stat{min-height:114px;border-radius:13px;padding:13px 11px;gap:5px}.lsm-account-stat:nth-child(3){grid-column:1 / -1;min-height:92px}.lsm-account-stat>strong{font-size:23px}.lsm-account-stat>strong[data-lsm-auth-trial]{font-size:16px}.lsm-account-stat>small{font-size:10px}.lsm-account-stat-icon{width:25px;height:25px;top:9px;right:9px}.lsm-account-section-title h2{font-size:21px}.lsm-account-section-title p{font-size:11px}.lsm-account-overview-grid{grid-template-columns:1fr;gap:9px}.lsm-account-feature-card{min-height:0;gap:8px;padding:17px}.lsm-account-feature-icon{width:33px;height:33px;font-size:19px}.lsm-account-feature-card h3{margin:0}.lsm-account-feature-card p{margin:0 0 8px}.lsm-account-feature-card>a,.lsm-account-feature-card>button{margin-top:0}.lsm-account-connected{padding:16px}.lsm-account-page .lsm-gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.lsm-account-page .lsm-gallery-photo-preview{aspect-ratio:9/13}.lsm-account-page .lsm-gallery-toolbar button{padding:9px 10px}.lsm-account-guest{padding:38px 24px}.lsm-account-guest h2{font-size:22px}}
@media(max-width:360px){.lsm-account-sidebar .lsm-account-tabs button{font-size:11px;gap:4px}.lsm-account-sidebar .lsm-account-tabs button span{font-size:14px}.lsm-account-back{max-width:120px;font-size:10px}}
/* A visible account entry on phones; previous header hid Sign In entirely below 720px. */
@media(max-width:720px){.lsm-site-shell .lsm-header-signin{display:inline-flex;padding:7px 10px;border-radius:10px;font-size:11px;gap:5px}.lsm-is-account-page .lsm-age-pill{display:none}}
/* Keep the header usable on narrow phones: account balance is already visible on dashboard. */
@media(max-width:420px){.lsm-site-shell .lsm-age-pill{display:none}.lsm-site-shell .lsm-header-signin{padding:7px 8px}}
