/* The current Figma shell: one responsive rail, workspace and navigation. */
.shell{--sidebar-width:216px;--workspace-header-height:52px;display:grid;grid-template-columns:var(--sidebar-width) minmax(0,1fr);min-height:var(--usable-height,100dvh);transition:grid-template-columns .24s ease}
.sidebar{position:fixed;inset:0 auto 0 0;display:flex;flex-direction:column;width:var(--sidebar-width);height:var(--usable-height,100dvh);overflow:hidden;gap:12px;padding:14px 10px max(12px,env(safe-area-inset-bottom));background:var(--ui-sidebar);transition:width .24s ease;z-index:40}
.sidebar-head,.sidebar-foot{flex:none;min-width:0}.sidebar-head{display:flex;flex-direction:column;gap:12px}
.sidebar-brand{display:flex;align-items:center;gap:10px;padding:2px 8px;min-height:36px;font-size:14px;white-space:nowrap}
.sidebar-brand .lut-brand-logo{width:28px;height:28px}.sidebar-brand .brand-wordmark{font-family:'Studio Helvetica',sans-serif;font-size:14px;font-weight:400;display:flex;gap:4px}
.sidebar-actions{display:flex;align-items:center;gap:4px;min-height:40px;padding-inline:2px}.sidebar-actions .action-icon{width:40px;height:40px}
.space-switch{margin:0;min-height:58px;padding:8px 12px}
.sidebar-scroll{flex:1 1 auto;min-height:0;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:var(--ui-input-line) transparent;padding:2px}
.sidebar .nav-list{gap:4px}.sidebar .nav-item{display:flex;align-items:center;min-height:40px;gap:12px;font-size:14px;padding:10px;border-radius:10px;flex-shrink:0;white-space:nowrap}
.sidebar .nav-item .icon{width:20px;height:20px;flex:none;stroke-width:1.65}.sidebar .nav-label{overflow:hidden;text-overflow:ellipsis}
.sidebar-foot{gap:2px;margin:0;padding-top:8px;border-top:1px solid var(--ui-line)}
.sidebar-foot .profile{display:flex;align-items:center;width:100%;min-width:0;min-height:44px;padding:6px;border:0;border-radius:10px;background:transparent;color:var(--ui-ink);font:inherit;text-align:left}.profile>span:nth-child(2){flex:1;min-width:0}.profile small{display:block;color:var(--ui-muted);margin-top:3px}
.sidebar .avatar{display:grid;place-items:center;box-sizing:border-box;width:28px;height:28px;min-width:28px;max-width:28px;min-height:28px;max-height:28px;flex:0 0 28px;aspect-ratio:1;border-radius:50%;overflow:hidden;background:var(--ui-soft);color:var(--ui-muted)}
.sidebar .avatar img{display:block;width:100%;height:100%;max-width:100%;object-fit:cover}
.sidebar-projects{min-width:0}.sidebar-projects-heading{display:flex;align-items:center;gap:2px}.sidebar-projects-heading>.nav-item{flex:1;min-width:0;width:100%;border:0;background:transparent;color:var(--ui-muted);text-align:left;font:inherit}.sidebar-projects-heading>.nav-item:hover{background:var(--ui-hover);color:var(--ui-ink)}
.project-chevron{width:16px;height:16px;flex:none;margin-left:auto;transition:transform .18s ease}.sidebar-projects button[aria-expanded=true]>.project-chevron{transform:rotate(180deg)}
#sidebar-projects-list{padding-left:4px}.sidebar-project-heading{display:flex;align-items:center;min-width:0;gap:2px}.sidebar-project-heading>.action-icon{width:28px;min-width:28px;height:32px;min-height:32px;padding:6px}
.sidebar-project-toggle,.sidebar-project-chats>button,.sidebar-project-retry{display:flex;align-items:center;gap:8px;min-width:0;width:100%;min-height:36px;padding:8px;border:0;border-radius:9px;background:transparent;color:var(--ui-muted);font:12px/1.5 var(--ui-font);text-align:left;cursor:pointer}.sidebar-project-toggle:hover,.sidebar-project-chats>button:hover,.sidebar-project-retry:hover{color:var(--ui-ink);background:var(--ui-hover)}
.sidebar-project-toggle>span,.sidebar-project-chats>button>span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sidebar-project-toggle>.ui-icon,.sidebar-project-chats>button>.ui-icon{width:18px;height:18px;flex:none}.sidebar-project-chats{padding-left:18px}.sidebar-project-status{padding:8px 10px;font-size:12px;line-height:1.5;color:var(--ui-muted)}
.sidebar-project-dialog{width:min(1024px,calc(100vw - 24px));max-width:none;max-height:calc(100dvh - 32px);padding:16px;border:1px solid var(--ui-line);border-radius:16px;background:var(--ui-page);color:var(--ui-ink)}.sidebar-project-dialog::backdrop{background:#0007}.sidebar-project-dialog-head{display:flex;justify-content:flex-end}.sidebar-project-dialog .project-editor{padding:8px;max-width:none}
.prototype-footer:empty{display:none}.profile .avatar>.ui-icon{width:18px;height:18px}
@media(min-width:901px){.sidebar-actions{display:none}.is-sidebar-collapsed:not(.is-sidebar-peek) .sidebar-projects-heading>.action-icon,.is-sidebar-collapsed:not(.is-sidebar-peek) .project-chevron,.is-sidebar-collapsed:not(.is-sidebar-peek) #sidebar-projects-list{display:none}.shell.is-sidebar-peek{--sidebar-width:216px}}
@media(max-width:900px),(pointer:coarse){.sidebar-project-toggle,.sidebar-project-chats>button,.sidebar-project-retry,.sidebar-project-heading>.action-icon{min-height:44px}.sidebar-project-heading>.action-icon{min-width:36px}.sidebar-project-dialog .cp-workspace{grid-template-columns:1fr}}
.sidebar-history{margin-top:16px}.sidebar-history>.nav-item{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:block}.sidebar-history .ai-history-empty{padding:0 8px;color:var(--ui-muted);line-height:1.5;font-size:12px}
.guest-sidebar-note{color:var(--ui-muted);font-size:12px;line-height:1.65;padding:16px 8px}.guest-sidebar-login{display:flex;gap:10px;align-items:center;justify-content:center;min-height:44px}.guest-sidebar-login>.icon{width:20px;height:20px}.guest-drawer-theme{display:none}
.workspace{grid-column:2;min-width:0;border:1px solid var(--ui-line);border-radius:0;min-height:var(--usable-height,100dvh);position:relative;overflow:clip}
/* Fill the two outside quarters with the rail material. The workspace keeps
   its rounded edge and the starfield remains visible inside its bounds. */
@media(min-width:901px){
 .site-surface .shell{--shell-corner-material:var(--glass-fill,var(--ui-sidebar))}
 .shell::before,.shell::after{content:"";position:fixed;left:var(--sidebar-width);width:16px;height:16px;z-index:2;pointer-events:none;background:var(--shell-corner-material,var(--ui-sidebar));backdrop-filter:blur(var(--glass-panel-blur,0px)) saturate(0)}
 .shell::before{top:0;mask-image:radial-gradient(circle at 100% 100%,transparent 15px,#000 16px)}
 .shell::after{bottom:0;mask-image:radial-gradient(circle at 100% 0,transparent 15px,#000 16px)}
}
.topbar{display:flex;align-items:center;min-height:var(--workspace-header-height);height:var(--workspace-header-height);gap:12px;padding:5px 12px;position:sticky;top:0;z-index:35;pointer-events:none;background:var(--ui-page)}
.topbar .page-name{display:none}.workspace-nav-actions{display:none;align-items:center;flex-shrink:0;pointer-events:auto;border-radius:var(--ui-radius-control)}.workspace-nav-actions .action-icon{width:44px;height:44px;border-radius:inherit}
.workspace-tools{display:flex;flex:1 1 auto;min-width:0;justify-content:center;align-items:center;padding:0;pointer-events:auto}
.tool-dock{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));align-items:center;gap:2px;padding:3px;width:228px;max-width:100%;border-radius:12px;transition:width .24s ease}
.tool-dock-link{display:flex;align-items:center;justify-content:center;min-width:0;min-height:34px;padding:4px 6px;border-radius:9px;color:var(--ui-muted);text-decoration:none;transition:background-color .18s,color .18s}
.tool-dock-link:hover{background:var(--ui-hover);color:var(--ui-ink)}.tool-dock-link.is-current{background:var(--ui-ink);color:var(--ui-page)}.tool-dock-link:focus-visible{outline:2px solid var(--ui-focus);outline-offset:3px}
.tool-dock-icon{display:grid;place-items:center;flex:none;width:20px;height:20px}.tool-dock-icon .icon{width:20px;height:20px;stroke-width:1.65}
.tool-dock-label{display:grid;align-content:center;gap:1px;max-width:0;margin-left:0;overflow:hidden;opacity:0;white-space:nowrap;font-size:11px;line-height:1.2;transition:max-width .24s,margin-left .24s,opacity .18s}
.tool-dock-label small{font-size:9px;color:inherit}.tool-dock-short{display:none}
.tool-dock:is(:hover,:focus-within){width:min(568px,100%)}.tool-dock:is(:hover,:focus-within) .tool-dock-label{max-width:var(--dock-label-size,144px);margin-left:6px;opacity:1}
.tool-dock-label span,.tool-dock-label small{overflow:hidden;text-overflow:ellipsis}.tool-dock-label:has(.tool-dock-short) .tool-dock-name{display:none}.tool-dock-short{display:inline}
.guest-actions{display:flex;align-items:center;gap:8px;flex:none;pointer-events:auto}.guest-actions .theme-toggle{width:36px;height:36px}
.prototype-footer{padding-bottom:max(12px,env(safe-area-inset-bottom))}
.route-state{max-width:720px;margin:auto;padding:40px 24px;min-height:220px}.route-state h1{font-size:24px;line-height:1.3;margin:0 0 14px}.route-state p{line-height:1.6;margin:0 0 20px}.route-state .row{gap:10px;flex-wrap:wrap}.route-state[aria-busy=true]{color:var(--ui-muted)}
#main:focus{outline:none}body.navigation-open{overflow:hidden}#toast{max-width:calc(100vw - 28px);width:max-content;white-space:normal;overflow-wrap:anywhere;bottom:max(16px,env(safe-area-inset-bottom));z-index:70}
.workspace .ai-chat{min-height:calc(var(--usable-height,100dvh) - var(--workspace-header-height) - 48px)}.workspace .ai-welcome{justify-content:center;padding-top:40px;padding-bottom:32px}.workspace .ai-welcome .ai-intro{margin-bottom:8px}
.ai-compose-wrap{min-width:0}.ai-compose-controls{min-width:0}.ai-composer textarea{max-height:35dvh}.ai-conversation .ai-compose-wrap{bottom:var(--keyboard-inset,0px);padding-bottom:max(8px,env(safe-area-inset-bottom))}
.ai-chat .chat-wordmark{font-family:'Studio Helvetica',sans-serif;font-weight:400;letter-spacing:-.02em}.ai-chat .prompt-with-voice>.voice-input{position:static}.ai-chat .prompt-with-voice{position:relative}
.ai-quote,.media-quotation{max-height:none;overflow:visible}.ai-balance-lines strong{overflow-wrap:anywhere;text-align:right}.ai-balance-lines>div{gap:18px}
.appearance-control{display:flex;align-items:center;gap:8px;color:var(--ui-muted);font-size:12px}.appearance-control select{width:auto;min-width:0;max-width:112px;padding:7px 10px;font-size:12px}.appearance-control>span{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.is-guest .guest-cta{background:var(--ui-ink);color:var(--ui-page);min-height:44px}.is-guest .ai-send,.is-guest .media-generate{display:none}.is-guest .ai-composer .guest-cta{margin:14px 12px 0}.is-guest .guest-caption{padding:0 12px 12px}
.app-startup{min-height:65dvh;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:20px;padding:24px;text-align:center;color:var(--ui-muted);font-family:var(--ui-font,sans-serif)}.app-startup h1{font-size:20px;font-weight:500}
@media(min-width:901px){
 .shell.is-sidebar-collapsed:not(.is-sidebar-peek){--sidebar-width:64px}.shell.is-sidebar-collapsed:not(.is-sidebar-peek) .sidebar{padding-inline:8px;transform:none;visibility:visible;pointer-events:auto}
 .is-sidebar-collapsed:not(.is-sidebar-peek) .sidebar-brand{padding:0;justify-content:center}.is-sidebar-collapsed:not(.is-sidebar-peek) .sidebar-brand .brand-wordmark,.is-sidebar-collapsed:not(.is-sidebar-peek) .sidebar .nav-label,.is-sidebar-collapsed:not(.is-sidebar-peek) .sidebar-history,.is-sidebar-collapsed:not(.is-sidebar-peek) .guest-sidebar-note,.is-sidebar-collapsed:not(.is-sidebar-peek) .profile>span:nth-child(2),.is-sidebar-collapsed:not(.is-sidebar-peek) .profile-update-slot{display:none}
 .is-sidebar-collapsed:not(.is-sidebar-peek) .sidebar .space-switch{visibility:hidden;pointer-events:none}
 .is-sidebar-collapsed:not(.is-sidebar-peek) .sidebar-actions{flex-direction:column;gap:4px}.is-sidebar-collapsed:not(.is-sidebar-peek) .sidebar .nav-item{justify-content:center;padding:10px}.is-sidebar-collapsed:not(.is-sidebar-peek) .profile-control{display:block}.is-sidebar-collapsed:not(.is-sidebar-peek) .profile-control .profile{justify-content:center;padding:4px}.is-sidebar-collapsed:not(.is-sidebar-peek) .sidebar-scroll{overflow-x:hidden}.is-sidebar-collapsed:not(.is-sidebar-peek) .guest-sidebar-login{padding:10px}.is-sidebar-collapsed:not(.is-sidebar-peek) .sidebar-brand{min-height:36px}
}

/* The account surface grows from its trigger; an empty slot is reserved for updates. */
.profile-control{display:grid;grid-template-columns:minmax(0,1fr);align-items:center;gap:4px;min-width:0}
.profile-control .profile{width:100%;min-width:0;min-height:40px;gap:8px;padding:5px 6px;align-items:center;text-align:left}
.profile-control .avatar{width:28px;height:28px;flex:none;font-size:12px}
.profile-control .profile strong{font-size:12px}
.profile-control .profile>span:nth-child(2){overflow:hidden;text-overflow:ellipsis;white-space:nowrap;line-height:1.35}
.profile-control .profile small{overflow:hidden;text-overflow:ellipsis;font-size:10px;font-weight:400}
.profile-control .profile[aria-expanded=true]{background:var(--ui-hover)}
.profile-update-slot{display:none;width:32px;height:40px;pointer-events:none}
.profile-popover{
 position:fixed;
 inset:auto;
 width:min(284px,calc(100vw - 24px));
 max-height:calc(var(--usable-height,100dvh) - 90px);
 margin:0;
 padding:6px;
 border:0;
 border-radius:14px;
 background:var(--ui-sidebar);
 color:var(--ui-ink);
 font:14px/20px var(--ui-font);
 box-shadow:0 12px 44px #00000024,0 2px 8px #0000000a;
 overflow:auto;
 overscroll-behavior:contain;
 scrollbar-width:thin;
 scrollbar-color:var(--ui-input-line) transparent;
 opacity:0;
 transform:translateY(10px) scale(.98);
 transform-origin:bottom left;
 transition:opacity .2s ease-out,transform .32s cubic-bezier(.22,.68,0,1),display .2s allow-discrete,overlay .2s allow-discrete;
}
:root[data-theme=dark] .profile-popover{background:var(--ui-soft);box-shadow:0 16px 48px #00000070,0 2px 8px #00000030}
.profile-popover:popover-open{opacity:1;transform:translateY(0) scale(1)}
.profile-popover.is-closing{opacity:0;transform:translateY(6px) scale(.99);transition-duration:.15s}
.profile-popover [hidden]{display:none!important}
@starting-style {.profile-popover:popover-open {opacity:0;transform:translateY(10px) scale(.98)}}
.profile-menu-head{padding:8px 9px 10px;min-width:0}
.profile-menu-head strong,.profile-menu-head small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.profile-menu-head strong{font-size:13px;font-weight:700;line-height:1.35}
.profile-menu-head small{margin-top:2px;font-size:10px;color:var(--ui-muted)}
.profile-menu-row{display:flex;align-items:center;gap:8px;width:100%;min-height:32px;padding:7px 9px;border:0;border-radius:8px;background:transparent;color:inherit;font:inherit;text-align:left;text-decoration:none;cursor:pointer}
.profile-menu-row:hover{background:var(--ui-hover);filter:none}
.profile-menu-row .ui-icon,.profile-usage-head .ui-icon{flex:none;width:16px;height:16px}
.profile-menu-row:focus-visible,.profile-theme-options button:focus-visible{outline:2px solid var(--ui-focus);outline-offset:-2px}
.profile-menu-divider{height:1px;margin:4px 9px;background:var(--ui-line)}
.profile-popover [data-profile-usage]{display:flex;align-items:flex-start;padding:8px 9px;border-radius:8px;color:inherit;text-decoration:none}
.profile-popover [data-profile-usage]:hover{background:var(--ui-hover);filter:none}
.profile-usage-head{display:flex;align-items:center;flex-wrap:wrap;gap:2px 6px}
.profile-popover [data-profile-usage]>span{flex:1;min-width:0}
.profile-popover [data-profile-usage]>.ui-icon{margin-top:1px}
.profile-usage-head>strong:first-child{font-size:12px;font-weight:400}
.profile-usage-head>strong:last-child{margin-left:auto;font-size:10px;font-weight:400;white-space:nowrap;color:var(--ui-muted);font-variant-numeric:tabular-nums}
.profile-popover [data-profile-usage] small{display:block;margin:3px 0 0;color:var(--ui-muted);font-size:10px;line-height:1.4}
.profile-popover [data-profile-usage] meter{display:block;width:100%;height:4px;margin:6px 0 4px;appearance:none;border:0;border-radius:8px;background:var(--ui-line)}
.profile-popover meter::-webkit-meter-bar{height:4px;border:0;border-radius:8px;background:var(--ui-line)}
.profile-popover meter::-webkit-meter-optimum-value{border-radius:8px;background:var(--ui-ink)}
.profile-popover meter::-moz-meter-bar{border-radius:8px;background:var(--ui-ink)}
.profile-appearance>summary{list-style:none;user-select:none}
.profile-appearance>summary::-webkit-details-marker{display:none}
.profile-theme-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:3px;padding:3px 3px 6px}
.profile-theme-options button{background:transparent;min-height:30px;padding:5px 2px;border:0;border-radius:8px;color:var(--ui-muted);font-size:10px;line-height:1.2;cursor:pointer}
.profile-theme-options button:hover{background:var(--ui-hover)}
.profile-theme-options button[aria-pressed=true]{background:var(--ui-ink);color:var(--ui-page)}
.profile-menu-error{margin:4px 9px;color:var(--ui-error);font-size:12px;line-height:1.5}
.profile-menu-error:empty{display:none}
@media(prefers-reduced-motion:reduce){
 .profile-popover,.profile-popover:popover-open,.profile-popover.is-closing{transform:none;transition:opacity .1s linear,display .1s allow-discrete,overlay .1s allow-discrete}
 @starting-style {.profile-popover:popover-open {transform:none}}
}

@media(pointer:coarse){
 .profile-menu-row{min-height:40px}
 .profile-theme-options button{min-height:36px}
}


@media(max-width:900px){
 .shell{display:block;--workspace-header-height:56px}.workspace{grid-column:auto;border:0;border-radius:0}
 .sidebar{width:min(284px,calc(100vw - 32px));background:var(--ui-sidebar);transform:translateX(-105%);visibility:hidden;z-index:60;padding-top:max(14px,env(safe-area-inset-top));transition:transform .18s ease-out}
 .sidebar.open{transform:translateX(0);visibility:visible}.sidebar-dismiss{position:fixed;inset:0;border:0;border-radius:0;background:#0007;z-index:50;min-width:0;padding:0}
 .topbar{gap:4px;padding:6px max(8px,env(safe-area-inset-right)) 6px max(8px,env(safe-area-inset-left));border-bottom:1px solid var(--ui-line)}.workspace-nav-actions{display:flex}.tool-dock{width:100%;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:2px;padding:0;height:44px;border-radius:10px}.tool-dock:is(:hover,:focus-within){width:100%}.tool-dock-link{display:grid;place-items:center;min-height:44px;height:44px;padding:0;min-width:0}.tool-dock-label,.tool-dock:is(:hover,:focus-within) .tool-dock-label{display:none}
 .topbar>.guest-actions{display:none}.guest-drawer-theme{display:block}.sidebar .nav-item,.sidebar-actions .action-icon,.profile-control .profile{min-height:44px}.sidebar-actions .action-icon{width:44px;height:44px}
 .content{padding-inline:18px}.route-state{padding:28px 18px}.workspace .ai-chat{padding-inline:12px;min-height:calc(var(--usable-height,100dvh) - var(--workspace-header-height) - 12px)}
 .workspace .ai-welcome{justify-content:space-between;padding:clamp(28px,6dvh,64px) 12px 12px;gap:24px}.workspace .ai-welcome .ai-intro{gap:12px;margin-bottom:0;padding-block:0}.ai-welcome .ai-compose-wrap{width:100%;position:sticky;bottom:var(--keyboard-inset,0px)}
 .ai-compose-controls{gap:4px;display:flex!important;flex-wrap:nowrap}.ai-chat .ai-compose-controls .settings-menu{min-width:0}.ai-chat .ai-compose-controls .composer-spacer{display:block;flex:1;min-width:0}.ai-chat .ai-compose-controls .attachment-action{flex:none}.ai-chat .ai-compose-controls .voice-input{flex:none}.ai-chat .ai-send{margin-left:0;flex:none;width:44px;height:44px}.composer-menu>summary{overflow:hidden}
 .model-filter-row{grid-template-columns:minmax(0,1fr)}.model-filter-row .model-favorites-only{padding-bottom:0}.composer-menu .composer-popover{position:fixed;inset:auto 12px calc(var(--keyboard-inset,0px) + 12px);width:auto;min-width:0;max-width:none;max-height:calc(var(--usable-height,100dvh) - 88px);overflow:auto;z-index:65;overscroll-behavior:contain}.ai-quote strong{font-size:18px}
 .appearance-control select{max-width:104px;font-size:13px!important;min-height:40px;padding:6px}
}
@media(hover:none),(pointer:coarse){.tool-dock-label,.tool-dock:is(:hover,:focus-within) .tool-dock-label{display:none}.tool-dock:is(:hover,:focus-within){width:228px}.tool-dock-link{min-height:44px}.profile-menu-row,.profile-theme-options button{min-height:44px}}
@media(max-width:380px){.sidebar .nav-item{font-size:13px}.media-options{grid-template-columns:minmax(0,1fr)}.tool-dock{gap:0}.topbar{gap:0}.ai-chat .ai-compose-controls{gap:2px}}
@media(max-height:650px){.sidebar{gap:8px}.sidebar-history{margin-top:14px}.workspace .ai-welcome{justify-content:flex-start;padding-top:20px;padding-bottom:12px}.ai-chat{gap:16px}.ai-intro h1{font-size:22px}}
@media(prefers-reduced-motion:reduce){.shell,.sidebar,.tool-dock,.tool-dock-link,.tool-dock-label{transition:none}}

/* Authenticated account tools reuse the same frame as the creation workspace. */
.account-shell-active>header[hidden]{display:none!important}
.account-client-shell .sidebar .nav-item{color:var(--ui-muted);text-decoration:none}
.account-client-shell .sidebar .nav-item:hover{background:var(--ui-hover);color:var(--ui-ink)}
.account-client-shell .sidebar .nav-list{display:flex;flex-direction:column}
.account-client-shell .sidebar a.action-icon{display:grid;place-items:center;color:var(--ui-muted);text-decoration:none;width:40px;height:40px;border-radius:9px}
.account-client-shell .sidebar .brand-wordmark{color:var(--ui-ink)}
.account-client-shell .sidebar .lut-brand-logo{width:28px;height:28px}
.account-client-shell #account-root{width:calc(100% - 64px);max-width:1200px;margin:28px auto 64px;padding:0}
.account-client-shell #account-root.partner-page{width:calc(100% - 64px)!important;max-width:1320px!important;margin:0 auto!important;padding-bottom:40px!important}
.account-client-shell .partner-brand,.account-client-shell .partner-header-actions{display:none}
.account-client-shell .partner-top{grid-template-columns:1fr;min-height:64px;padding:0;gap:0}
.account-client-shell .partner-tabs{justify-self:start;margin:0;display:flex;gap:12px;max-width:100%;overflow-x:auto}
.account-client-shell .partner-tabs a{min-height:44px;display:flex;align-items:center;white-space:nowrap}
.account-client-shell .settings-heading h1{font-size:24px;font-weight:500}
.account-client-shell .settings-nav{top:72px}
@media(max-width:900px){.account-client-shell #account-root{width:calc(100% - 32px);margin:24px auto 40px}.account-client-shell #account-root.partner-page{width:calc(100% - 32px)!important}.account-client-shell .partner-top{min-height:64px}.account-client-shell .partner-tabs{gap:8px}.account-client-shell .partner-tabs a{padding-inline:10px;font-size:13px}.account-client-shell .settings-layout{grid-template-columns:minmax(0,1fr)}.account-client-shell .settings-nav{position:static}}

body.site-surface .lut-motion-toggle[data-inline=true]{position:static;inset:auto;width:100%;height:auto;min-height:40px;display:flex;align-items:center;justify-content:flex-start;gap:8px;padding:8px;border:0;background:transparent;box-shadow:none;text-align:left;font:12px/1.4 var(--ui-font)}
body.site-surface .lut-motion-toggle[data-inline=true]>.ui-icon{width:20px;height:20px;flex:none}.sidebar-foot>.lut-motion-toggle[data-inline=true]>span{display:none}
@media(max-width:900px){.account-client-shell .settings-heading h1{font-size:20px}}

.profile-signin-link{display:block;margin-top:10px;color:var(--ui-ink);text-decoration:underline}

/* Local controls restore their own position after layout. */
#main{overflow-anchor:none}
