/* Pai space 0.4.148: final checks against populated production accounts. */
body.app-page.assets-view-open .mobile-topbar{background:var(--paper);border-bottom:0;box-shadow:none}
.app-page .app-view--assets #open-asset-picker{width:auto;min-width:80px;min-height:44px;padding:9px 13px;white-space:nowrap;flex-shrink:0;background:#F0EEEB;color:var(--ink);border:1px solid var(--line);border-radius:15px;box-shadow:none;font:500 12px var(--pai-ui)}
.app-page .app-view--assets #open-asset-picker svg{width:18px;height:18px;flex:0 0 18px}
.app-page .asset-storage-card .asset-storage-tier:before{background:var(--muted);box-shadow:none}
.app-page .asset-storage-card .asset-storage-meta i{background:#8E8796}.app-page .asset-storage-card .asset-storage-meta i.is-video{background:#B4ADB9}.app-page .asset-storage-card .asset-storage-meta i.is-audio{background:#D1CBD6}

/* Space keeps identity, works and materials together; account actions live in the avatar menu. */
.app-page #view-productions,.app-page #view-assets{padding:32px 40px 44px;font-family:var(--pai-ui)}
.app-page :is(#view-productions,#view-assets) .pai-my-profile{gap:14px;margin-bottom:16px;padding-bottom:20px}
.app-page :is(#view-productions,#view-assets) .pai-my-profile>div{min-width:0}
.app-page :is(#view-productions,#view-assets) .pai-my-profile h1{margin:0 0 4px;font:600 21px/1.4 PaiNunito,PaiTitles,'PingFang SC','Microsoft YaHei',sans-serif;letter-spacing:0;color:var(--ink);overflow-wrap:anywhere}
.app-page :is(#view-productions,#view-assets) .pai-my-toolbar{margin-bottom:22px}
.app-page #view-assets #asset-search-input{font:400 16px/1.5 var(--pai-ui)}

/* Override the older dark material-library shell without removing keyboard focus feedback. */
body.app-page.assets-view-open .mobile-topbar .mobile-account-button{background:#F0EEEB;border:0;box-shadow:none}
body.app-page.assets-view-open .mobile-topbar .mobile-account-button .user-avatar{box-shadow:none}

/* The empty space is a quiet invitation, on the same paper as the rest of the workspace. */
.app-page #productions-empty{min-height:0;grid-template-columns:minmax(0,1fr);gap:0;padding:24px 0 32px;background:transparent;border:0;border-radius:0;box-shadow:none;color:var(--ink)}
.app-page #productions-empty .empty-studio-copy{width:100%;max-width:520px;padding:0}
.app-page #productions-empty h2{max-width:none;font:600 30px/1.4 var(--pai-ui);letter-spacing:-.02em;color:var(--ink)}
.app-page #productions-empty .empty-studio-copy>p{margin:14px 0 22px;color:var(--muted);font:400 14px/1.85 var(--pai-ui)}
/* Match the existing Pai core secondary button, scoped to the empty-space CTA. */
.app-page #productions-empty #empty-create-button{width:fit-content;min-height:44px;padding:10px 14px;border:0;border-radius:13px;background:var(--blush);color:var(--ink);font:400 14px/1.5 var(--pai-ui);box-shadow:none;transform:none;transition:background .16s ease}
.app-page #productions-empty #empty-create-button:hover:not(:disabled){background:#E9E5ED;box-shadow:none;transform:none}
.app-page #productions-empty #empty-create-button:focus-visible{outline:2px solid var(--muted);outline-offset:3px}
@media(prefers-reduced-motion:reduce){.app-page #productions-empty #empty-create-button{transition:none}}
@media(max-width:760px){
 .app-page #view-productions,.app-page #view-assets{padding:20px 16px calc(112px + env(safe-area-inset-bottom))}
 .app-page :is(#view-productions,#view-assets) .pai-my-profile h1{font-size:20px}
 .app-page :is(#view-productions,#view-assets) .pai-my-profile{padding-bottom:18px}
 .app-page #productions-empty{display:flex;flex-direction:column;align-items:stretch;gap:0;padding:12px 0 24px}
 .app-page #productions-empty h2{max-width:none;font-size:24px;line-height:1.45}
}
