/* S M Shahid Shah — Four Product Premium Workspace
   Edition 2026-11-14. UI-only; auth, data and user permissions remain server-owned.
   Sidebar: Dashboard + 4 products. Profile is an account utility.
*/
html[data-theme="light"]{--app-bg:#f9f5ee;--sidebar:#fffbf6;--surface:#fffefb;--surface2:#f8f0e4;--surface3:#f1e2ca;--ink:#302519;--muted:#756859;--line:#e9dcca;--gold:#ad711d;--gold2:#d29a46;--shadow:rgba(83,50,19,.075)}
html[data-theme="dark"]{--app-bg:#15120f;--sidebar:#1b1611;--surface:#231d17;--surface2:#302519;--surface3:#44311e;--ink:#faf0de;--muted:#c8b89f;--line:#59442e;--gold:#e9bc6d;--gold2:#f4c47b;--shadow:rgba(0,0,0,.33)}
body{font-size:14px}
.member-app{background:var(--app-bg);font-family:"Plus Jakarta Sans",system-ui,sans-serif}
.member-app :is(button,a,input,select,textarea):focus-visible{outline:2px solid #bc8731;outline-offset:3px}
.member-app .app-sidebar{width:238px;background:var(--sidebar);padding:19px 14px 16px}
.member-app .app-main{margin-left:238px}
.member-app .side-brand{padding:5px 7px 22px;border-color:var(--line)}
.member-app .side-brand b{font-size:13px;letter-spacing:-.25px;color:var(--ink)}
.member-app .side-brand small{font-size:8px;color:var(--gold);letter-spacing:.65px}
.member-app .side-links{gap:7px;padding:22px 0}
.member-app .side-links button{min-height:48px;font-size:12.5px;font-weight:750;padding:12px;border-radius:12px;color:var(--ink);transition:background .2s ease,color .2s ease,transform .2s ease,box-shadow .2s ease}
.member-app .side-links button .ui-icon{width:20px;height:20px}
.member-app .side-links button:hover{background:var(--surface2);transform:translateX(2px)}
.member-app .side-links button.active{background:linear-gradient(112deg,#fbeac6,#ecc276);border-color:#dfb56d;box-shadow:0 5px 14px rgba(154,97,30,.15);color:#30210e}
.member-app .side-links button.active .ui-icon{stroke:#a86e22}
.member-app .side-bottom{border-top:1px solid var(--line);padding-top:12px;display:grid;gap:3px}
.member-app .side-account-link{min-height:46px;text-align:left;border:1px solid transparent;border-radius:11px;background:transparent;color:var(--muted);font-size:12px;font-weight:750;display:flex;align-items:center;gap:13px;padding:11px 15px;cursor:pointer}
.member-app .side-account-link span{font-size:19px;color:var(--gold)}
.member-app .side-account-link:hover{background:var(--surface2);color:var(--ink);border-color:var(--line)}
.member-app .public-link{padding:10px 6px 4px;color:var(--muted);font-size:10.5px}
.member-app .member-header{min-height:72px;height:72px;background:color-mix(in srgb,var(--surface) 95%,transparent);border-bottom:1px solid var(--line);backdrop-filter:blur(12px);box-shadow:0 4px 16px rgba(83,50,19,.035)}
.member-app .workspace-header-label strong{font-size:14px;font-weight:800;color:var(--ink)}
.member-app .workspace-header-label span{font-size:11px}
.member-app .header-greeting strong{font-size:12px}
.member-app .icon-btn{transition:transform .2s ease,background .2s ease,border-color .2s ease}
.member-app .icon-btn:hover{transform:translateY(-2px);background:var(--surface2);border-color:#d4aa68}
.member-app .app-content{padding-bottom:36px}
.member-app .app-view{animation:smProductEnter .33s cubic-bezier(.22,1,.36,1) both}
@keyframes smProductEnter{from{opacity:.3;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}
.member-app .view-heading h1{font-weight:850;letter-spacing:-1.2px}
.member-app .dashboard-home .feature-hero{min-height:285px;border-radius:21px}
.member-app .dashboard-home .feature-copy h1{font-size:clamp(34px,3.4vw,53px);line-height:1.08;max-width:640px}
.member-app .dashboard-home .feature-copy p{max-width:620px;font-size:13px}
.member-app .dashboard-home .hero-visual{opacity:.95}
.member-app .dashboard-home .hero-visual:after{animation:smFloatingAI 6s ease-in-out infinite}
@keyframes smFloatingAI{0%,100%{transform:rotate(-8deg) translateY(0)}50%{transform:rotate(-5deg) translateY(-7px)}}
.member-app .dashboard-home .hero-visual .hero-globe{animation:smGlobeBreath 9s ease-in-out infinite}
@keyframes smGlobeBreath{0%,100%{box-shadow:0 0 60px rgba(237,169,68,.07),inset 0 0 52px rgba(235,175,76,.08)}50%{box-shadow:0 0 100px rgba(237,169,68,.16),inset 0 0 52px rgba(235,175,76,.12)}}
.member-app .dashboard-home .dashboard-layout{gap:18px}
.member-app .dashboard-home .dashboard-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px}
.member-app .dashboard-home .dashboard-metrics .metric{min-height:87px;padding:15px 16px;border-radius:15px;transition:box-shadow .2s ease,transform .2s ease}
.member-app .dashboard-home .dashboard-metrics .metric strong{font-size:clamp(21px,2vw,28px);letter-spacing:-.6px}
.member-app .dashboard-home .dashboard-metrics .metric small{font-size:11px}
.member-app .dashboard-home .dashboard-metrics .metric:hover{transform:translateY(-2px);box-shadow:0 13px 27px var(--shadow)}
.member-app .dashboard-home .quick-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.member-app .dashboard-home .tool-card{min-height:126px;padding:18px 15px;text-align:left;align-items:flex-start;border-radius:16px;gap:9px}
.member-app .dashboard-home .tool-card b{font-size:13.5px;line-height:1.25}
.member-app .dashboard-home .tool-card small{font-size:11px;line-height:1.45}
.member-app .dashboard-home .tool-card .ui-icon{width:25px;height:25px}
.member-app .dashboard-home .tool-card.selected{background:linear-gradient(140deg,#ffedc5,#f3ce88);border-color:#dca95c;box-shadow:0 11px 22px rgba(144,88,29,.12)}
.member-app .dashboard-home .tool-card.selected b{font-size:14px}
.member-app .dashboard-home .dashboard-side-card{border-radius:17px}
.member-app .dashboard-home .watchlist-row{min-height:49px}
.member-app .dashboard-home .section-title h2{font-size:20px}
.member-app .dashboard-home .news-grid{gap:13px}
.member-app .dashboard-home .news-card{min-height:0;padding:16px}
.member-app .dashboard-home .news-card h3{font-size:15px;line-height:1.5}
.member-app .dashboard-home .news-card .news-foot{font-size:11px}
.member-app .dashboard-home .news-card p{font-size:12px;line-height:1.6}
.member-app .dashboard-home .news-visual{height:83px}
.member-app .dashboard-home .market-strip{margin-top:12px;margin-bottom:16px}
.member-app :is(.gold-action,.outline-action,.sm-news-read-button,.mi-creator-link,.mi-load-more){
 transition:transform .2s ease,box-shadow .2s ease,filter .2s ease,border-color .2s ease
}
.member-app :is(.gold-action,.outline-action,.sm-news-read-button,.mi-creator-link,.mi-load-more):not(:disabled):hover{transform:translateY(-2px);filter:brightness(1.025)}
/* News is a single self-contained Market Intelligence product, not a module directory. */
.member-app #view-markets .mi-page-intro{min-height:145px;padding:25px 0 18px;gap:20px}
.member-app #view-markets .mi-page-intro h1{font-size:clamp(34px,3.4vw,49px);margin:8px 0 8px}
.member-app #view-markets .mi-page-intro p{font-size:13px;line-height:1.65;max-width:780px}
.member-app #view-markets .mi-hero-ribbon{opacity:.35}
.member-app #view-markets .mi-hero-globe{display:none}
.member-app #view-markets .mi-intro-status{min-height:99px;padding:17px 20px}
.member-app #view-markets .mi-intro-status :is(.mi-status-label,strong,small){max-width:none}
.member-app #view-markets .mi-summary-strip{margin-top:4px;margin-bottom:19px}
.member-app #view-markets .mi-feature-grid{gap:12px;margin-bottom:23px}
.member-app #view-markets .mi-feature-lead .news-card{min-height:275px}
.member-app #view-markets .mi-feature-lead .news-visual{height:130px}
.member-app #view-markets .mi-feature-secondary .news-visual{display:none}
.member-app #view-markets .mi-feature-secondary .news-card{padding:17px;min-height:0}
.member-app #view-markets .mi-feature-secondary .news-card h3{font-size:14px;line-height:1.5}
.member-app #view-markets .mi-news-grid .news-visual{display:none}
.member-app #view-markets .mi-premium .news-card h3,.member-app #view-markets .news-card h3{color:var(--ink)}
.member-app #view-markets .news-card p{font-size:12px;line-height:1.5}
.member-app #view-markets .mi-side-card{border-radius:17px;padding:18px}
.member-app #view-markets .mi-section-heading h2{font-size:21px}
/* AI Studio is the flagship product; script, projects, planner, voice are its sub-areas. */
.member-app #view-studio .studio-premium-heading{
 min-height:158px;margin:19px 0 17px;padding:24px clamp(23px,3vw,39px);
 border-radius:19px;box-shadow:0 13px 28px rgba(68,41,18,.13)
}
.member-app #view-studio .studio-premium-heading h1{font-size:clamp(33px,3.1vw,45px);margin:9px 0 5px}
.member-app #view-studio .studio-premium-heading h2{font-size:16px;margin:4px 0 6px}
.member-app #view-studio .studio-premium-heading p{font-size:12px;line-height:1.5}
.member-app #view-studio .studio-hero-graphic{transform:scale(.7);transform-origin:center right;flex-basis:185px}
.member-app #view-studio #studioSubnav{display:flex;gap:5px;max-width:100%;flex-wrap:wrap}
.member-app #view-studio #studioSubnav button{min-height:42px;padding:10px 14px;font-size:11.5px;white-space:normal}
.member-app #view-studio .studio-gate{max-width:none;box-shadow:0 12px 27px rgba(67,42,22,.07)}
.member-app #view-studio .studio-gate-header{padding:20px 23px}
.member-app #view-studio .studio-gate-heading h2{font-size:20px}
.member-app #view-studio .studio-gate-main{padding:20px 23px}
.member-app #view-studio .studio-gate-feature-grid{gap:10px}
.member-app #view-studio .studio-gate-feature{min-height:115px}
.member-app #view-studio .studio-gate-footer{border-radius:13px}
/* Dedicated Prompt Tools: four equal prompt-builder cards, no duplicate AI generator. */
.member-app #view-tools .vip-page-hero{
 min-height:119px;margin:20px 0 18px;padding:23px 29px;border:1px solid var(--line);
 background:linear-gradient(112deg,var(--surface),var(--surface2));box-shadow:0 9px 22px var(--shadow)
}
.member-app #view-tools .vip-page-hero:before{opacity:.14}
.member-app #view-tools .vip-page-hero:after{display:none}
.member-app #view-tools .vip-hero-copy h1,.member-app #view-tools .vip-hero-copy h1 span{color:var(--ink);font-size:clamp(30px,2.7vw,39px);margin:6px 0}
.member-app #view-tools .vip-hero-copy h1 em{color:var(--gold);background:none;-webkit-text-fill-color:currentColor}
.member-app #view-tools .vip-hero-copy p{font-size:12px;color:var(--muted);line-height:1.6}
.member-app #view-tools .vip-hero-copy .eyebrow{color:var(--gold)}
.member-app #view-tools .vip-hero-art{display:none}
.member-app #view-tools .vip-suite-heading{margin:10px 0 12px}
.member-app #view-tools .vip-suite-heading h2{font-size:21px}
.member-app #view-tools .vip-tools-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;max-width:none}
.member-app #view-tools .vip-tools-grid .tool-list-row{min-height:118px;padding:18px 21px;border:1px solid var(--line);border-radius:17px;background:var(--surface)}
.member-app #view-tools .vip-tools-grid .tool-list-row>span{width:56px;height:56px;font-size:24px;border-radius:14px}
.member-app #view-tools .vip-tools-grid .tool-list-row b{font-size:14px}
.member-app #view-tools .vip-tools-grid .tool-list-row small{font-size:12px;line-height:1.55}
.member-app #view-tools .vip-tools-grid .tool-list-row:hover{transform:translateY(-3px);border-color:#d5ac68;box-shadow:0 16px 25px var(--shadow)}
/* Mentorship focuses on application, not repeated banners. */
.member-app #view-mentorship .vip-page-hero{
 min-height:126px;margin:20px 0 18px;padding:24px 30px;background:linear-gradient(107deg,#3b2919,#5a3a1e 72%,#3c2716);
 border-radius:19px;box-shadow:0 12px 25px rgba(81,50,22,.12)
}
.member-app #view-mentorship .vip-hero-copy h1{font-size:clamp(32px,3vw,43px);margin:6px 0 9px}
.member-app #view-mentorship .vip-hero-copy p{font-size:12px;line-height:1.55;max-width:830px}
.member-app #view-mentorship .vip-hero-art{display:none}
.member-app #view-mentorship .vip-mentorship-grid{margin-bottom:11px}
.member-app #view-mentorship .vip-highlights-card,.member-app #view-mentorship .vip-application-status-card{min-height:172px;padding:18px 23px}
.member-app #view-mentorship .vip-process-strip{margin:10px 0 13px}
.member-app #view-mentorship .vip-application-box{margin-bottom:18px;padding:22px 27px}
.member-app #view-mentorship #mentorshipForm{max-width:100%}
.member-app #view-mentorship .application-heading h2{font-size:20px}
/* My Profile is account settings, not a fifth product. */
.member-app #view-profile .vip-page-hero{
 min-height:92px;margin:19px 0 17px;padding:20px 28px;background:var(--surface);
 border:1px solid var(--line);box-shadow:0 7px 18px var(--shadow);border-radius:17px
}
.member-app #view-profile .vip-page-hero:before,.member-app #view-profile .vip-page-hero:after{display:none}
.member-app #view-profile .vip-hero-copy h1,.member-app #view-profile .vip-hero-copy h1 span{color:var(--ink);font-size:clamp(29px,2.7vw,37px);margin:3px 0 5px}
.member-app #view-profile .vip-hero-copy h1 em{color:var(--gold);background:none;-webkit-text-fill-color:currentColor}
.member-app #view-profile .vip-hero-copy .eyebrow{color:var(--gold)}
.member-app #view-profile .vip-hero-copy p{font-size:12px;color:var(--muted);line-height:1.5}
.member-app #view-profile .profile-layout{gap:14px}
.member-app #view-profile .profile-card{min-height:143px;padding:22px}
.member-app #view-profile .profile-settings-card{padding:20px}
.member-app #view-profile .profile-settings-card h2{font-size:18px}
.member-app #view-profile .profile-actions>*{min-height:51px}
/* Small interaction effects and platform-familiar focus states */
.member-app .side-links button:not(.active):hover .ui-icon,
.member-app .tool-card:hover .ui-icon{transform:scale(1.08)}
.member-app :is(.side-links button .ui-icon,.tool-card .ui-icon){transition:transform .22s ease}
.member-app .studio-gate-status,.member-app .mi-status-label{letter-spacing:.65px}
@media(max-width:1130px){
 .member-app .app-sidebar{transform:translateX(-105%)}
 .member-app .app-sidebar.open{transform:translateX(0)}
 .member-app .app-main{margin-left:0}
 .member-app .menu-trigger{display:grid}
}
@media(max-width:880px){
 .member-app .dashboard-home .quick-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .member-app #view-markets .mi-feature-grid{grid-template-columns:1fr}
 .member-app #view-markets .mi-feature-secondary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:auto;gap:10px}
 .member-app #view-studio .studio-hero-graphic{display:none}
}
@media(max-width:720px){
 body{font-size:14px}
 .member-app .app-content{padding:0 12px calc(90px + env(safe-area-inset-bottom))}
 .member-app .member-header{min-height:63px;height:63px;padding:0 12px}
 .member-app .workspace-header-label{display:none}
 .member-app .top-brand img{width:36px;height:36px}
 .member-app .header-actions{gap:5px}
 .member-app .icon-btn{width:37px;min-width:37px;height:37px}
 .member-app .dashboard-home .feature-hero{min-height:315px;padding:22px 18px}
 .member-app .dashboard-home .feature-copy h1{font-size:clamp(29px,7.7vw,39px)}
 .member-app .dashboard-home .feature-copy p{max-width:78%;font-size:12px}
 .member-app .dashboard-home .dashboard-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
 .member-app .dashboard-home .dashboard-metrics .metric{min-height:80px;padding:12px}
 .member-app .dashboard-home .dashboard-metrics .metric:last-child{grid-column:1/-1}
 .member-app .dashboard-home .quick-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
 .member-app .dashboard-home .tool-card{min-height:108px;padding:13px}
 .member-app .dashboard-home .tool-card b{font-size:12.5px}
 .member-app .dashboard-home .tool-card small{font-size:10.5px}
 .member-app .dashboard-home .section-title h2{font-size:18px}
 .member-app #view-markets .mi-page-intro{display:block;padding:23px 2px 17px}
 .member-app #view-markets .mi-page-intro h1{font-size:clamp(29px,7.5vw,38px)}
 .member-app #view-markets .mi-intro-status{margin-top:12px;padding:15px}
 .member-app #view-markets .mi-feature-secondary{display:grid;grid-template-columns:1fr}
 .member-app #view-markets .mi-feature-lead .news-visual{height:104px}
 .member-app #view-markets .mi-feature-lead .news-card{min-height:0}
 .member-app #view-markets .mi-filter-panel{gap:8px}
 .member-app #view-studio .studio-premium-heading{min-height:128px;padding:21px 19px;margin:14px 0}
 .member-app #view-studio .studio-premium-heading h1{font-size:31px}
 .member-app #view-studio #studioSubnav button{font-size:11px;padding:9px 12px}
 .member-app #view-studio .studio-gate-header{padding:16px}
 .member-app #view-studio .studio-gate-main{padding:16px}
 .member-app #view-studio .studio-gate-feature-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .member-app #view-tools .vip-page-hero,.member-app #view-mentorship .vip-page-hero,.member-app #view-profile .vip-page-hero{min-height:0;padding:20px 18px;margin:15px 0}
 .member-app #view-tools .vip-tools-grid{grid-template-columns:1fr;gap:11px}
 .member-app #view-tools .vip-tools-grid .tool-list-row{min-height:98px;padding:14px 15px}
 .member-app #view-tools .vip-tools-grid .tool-list-row>span{width:50px;height:50px;font-size:21px}
 .member-app #view-tools .vip-suite-heading h2{font-size:18px}
 .member-app #view-mentorship .vip-highlights-card,.member-app #view-mentorship .vip-application-status-card{min-height:0;padding:16px}
 .member-app #view-mentorship .vip-application-box{padding:17px}
 .member-app #view-profile .profile-card{padding:18px}
 .member-app #view-profile .profile-settings-card{padding:17px}
 .member-app .mobile-dock{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));padding:7px 5px calc(7px + env(safe-area-inset-bottom));background:color-mix(in srgb,var(--surface) 97%,transparent);box-shadow:0 -7px 24px rgba(80,46,17,.10);backdrop-filter:blur(15px);border-top:1px solid var(--line)}
 .member-app .mobile-dock button{min-width:0;min-height:54px;font-size:9.5px;padding:8px 2px;border-radius:11px}
 .member-app .mobile-dock button .ui-icon{width:20px;height:20px}
 .member-app .mobile-dock button.active{background:linear-gradient(120deg,#ffedc7,#e8bb69);color:#33200c}
 .member-app .app-footer{padding-bottom:90px}
}
@media(max-width:420px){
 .member-app .dashboard-home .feature-hero{min-height:325px;padding:20px 16px}
 .member-app .dashboard-home .feature-copy p{max-width:85%}
 .member-app .dashboard-home .hero-visual{opacity:.28}
 .member-app #view-studio .studio-gate-feature-grid{grid-template-columns:1fr}
 .member-app #view-tools .vip-suite-count{display:none}
 .member-app #view-studio #studioSubnav{width:100%}
}
@media(prefers-reduced-motion:reduce){
 .member-app .app-view,
 .member-app .dashboard-home .hero-visual:after,
 .member-app .dashboard-home .hero-visual .hero-globe{animation:none!important}
 .member-app :is(button,a,.news-card,.tool-card,.metric,.ui-icon){transition:none!important}
}
/* The same creator workspace inside the Studio iframe. */
html.sm-embedded .page .btn,html.sm-embedded .page :is(input,textarea,select){min-height:44px;border-radius:11px}
html.sm-embedded .page .grid2{gap:14px}
html.sm-embedded .page .card{border-radius:16px}
html.sm-embedded .page .btn.gold{background:linear-gradient(110deg,#f9dc99,#e9ad4d,#c78623);color:#2e1e0e;box-shadow:0 6px 15px rgba(153,94,30,.15)}
html.sm-embedded .page .intro h1{font-size:clamp(27px,2.7vw,38px)}
@media(max-width:720px){html.sm-embedded .page .grid2{grid-template-columns:1fr}}

/* Uniform Prompt Tools grid: suppress the legacy oversized first card. */
.member-app #view-tools .vip-tools-grid .tool-list-row:first-child{
 grid-column:auto;min-height:118px;max-width:none;
 background:var(--surface);border:1px solid var(--line);
 box-shadow:0 10px 25px var(--shadow)
}
.member-app #view-tools .vip-tools-grid .tool-list-row:first-child:after{display:none}
.member-app #view-tools .vip-tools-grid .tool-list-row:first-child>span{
 width:56px;height:56px;border-radius:14px;font-size:24px;
 background:linear-gradient(130deg,#fff3d6,#edd3a3)
}
.member-app #view-tools .vip-tools-grid .tool-list-row:first-child b{font-size:14px;color:var(--ink)}
.member-app #view-tools .vip-tools-grid .tool-list-row:first-child small{font-size:12px;color:var(--muted)}
.member-app #view-tools .vip-tools-grid .tool-list-row:first-child>i{
 color:var(--gold);background:var(--surface2);border-color:var(--line)
}
@media(max-width:720px){
 .member-app #view-tools .vip-tools-grid .tool-list-row:first-child{min-height:98px;padding:14px 15px}
 .member-app #view-tools .vip-tools-grid .tool-list-row:first-child>span{width:50px;height:50px;font-size:21px}
}
