/* Shuton 1.0.3 design-preserving release candidate; never loaded in the public branch. */
html,body{max-width:100%;overflow-x:clip;-webkit-text-size-adjust:100%;text-size-adjust:100%}
.shuton-premium-ui .persistent-conversation-dock,
.shuton-premium-ui .premium-mode-rail,
.shuton-premium-ui .premium-project-context,
.shuton-premium-ui .ecosystem-panel,
.shuton-premium-ui #hubBtn,
.shuton-premium-ui .premium-action[data-action="voice"],
.shuton-premium-ui .premium-action[data-action="files"],
.shuton-premium-ui .smart-shortcuts [data-smart="current"],
.shuton-premium-ui .smart-shortcuts [data-smart="tutor"],
.shuton-premium-ui .quick-grid [data-quick="briefing"],
.shuton-premium-ui .quick-grid [data-quick="day"],
.shuton-premium-ui #circleCreatePanel,
.shuton-premium-ui #communityRefresh {display:none!important}
.shuton-premium-ui .command-composer #voiceBtn[hidden],
.shuton-premium-ui .command-composer #voiceBtn.hidden{display:none!important}
.shuton-premium-ui #chatForm,
.shuton-premium-ui .command-composer,
.shuton-premium-ui .ask-shell {min-width:0!important;max-width:100%!important;box-sizing:border-box!important}
.shuton-premium-ui #chatForm #chatInput,.shuton-premium-ui #chatForm #chatInput:focus{
 box-sizing:border-box!important;font-size:17px!important;line-height:1.35!important;
 width:100%!important;max-width:100%!important;min-width:0!important;
 -webkit-text-size-adjust:100%;text-size-adjust:100%;
}
.shuton-premium-ui #chatForm #dictateBtn{
 display:flex!important;align-items:center!important;justify-content:center!important;
 border-radius:15px!important;color:#fff!important;background:linear-gradient(145deg,#285dbd,#347ee2)!important;
 font-size:23px!important;border:1px solid rgba(151,203,252,.45)!important;padding:0!important;
 min-width:0!important;cursor:pointer
}
.shuton-premium-ui #chatForm #dictateBtn.dictating{background:linear-gradient(145deg,#b23662,#e85281)!important}
.shuton-premium-ui #chatForm #dictateBtn:focus-visible{outline:3px solid #9be7ff;outline-offset:2px}
.shuton-premium-ui .dictation-status{margin:7px 6px 0;color:#b9dfff;font-size:12px;line-height:1.45;overflow-wrap:anywhere}
.shuton-premium-ui .dictation-status.hidden{display:none!important}
.shuton-premium-ui .premium-action-rail{grid-template-columns:repeat(4,minmax(0,1fr))!important}
.shuton-premium-ui .current-reply .bubble>span:first-child{
 display:-webkit-box;-webkit-line-clamp:5;-webkit-box-orient:vertical;overflow:hidden;
 overflow-wrap:anywhere
}
.shuton-premium-ui .ask-shell:has(#transcriptSheet:not(.collapsed)) #currentReply{display:none!important}
.shuton-premium-ui .ask-shell .transcript-sheet{max-width:100%;box-sizing:border-box}
.shuton-premium-ui .room-tabs{display:flex;gap:8px;max-width:100%;overflow-x:auto;padding:8px 0;scrollbar-width:thin}
.shuton-premium-ui .room-tabs.hidden{display:none!important}
.shuton-premium-ui .room-tab{display:inline-flex;align-items:center;gap:8px;flex-shrink:0;border:1px solid #315c86;border-radius:13px;background:#112844;color:#dceaff;padding:9px 12px;font-size:14px;max-width:220px}
.shuton-premium-ui .room-tab[aria-current="page"]{background:#26538c;border-color:#6cb4ed}
.shuton-premium-ui .room-tab .room-tab-close{font-size:16px;border:0;border-radius:7px;background:transparent;color:inherit;min-width:26px;min-height:28px}
.shuton-premium-ui #allRoomsPanel h4{margin:18px 0 10px;font-size:16px}
.shuton-premium-ui .room-list-entry{display:flex;align-items:center;gap:8px;margin:8px 0;min-width:0}
.shuton-premium-ui .room-list-entry>.choice{flex:1;min-width:0;text-align:left;overflow-wrap:anywhere}
.shuton-premium-ui .room-list-entry>.secondary{flex-shrink:0}
.shuton-premium-ui .setting.stacked>.button-row{display:flex;align-items:center;flex-wrap:wrap;gap:8px}
.shuton-premium-ui .setting.stacked>.button-row .pill{flex:0 1 auto;line-height:1.4;white-space:normal;text-align:center}
.shuton-premium-ui #microphonePermissionStatus,.shuton-premium-ui #locationStatus{margin:0}
@media(max-width:719px){
 .shuton-premium-ui #chatForm{
  display:grid!important;grid-template-columns:44px minmax(0,1fr) 48px 44px!important;
  grid-template-rows:52px!important;align-items:center!important;column-gap:6px!important;
  padding:5px!important;margin:0!important;min-height:62px!important
 }
 .shuton-premium-ui #chatForm #toolsToggleBtn{grid-column:1!important;grid-row:1!important;width:44px!important;min-width:0!important;height:52px!important;padding:0!important}
 .shuton-premium-ui #chatForm #chatInput{grid-column:2!important;grid-row:1!important;height:52px!important;min-height:52px!important;padding:5px 9px!important}
 .shuton-premium-ui #chatForm #dictateBtn{grid-column:3!important;grid-row:1!important;width:48px!important;min-width:0!important;height:52px!important}
 .shuton-premium-ui #chatForm #sendBtn{grid-column:4!important;grid-row:1!important;width:44px!important;min-width:0!important;height:52px!important;padding:0!important}
 .shuton-premium-ui .tabs{left:max(8px,env(safe-area-inset-left))!important;right:max(8px,env(safe-area-inset-right))!important;max-width:calc(100% - 16px)!important;box-sizing:border-box!important}
 .shuton-premium-ui .home-screen,.shuton-premium-ui .screen,.shuton-premium-ui .ask-shell{min-width:0!important;overflow-x:clip}
 .shuton-premium-ui .premium-action-rail{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:5px!important}
 .shuton-premium-ui .premium-action{min-width:0!important;padding:7px 2px!important;font-size:12px!important}
}

/* Remove visually redundant flows while retaining existing saved data. */
.shuton-premium-ui [data-screen="path"]>.title,
.shuton-premium-ui [data-screen="path"]>.subtitle,
.shuton-premium-ui [data-screen="path"]>.path-summary,
.shuton-premium-ui [data-screen="path"]>#goalList,
.shuton-premium-ui [data-screen="path"]>.panel:has(#addGoal),
.shuton-premium-ui [data-screen="path"]>.panel:has(#habitInput),
.shuton-premium-ui [data-screen="memory"]>.panel:has(#approvedMemoryList),
.shuton-premium-ui [data-screen="memory"]>.panel:has(#memorySuggestionList),
.shuton-premium-ui [data-screen="memory"]>.panel:has(#avoidList),
.shuton-premium-ui .quick-grid [data-quick="lesson"],
.shuton-premium-ui .premium-action-rail [data-action="files"]{display:none!important}
.shuton-premium-ui .ask-title{display:flex;align-items:flex-start;gap:10px}
.shuton-premium-ui .ask-title>div{min-width:0;flex:1}
.shuton-premium-ui .ask-title button{flex:0 0 auto;max-width:38%}
.shuton-premium-ui .smart-shortcuts{display:flex;flex-wrap:wrap;gap:6px}
.shuton-premium-ui .smart-shortcuts button{min-width:0;max-width:100%;flex:0 1 auto}
.shuton-premium-ui .room-tabs .room-tab-select{min-width:0;max-width:162px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;border:0;background:none;color:inherit;font-size:inherit}
.shuton-premium-ui #worldCommunity .field{margin:8px 0}
.shuton-premium-ui #worldCommunity .community-visibility{display:flex;align-items:center;gap:8px}
.shuton-premium-ui .notification-feed{max-height:60vh;overflow:auto}

/* R66 · Motion-photo preview: honors reduced motion and keeps static fallback. */
#stage.portrait-view .avatar-motion{position:absolute;inset:0;overflow:hidden;isolation:isolate}
#stage .photo-presence-canvas{display:none}
#stage.portrait-view.photo-motion-ready .photo-presence-canvas{
 display:block!important;position:absolute;inset:0;width:100%;height:100%;z-index:2;
 pointer-events:none;object-fit:cover;
 mask-image:radial-gradient(ellipse 64% 78% at 50% 48%,#000 58%,rgba(0,0,0,.92) 70%,transparent 100%);
 -webkit-mask-image:radial-gradient(ellipse 64% 78% at 50% 48%,#000 58%,rgba(0,0,0,.92) 70%,transparent 100%);
}
#stage.portrait-view.photo-motion-ready .avatar-motion #mainAvatar{visibility:hidden!important}
#stage.portrait-view:not(.photo-motion-ready) .avatar-motion #mainAvatar{visibility:visible!important}
@keyframes shutonPhotoNod{0%,100%{transform:translateY(0)}30%{transform:translateY(6px)}65%{transform:translateY(-2px)}}
@keyframes shutonPhotoShake{0%,100%{transform:translateX(0)}30%{transform:translateX(-7px)}65%{transform:translateX(5px)}}
@keyframes shutonPhotoSmile{0%,100%{filter:brightness(1)}50%{filter:brightness(1.04)}}
#stage.portrait-view[data-photo-gesture="nod"] .avatar-motion{animation:shutonPhotoNod .6s ease 1!important}
#stage.portrait-view[data-photo-gesture="shakeHead"] .avatar-motion{animation:shutonPhotoShake .6s ease 1!important}
#stage.portrait-view[data-photo-gesture="smile"] .avatar-motion{animation:shutonPhotoSmile .6s ease 1!important}
@media(prefers-reduced-motion:reduce){
 #stage.portrait-view .avatar-motion{animation:none!important;transform:none!important}
 #stage.portrait-view .photo-presence-canvas{animation:none!important;transition:none!important}
}

/* Portrait controls borrowed from the existing experimental avatar preview. */
/* Ship-ready avatar picker: readable options and direct access to memberships. */
.shuton-premium-ui .avatar-view-control{
 display:grid!important;grid-template-columns:auto minmax(0,1fr) auto!important;gap:10px;
 align-items:center;padding:12px 14px;box-sizing:border-box;min-width:0;width:100%;
 color:#f1f7ff
}
.shuton-premium-ui .avatar-view-title{color:#e1efff;font-size:15px;font-weight:650;white-space:nowrap}
.shuton-premium-ui .avatar-view-control select{
 width:100%;min-width:0;max-width:none!important;box-sizing:border-box;
 background:#102843;color:#f5faff;border:1px solid #7caddb;border-radius:12px;
 min-height:46px;padding:9px 11px;font-size:16px!important;line-height:1.3;
 -webkit-text-fill-color:#f5faff
}
.shuton-premium-ui #avatarMembershipsBtn{
 display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;
 min-height:46px;min-width:142px;padding:10px 14px;font-size:14px;font-weight:700;
 color:#f7fbff;border:1px solid #83bafa;border-radius:12px;
 background:linear-gradient(125deg,#17365a,#194a79);white-space:nowrap;
 cursor:pointer
}
.shuton-premium-ui #avatarMembershipsBtn:focus-visible,
.shuton-premium-ui .avatar-view-control select:focus-visible{
 outline:3px solid #a9ddff;outline-offset:2px
}
@media(max-width:719px){
 .shuton-premium-ui .avatar-view-control{
  grid-template-columns:minmax(0,1fr) auto!important;column-gap:9px;row-gap:7px;
  padding:11px 12px
 }
 .shuton-premium-ui .avatar-view-title{grid-column:1 / -1}
 .shuton-premium-ui .avatar-view-control select{grid-column:1;grid-row:2}
 .shuton-premium-ui #avatarMembershipsBtn{grid-column:2;grid-row:2;min-width:130px;padding:10px 11px}
}

.avatar-stage.portrait-view .avatar-canvas,#stage.portrait-view .avatar-canvas{display:none!important}
.avatar-stage.portrait-view .avatar-motion,#stage.portrait-view .avatar-motion{display:block!important}
.avatar-stage.portrait-view .avatar-motion img{object-fit:cover}


/* Only the isolated preview backend exposes the onboarding portrait preview
   while its AI provider remains unconfigured. No simulated chat or bypass. */
.shuton-premium-ui #candidateAvatarPreviewBtn{
 min-height:48px;width:100%;color:#eaf6ff;
 background:#102d4d;border:1px solid #79b9e8;border-radius:14px;
 font-size:15px;font-weight:700
}
.shuton-premium-ui #candidateAvatarPreviewBtn[hidden]{display:none!important}
.shuton-premium-ui #connectivity.candidate-preview-notice{
 background:#eaf4ff;color:#163f70;border-color:#a7c9ef;
 font-size:12px;line-height:1.5;font-weight:600;
}
.candidate-avatar-preview{
 width:min(620px,calc(100vw - 26px));max-height:calc(100dvh - 28px);
 box-sizing:border-box;overflow-y:auto;border:1px solid #659acb;
 background:#071727;color:#f5faff;border-radius:18px;
 padding:18px;margin:auto;box-shadow:0 20px 65px rgba(0,0,0,.65)
}
.candidate-avatar-preview::backdrop{background:rgba(1,7,17,.82)}
.candidate-avatar-preview h2{margin:4px 0 8px;font-size:21px;line-height:1.2}
.candidate-avatar-preview p{color:#c1d5e9;line-height:1.5;font-size:13px;margin:0 0 14px}
.candidate-avatar-preview-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.candidate-avatar-preview figure{min-width:0;margin:0;border-radius:13px;overflow:hidden;background:#142e45;border:1px solid #355879}
.candidate-avatar-preview figure img{display:block;width:100%;height:auto;aspect-ratio:4/5;object-fit:cover}
.candidate-avatar-preview figcaption{padding:9px 5px;text-align:center;color:#f4faff;font-size:13px;font-weight:650}
.candidate-avatar-preview>button{display:block;width:100%;min-height:44px;margin-top:16px;color:#fff;border:1px solid #81b5e6;border-radius:10px;background:#19375c}
.candidate-avatar-preview :focus-visible{outline:3px solid #b4e9ff;outline-offset:2px}


/* Photographic depth mesh: visible when local WebGL initialized successfully.
   Old GLB avatars are no longer a selectable mode. Canvas2D remains fallback. */
#stage.portrait-view.photo-depth-ready .photo-depth-canvas{
 display:block!important;position:absolute;inset:0;width:100%;height:100%;
 z-index:3;pointer-events:none;object-fit:cover
}
#stage .photo-depth-canvas{display:none}
#stage.portrait-view.photo-depth-ready .photo-presence-canvas,
#stage.portrait-view.photo-depth-ready .avatar-motion #mainAvatar{visibility:hidden!important;display:none!important}
#stage.portrait-view:not(.photo-depth-ready) .avatar-motion #mainAvatar{
 visibility:visible!important
}
@media(prefers-reduced-motion:reduce){
 #stage .photo-depth-canvas{display:none!important}
 #stage.portrait-view .avatar-motion #mainAvatar{visibility:visible!important;display:block!important}
}


/* Candidate UX review 2026-10-13: remove learning surface, never delete stored learning records. */
.shuton-103-candidate #tabs [data-tab="path"],
.shuton-103-candidate [data-screen="path"]{display:none!important}
.shuton-103-candidate #tabs{display:flex!important;justify-content:space-around;gap:8px}
.shuton-103-candidate #tabs [data-tab]{flex:1 1 0;min-width:0}
.shuton-103-candidate .avatar-view-control{display:none!important}
/* Existing approved character stays selected via onboarding and account preferences. */
.shuton-103-candidate #stage.portrait-view .avatar-motion img#mainAvatar{
  width:100%!important;height:100%!important;object-fit:contain!important;
  object-position:center center!important;max-width:100%;
}
/* Ensure fallback photo shows a complete head rather than cropping the face. */
.shuton-103-candidate #stage.portrait-view .avatar-motion{background:#0c1b2e}
.shuton-103-candidate .premium-section,.shuton-103-candidate #subscriptionPanel,
.shuton-103-candidate .account-section-body,.shuton-103-candidate .panel{
  min-width:0;overflow-wrap:break-word;word-break:normal
}
.shuton-103-candidate .premium-section p,.shuton-103-candidate #subscriptionPanel p,
.shuton-103-candidate .premium-section small,.shuton-103-candidate #subscriptionPanel small{
  min-width:0;max-width:100%;width:auto!important;overflow-wrap:anywhere;
  writing-mode:horizontal-tb!important;word-break:normal!important
}
.shuton-103-candidate #tabs{z-index:20}
.shuton-103-candidate [data-screen="home"]{padding-bottom:90px}

/* Remove home upsell clutter; purchases remain available from Cuenta / Más. */
.shuton-103-candidate [data-screen="home"] .home-commerce-strip{display:none!important}
/* Prevent single-letter vertical column if old premium grid forces a tiny first cell. */
.shuton-103-candidate #subscriptionPanel .account-section-body > *,
.shuton-103-candidate .home-commerce-strip > *,
.shuton-103-candidate #subscriptionPanel section{min-width:0!important;width:100%!important;max-width:100%!important}
.shuton-103-candidate #subscriptionPanel .account-section-body{display:block!important}

/* Community forms and authentication buttons: usable widths and horizontal labels. */
.shuton-103-candidate #communityProfile,
.shuton-103-candidate #communitySearch{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:12px;min-width:0;width:100%}
.shuton-103-candidate #worldCommunity form button,
.shuton-103-candidate #communityFirstUseSave{
 display:inline-flex!important;align-items:center!important;justify-content:center!important;
 min-width:0!important;width:100%!important;max-width:100%!important;
 min-height:46px!important;padding:12px 18px!important;
 box-sizing:border-box!important;white-space:normal!important;
 overflow-wrap:normal!important;word-break:normal!important;writing-mode:horizontal-tb!important;
 line-height:1.25!important;text-align:center!important;font-size:15px!important
}
.shuton-103-candidate #loginBtn,
.shuton-103-candidate #welcomeLoginBtn,
.shuton-103-candidate #accountLoginEntryBtn{
 display:flex!important;align-items:center!important;justify-content:center!important;
 width:100%!important;max-width:100%!important;min-width:0!important;min-height:48px!important;
 box-sizing:border-box!important;padding:12px 16px!important;
 white-space:nowrap!important;word-break:normal!important;overflow-wrap:normal!important;
 writing-mode:horizontal-tb!important;line-height:1.3!important;text-align:center!important
}
.shuton-103-candidate [data-screen="signin"] .auth-card,
.shuton-103-candidate [data-screen="signin"] .panel{min-width:0!important;max-width:100%!important}


/* Candidate free discovery: subtle on-device portrait presence, zero network/Simli.
   Static approved portraits remain unchanged; this is not facial lip-sync. */
.shuton-103-candidate .candidate-avatar-preview-grid figure{
 position:relative;transition:transform .22s ease, border-color .22s ease;
}
.shuton-103-candidate .candidate-avatar-preview-grid figure img{
 transform-origin:50% 42%;animation:shutonFreePortraitBreath 6.4s ease-in-out infinite alternate;
}
.shuton-103-candidate .candidate-avatar-preview-grid figure:nth-child(2) img{animation-delay:-1.4s}
.shuton-103-candidate .candidate-avatar-preview-grid figure:nth-child(3) img{animation-delay:-3.1s}
.shuton-103-candidate .candidate-avatar-preview-grid figure:nth-child(4) img{animation-delay:-4.6s}
.shuton-103-candidate .candidate-avatar-preview-grid figure:focus-within,
.shuton-103-candidate .candidate-avatar-preview-grid figure:hover{border-color:#9cdbff}
@keyframes shutonFreePortraitBreath{
 from{transform:scale(1) translateY(0)}
 to{transform:scale(1.018) translateY(-2px)}
}
@media(prefers-reduced-motion:reduce){
 .shuton-103-candidate .candidate-avatar-preview-grid figure img{
  animation:none!important;transform:none!important
 }
 .shuton-103-candidate .candidate-avatar-preview-grid figure{transition:none!important}
}


/* Oct 14 iPhone QA: labels must stay readable, without changing the account or avatar. */
.shuton-103-candidate .avatar-view-control{max-width:100%!important;min-width:0!important}
.shuton-103-candidate .avatar-view-control select{min-width:145px!important;max-width:100%!important;text-overflow:clip!important;padding-right:28px!important;white-space:nowrap}
.shuton-103-candidate .premium-suggestion-rail{display:flex!important;overflow-x:auto!important;overscroll-behavior-inline:contain;gap:8px!important;padding-bottom:8px!important;scrollbar-width:thin}
.shuton-103-candidate .premium-suggestion-rail .premium-suggestion{flex:0 0 auto!important;white-space:normal!important;overflow:visible!important;text-overflow:clip!important;max-width:min(78vw,260px)!important;line-height:1.35!important;min-height:42px!important}
.shuton-103-candidate #avatarGestureControls{display:none!important}

/* TestFlight: authentication screens do not expose the signed-in navigation. */
body:has([data-screen="welcome"].active) #tabs,
body:has([data-screen="signin"].active) #tabs,
body:has([data-screen="signup"].active) #tabs,
body:has([data-screen="recover"].active) #tabs,
body:has([data-screen="setup"].active) #tabs{display:none!important}

/* Optional unified text/voice mode: preserve chat, tools and history while freeing screen space. */
.shuton-103-candidate .avatar-live-toolbar{display:flex!important;align-items:center;flex-wrap:wrap;gap:6px;padding:7px 9px}
.shuton-103-candidate .avatar-live-toolbar .avatar-live-selector{flex:1 1 auto;min-width:85px}
.shuton-103-candidate .avatar-live-toolbar .avatar-live-notice{order:4;flex-basis:100%}
.shuton-103-candidate .avatar-live-toolbar .avatar-live-promo{flex:0 0 auto;max-width:100%}
.shuton-103-candidate .candidate-mode-switch{display:inline-flex;flex:0 0 auto;justify-content:center;padding:0;margin:auto}
.shuton-103-candidate .candidate-mode-switch button{max-width:100%;font-size:12px;padding:8px 9px;line-height:1.2;min-height:37px;white-space:nowrap}
.shuton-103-candidate #assistantTools{display:none!important}
@media(max-width:390px){.shuton-103-candidate .avatar-live-toolbar .avatar-live-promo{font-size:12px;padding:7px}.shuton-103-candidate .candidate-mode-switch button{font-size:11px;padding:7px}}
.shuton-103-candidate .candidate-text-voice-only #stage{display:none!important}
.shuton-103-candidate .candidate-text-voice-only .presence-shell{min-height:0!important}


/* Keep the audio output button in the dark header, beside notifications. */
.shuton-103-candidate .top-actions .sound-dock{position:static!important;display:inline-flex!important;background:transparent!important;padding:0!important;box-shadow:none!important}
.shuton-103-candidate .top-actions #outputMuteBtn{background:#15273e!important;color:#eff7ff!important;border:1px solid #37516d!important;border-radius:999px!important;width:42px!important;height:42px!important;min-width:42px!important;padding:0!important}

/* Keep demonstration clean; do not advertise a cropped static face as live video. */
.shuton-103-candidate .avatar-live-showcase-preview{display:none!important}
.shuton-103-candidate .avatar-live-showcase-card{width:min(100%,520px)!important;max-height:88dvh!important;overflow-y:auto!important;box-sizing:border-box!important}
.shuton-103-candidate .premium-action[data-action="screen"]{display:none!important}
/* Local illustrative avatar motion for Live preview; never represent as a real provider session. */
.shuton-103-candidate .avatar-live-showcase-preview,.shuton-103-candidate .showcase-live-surface{height:auto!important;min-height:0!important;overflow:visible!important}
.shuton-103-candidate .showcase-demo-face{display:block;width:auto!important;max-width:100%!important;height:auto!important;max-height:min(44dvh,340px)!important;object-fit:contain!important;object-position:center!important;margin:0 auto;border-radius:16px;animation:shuton-demo-breathe 4s ease-in-out infinite}
@keyframes shuton-demo-breathe{0%,100%{transform:translateY(0) scale(1)}50%{transform:translateY(-3px) scale(1.015)}}
@media(prefers-reduced-motion:reduce){.shuton-103-candidate .showcase-demo-face{animation:none}}

/* Compact Premium entry next to portrait toggle; retain original portrait behavior. */
.shuton-103-candidate .avatar-live-toolbar .candidate-standard-plans{font-size:12px!important;line-height:1.2!important;min-height:34px!important;padding:7px 9px!important;white-space:normal!important;max-width:145px!important;flex:0 1 auto!important}
.shuton-103-candidate .avatar-live-toolbar .candidate-mode-switch{flex:0 1 auto!important}

/* TestFlight: reserve one compact horizontal row for all three avatar controls. */
.shuton-103-candidate [data-screen="home"] .avatar-live-toolbar{
 display:grid!important;
 grid-template-columns:minmax(80px,1fr) minmax(100px,1fr) minmax(104px,1fr)!important;
 align-items:center!important;
 column-gap:4px!important;
 row-gap:4px!important;
 flex-wrap:nowrap!important;
 padding:6px 5px!important;
}
.shuton-103-candidate [data-screen="home"] .avatar-live-toolbar .avatar-live-selector{
 grid-column:1!important;grid-row:1!important;
 min-width:0!important;width:100%!important;max-width:100%!important;
}
.shuton-103-candidate [data-screen="home"] .avatar-live-toolbar .candidate-mode-switch{
 grid-column:2!important;grid-row:1!important;min-width:0!important;width:100%!important;
 margin:0!important;
}
.shuton-103-candidate [data-screen="home"] .avatar-live-toolbar .candidate-mode-switch button{
 width:100%!important;min-width:0!important;font-size:clamp(9px,2.5vw,12px)!important;
 padding:7px 2px!important;min-height:37px!important;white-space:nowrap!important;
}
.shuton-103-candidate [data-screen="home"] .avatar-live-toolbar .candidate-standard-plans{
 grid-column:3!important;grid-row:1!important;min-width:0!important;width:100%!important;
 max-width:none!important;min-height:37px!important;
 padding:7px 2px!important;font-size:clamp(9px,2.5vw,12px)!important;
 letter-spacing:-.15px!important;white-space:nowrap!important;line-height:1.1!important;
}
.shuton-103-candidate [data-screen="home"] .avatar-live-toolbar .avatar-live-notice{
 grid-column:1/-1!important;grid-row:2!important;min-width:0!important;
}
.shuton-103-candidate [data-screen="home"] .avatar-live-toolbar .avatar-live-promo{
 display:none!important;
}

/* Compact the first control only; preserve the approved three-column alignment. */
.shuton-103-candidate [data-screen="home"] .avatar-live-toolbar .avatar-live-selector{
 gap:2px!important;font-size:10px!important;overflow:hidden!important;
}
.shuton-103-candidate [data-screen="home"] .avatar-live-toolbar .avatar-live-selector select{
 flex:1 1 0!important;width:100%!important;min-width:0!important;
 max-width:100%!important;padding:5px 13px 5px 2px!important;
 font-size:12px!important;letter-spacing:-.35px!important;
 line-height:1.1!important;text-overflow:clip!important;
}


/* iPhone sign-in and recovery: compact credentials, balanced primary action.
   Presentation only; auth fields, IDs, handlers and validation are unchanged. */
.shuton-103-candidate [data-screen="signin"] .auth-card,
.shuton-103-candidate [data-screen="recover"] .auth-card{
 width:100%;min-width:0;max-width:440px;margin-inline:auto;
 padding:clamp(16px,4vw,22px);box-sizing:border-box;
}
.shuton-103-candidate [data-screen="signin"] #loginPassword,
.shuton-103-candidate [data-screen="signin"] .password-wrap{
 max-width:310px!important;
}
.shuton-103-candidate [data-screen="recover"] #recoverCode{
 display:block;width:min(100%,280px)!important;max-width:280px!important;
 min-height:46px;box-sizing:border-box;
 font-size:16px;letter-spacing:.035em;
}
.shuton-103-candidate [data-screen="signin"] #loginBtn{
 display:flex!important;align-items:center!important;justify-content:center!important;
 width:min(100%,272px)!important;max-width:272px!important;
 min-height:48px!important;margin:17px auto 4px!important;
 padding:11px 20px!important;border-radius:13px!important;
 font-size:15px!important;font-weight:750!important;letter-spacing:.01em;
 line-height:1.3!important;white-space:nowrap!important;
 box-shadow:0 7px 19px rgba(37,100,212,.19)!important;
}
.shuton-103-candidate [data-screen="recover"] #recoverBtn{
 display:flex;align-items:center;justify-content:center;
 width:min(100%,330px)!important;max-width:330px!important;
 min-height:48px;margin:16px auto 6px!important;
 padding:10px 15px;border-radius:13px;
 font-size:14px;line-height:1.3;text-align:center;
}
.shuton-103-candidate [data-screen="signin"] #loginBtn:focus-visible,
.shuton-103-candidate [data-screen="recover"] #recoverBtn:focus-visible{
 outline:3px solid #72c6ff;outline-offset:3px;
}
@media(max-width:350px){
 .shuton-103-candidate [data-screen="signin"] #loginBtn{
   width:min(100%,250px)!important;
 }
 .shuton-103-candidate [data-screen="recover"] #recoverBtn{
   font-size:13px;
 }
}


/* Shuton Estándar · golden invitation, aligned with notification bell accent.
   Decorative only: billing buttons, price labels and click handlers unchanged. */
.shuton-103-candidate{
 --standard-gold-light:#ffe49b;
 --standard-gold:#e8bc58;
 --standard-gold-dark:#b98022;
}
.shuton-103-candidate [data-screen="home"] .avatar-live-toolbar .candidate-standard-plans{
 display:flex!important;
 align-items:center!important;
 justify-content:center!important;
 height:auto!important;
 min-height:42px!important;
 padding:6px 5px!important;
 font-size:clamp(10px,2.65vw,11.5px)!important;
 font-weight:800!important;
 line-height:1.2!important;
 letter-spacing:0!important;
 white-space:normal!important;
 overflow-wrap:normal!important;
 text-align:center!important;
 border:1px solid var(--standard-gold-light)!important;
 border-radius:12px!important;
 background:linear-gradient(135deg,#ffe49b 0%,#e9bd57 52%,#bb832a 100%)!important;
 color:#152238!important;
 -webkit-text-fill-color:#152238!important;
 text-shadow:none!important;
 box-shadow:0 5px 17px rgba(231,170,55,.25),inset 0 1px rgba(255,255,255,.38)!important;
}
.shuton-103-candidate [data-screen="home"] .avatar-live-toolbar .candidate-standard-plans:active{
 background:linear-gradient(135deg,#e3b74f,#bc8429)!important;
 transform:translateY(1px);
}
.shuton-103-candidate [data-screen="home"] .avatar-live-toolbar .candidate-standard-plans:focus-visible{
 outline:3px solid #ffe49b!important;outline-offset:3px!important;
}
.shuton-103-candidate [data-screen="home"] .avatar-live-toolbar .candidate-mode-switch button{
 min-height:42px!important;
}
.shuton-103-candidate #subscriptionPanel>summary strong,
.shuton-103-candidate #accountUsageTitle{
 color:var(--standard-gold-light)!important;
}
.shuton-103-candidate #subscriptionPanel .standard-benefits{
 border:1px solid rgba(232,188,88,.48)!important;
 border-left:3px solid var(--standard-gold)!important;
 border-radius:14px!important;
 padding:15px 14px!important;
 background:linear-gradient(145deg,rgba(170,117,29,.17),rgba(18,37,59,.74))!important;
}
.shuton-103-candidate #subscriptionPanel .standard-benefits #premiumBenefitsTitle{
 color:var(--standard-gold-light)!important;
 font-size:clamp(16px,4.2vw,19px)!important;
 line-height:1.35!important;
 margin:0 0 10px!important;
}
.shuton-103-candidate #subscriptionPanel .standard-benefits>p:first-of-type{
 color:#f5ddac!important;
 line-height:1.48!important;
}
.shuton-103-candidate #subscriptionPanel .standard-benefits ul{
 padding-left:20px!important;margin:10px 0 14px!important;
}
.shuton-103-candidate #subscriptionPanel .standard-benefits li{
 color:#f4e2be!important;
 line-height:1.54!important;
 margin:0 0 8px!important;
}
.shuton-103-candidate #subscriptionPanel .standard-benefits li::marker{
 color:var(--standard-gold)!important;
}
.shuton-103-candidate #subscriptionPanel .standard-benefits .small{
 color:#d8c6a4!important;
}
@media(prefers-reduced-motion:reduce){
 .shuton-103-candidate [data-screen="home"] .avatar-live-toolbar .candidate-standard-plans{
  transition:none!important;transform:none!important;
 }
}

/* Hands-free is the primary conversational entry, independent of purchases and Live. */
.shuton-premium-ui #handsFreeBtn{display:block;width:min(100%,440px);margin:9px auto 7px;padding:13px 17px;border-radius:18px;border:2px solid #8fcaff;background:linear-gradient(130deg,#123e80,#2877d7);color:#fff;font-weight:800;font-size:16px;line-height:1.2;min-height:54px;box-shadow:0 7px 20px rgba(14,54,114,.22);touch-action:manipulation}
.shuton-premium-ui #handsFreeBtn[aria-pressed="true"]{background:#8f2640;border-color:#f4b6c3}
.shuton-premium-ui #handsFreeBtn:focus-visible{outline:3px solid #0f74cd;outline-offset:3px}
/* Give the approved portrait breathing room until the Simli placement is settled. */
.shuton-premium-ui #stage:not(.avatar-live-active) .avatar-motion{transform:scale(.78);transform-origin:50% 45%}
@media(max-width:430px){.shuton-premium-ui #handsFreeBtn{font-size:15px;min-height:52px}.shuton-premium-ui #stage:not(.avatar-live-active) .avatar-motion{transform:scale(.74)}}

/* iPhone TestFlight UI: compact portrait so conversation controls appear earlier. */
@media (max-width: 600px) {
  body.shuton-premium-ui:not(.shuton-call) .rc20-presence #stage.avatar-stage.immersive:not(.avatar-live-active) {
    height: clamp(255px, 37dvh, 335px) !important;
    min-height: 0 !important;
    max-height: 335px !important;
  }
  body.shuton-premium-ui:not(.shuton-call) #stage.portrait-view:not(.avatar-live-active) .avatar-motion {
    transform: scale(.70);
    transform-origin: 50% 42%;
  }
  body.shuton-premium-ui:not(.shuton-call) .home-screen .ask-shell {
    margin-top: 4px !important;
  }
}

/* 2026-10-26: hide prompt shortcuts on the home screen; keep underlying IA capabilities available through text and voice. */
.shuton-103-candidate [data-screen="home"] .premium-suggestion-rail{display:none!important}

/* 2026-10-27: Auth and account contrast on Shuton dark backgrounds.
   Keep strong keyboard focus and readable 4.5:1 text colors. */
.shuton-premium-ui [data-screen="signin"] .field label,
.shuton-premium-ui [data-screen="signup"] .field label,
.shuton-premium-ui [data-screen="setup"] .field label,
.shuton-premium-ui [data-screen="recover"] label,
.shuton-premium-ui [data-screen="setup"] .segment strong,
.shuton-premium-ui [data-screen="signup"] .legal-inline strong,
.shuton-premium-ui .usage-popover .usage-percent,
.shuton-premium-ui .account-section>summary strong,
.shuton-premium-ui .account-section>summary small {
 color:#f5f9ff!important;
 -webkit-text-fill-color:#f5f9ff;
}
.shuton-premium-ui [data-screen="signin"] .text-button,
.shuton-premium-ui [data-screen="signup"] .text-button,
.shuton-premium-ui [data-screen="setup"] .text-button,
.shuton-premium-ui [data-screen="recover"] .text-button {
 color:#e3f1ff!important;
 text-decoration:underline;text-underline-offset:3px;
}
.shuton-premium-ui [data-screen="signup"] .subtitle,
.shuton-premium-ui [data-screen="signup"] .legal-inline p,
.shuton-premium-ui [data-screen="signup"] .legal-check,
.shuton-premium-ui [data-screen="signup"] #registrationAvailability,
.shuton-premium-ui [data-screen="signin"] .subtitle,
.shuton-premium-ui [data-screen="recover"] .subtitle {
 color:#c9d9ec!important;
}
.shuton-premium-ui [data-screen="signup"] .legal-inline{
 border:1px solid #426388;background:#112942;
 padding:10px 12px;border-radius:13px;margin:10px 0;
}
.shuton-premium-ui [data-screen="signup"] .legal-inline p{margin:4px 0}
.shuton-premium-ui [data-screen="signin"] input,
.shuton-premium-ui [data-screen="signup"] input,
.shuton-premium-ui [data-screen="recover"] input {
 color:#f9fcff!important;background:#0b223d!important;
 border:1px solid #6c91ba!important;
}
.shuton-premium-ui [data-screen="signin"] input::placeholder,
.shuton-premium-ui [data-screen="signup"] input::placeholder,
.shuton-premium-ui [data-screen="recover"] input::placeholder{
 color:#bccde0!important;
}
.shuton-premium-ui [data-screen="signin"] input:focus-visible,
.shuton-premium-ui [data-screen="signup"] input:focus-visible,
.shuton-premium-ui [data-screen="recover"] input:focus-visible,
.shuton-premium-ui [data-screen="signin"] button:focus-visible,
.shuton-premium-ui [data-screen="signup"] button:focus-visible{
 outline:3px solid #89d7ff!important;outline-offset:2px;
}
.shuton-premium-ui [data-screen="signin"] .account-warn,
.shuton-premium-ui [data-screen="recover"] #emailRecoveryStatus {
 color:#ffdc9c!important;
}
.shuton-premium-ui .usage-popover .usage-percent{
 font-weight:800;opacity:1;text-shadow:none;
}
.shuton-premium-ui .usage-popover .usage-plan-column,
.shuton-premium-ui .usage-popover .usage-live-column {
 color:#eaf4ff;
}

/* Email verification on iPhone: a clear way back into the installed native app.
   Shown only AFTER a successful HTTPS token verification, never before it. */
dialog .email-open-app {
 display:block;
 box-sizing:border-box;
 width:100%;
 margin:14px 0 8px;
 padding:13px 16px;
 border:1px solid #79b7ff;
 border-radius:12px;
 background:#1559a6;
 color:#fff!important;
 -webkit-text-fill-color:#fff;
 font-size:16px;
 font-weight:750;
 line-height:1.35;
 text-align:center;
 text-decoration:none;
 cursor:pointer;
}
dialog .email-open-app:focus-visible,
dialog .email-appstore-fallback:focus-visible{
 outline:3px solid #93dcff;
 outline-offset:3px;
}
dialog .email-appstore-fallback{
 display:block;
 padding:10px 5px;
 color:#d6eaff!important;
 -webkit-text-fill-color:#d6eaff;
 text-align:center;
 font-size:14px;
 text-decoration:underline;
 text-underline-offset:3px;
}
