:root{
  --amUHeroRadius:25px;--amUCardRadius:20px;--amUSmallRadius:15px;--amUGap:8px;--amUPad:13px;
  --amUGlassTop:rgba(255,255,255,.86);--amUGlassBottom:rgba(255,255,255,.61);--amUBorder:rgba(255,255,255,.84);
  --amUShadow:0 11px 26px rgba(45,35,70,.058),inset 0 1px 0 rgba(255,255,255,.96);
  --amUHeroShadow:0 16px 36px rgba(45,35,70,.075),inset 0 1px 0 rgba(255,255,255,.32)
}
.amUnifiedPageV659{padding-bottom:14px!important}.amUnifiedPageV659>.amUniverseBackV7{margin-bottom:9px!important}

.amUnifiedHeroV659,#familySheetBody .familyHero,#familySheetBody .familyHeroV2,.proHero{
  position:relative!important;overflow:hidden!important;border-radius:var(--amUHeroRadius)!important;padding:18px!important;margin:6px 0 10px!important;
  box-shadow:var(--amUHeroShadow)!important;border:1px solid rgba(255,255,255,.20)!important
}
.amUnifiedHeroV659:after,#familySheetBody .familyHero:after,#familySheetBody .familyHeroV2:after,.proHero:after{
  content:""!important;position:absolute!important;width:170px!important;height:170px!important;border-radius:50%!important;
  right:-78px!important;top:-80px!important;background:rgba(255,255,255,.11)!important;pointer-events:none!important
}
.amUnifiedHeroV659>*,#familySheetBody .familyHero>*,#familySheetBody .familyHeroV2>*,.proHero>*{position:relative!important;z-index:1!important}
.amUnifiedHeroV659 small,#familySheetBody .familyHero>small,#familySheetBody .familyHeroV2>small,.proEyebrow{
  display:inline-flex!important;align-items:center!important;width:max-content!important;max-width:100%!important;padding:5px 8px!important;border-radius:999px!important;
  font-size:8.5px!important;line-height:1!important;font-weight:950!important;letter-spacing:.62px!important
}
.amUnifiedHeroV659 h2,.amUnifiedHeroV659 h3,#familySheetBody .familyHero h3,#familySheetBody .familyHeroV2 h3,.proHero h2{
  margin:9px 0 5px!important;font-size:24px!important;line-height:1.08!important;letter-spacing:-.55px!important
}
.amUnifiedHeroV659 p,#familySheetBody .familyHero p,#familySheetBody .familyHeroV2 p,.proHero p{
  margin:0!important;max-width:355px!important;font-size:10.5px!important;line-height:1.48!important
}

.amUnifiedSimpleHeroV659,.amPersonalHeroV7.amUnifiedHeroV659{
  background:radial-gradient(circle at 93% 0%,rgba(130,102,232,.14),transparent 36%),linear-gradient(180deg,var(--amUGlassTop),var(--amUGlassBottom))!important;
  color:var(--text)!important;border-color:var(--amUBorder)!important
}
.amUnifiedSimpleHeroV659>small,.amPersonalHeroV7.amUnifiedHeroV659 small{color:#6955cf!important;background:#eee9ff!important;border:1px solid rgba(105,85,207,.08)!important}
.amUnifiedSimpleHeroV659 p,.amPersonalHeroV7.amUnifiedHeroV659 p{color:var(--muted)!important}

.amHomeWorldHeroV657.amUnifiedHeroV659{background:linear-gradient(138deg,#e7a25c 0%,#d98963 58%,#ad7388 132%)!important;color:#fff!important}
.amHomeWorldHeroV657.amUnifiedHeroV659 small{color:#fff!important;background:rgba(255,255,255,.14)!important;border:1px solid rgba(255,255,255,.16)!important}
.amHomeWorldHeroV657.amUnifiedHeroV659 p{color:rgba(255,255,255,.83)!important}

.amDemarchesHeadV50.amUnifiedHeroV659{background:linear-gradient(138deg,#5d48cf 0%,#765ae6 58%,#8b74eb 125%)!important;color:#fff!important}
.amDemarchesHeadV50.amUnifiedHeroV659>small{color:#fff!important;background:rgba(255,255,255,.13)!important;border:1px solid rgba(255,255,255,.16)!important;margin:0!important}
.amDemarchesHeadV50.amUnifiedHeroV659 p{color:rgba(255,255,255,.83)!important}

#familySheetBody .familyHero,#familySheetBody .familyHeroV2{background:linear-gradient(138deg,#7a58c9 0%,#986bbd 56%,#b778a9 128%)!important;color:#fff!important}
#familySheetBody .familyHero>small,#familySheetBody .familyHeroV2>small{color:#fff!important;background:rgba(255,255,255,.13)!important;border:1px solid rgba(255,255,255,.16)!important}
#familySheetBody .familyHero p,#familySheetBody .familyHeroV2 p{color:rgba(255,255,255,.83)!important}

.proHero{background:linear-gradient(138deg,#151725 0%,#272946 60%,#423b70 130%)!important;color:#fff!important}
.proEyebrow{background:rgba(255,255,255,.11)!important;border:1px solid rgba(255,255,255,.13)!important}.proHero p{color:rgba(237,237,247,.82)!important}

.amPersonalGridV7,.amHomeWorldGridV657,#familySheetBody .amFamilyCasesV658,.amDemarchesGridV50,.proModules{
  display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:var(--amUGap)!important;margin:10px 0 12px!important
}
.amPersonalGridV7>button,.amHomeWorldGridV657>button,#familySheetBody .amFamilyCaseV658,.amDemarchesGridV50>.amDemarcheCardV50,.proModules>.proModule{
  min-height:112px!important;padding:var(--amUPad)!important;border-radius:var(--amUCardRadius)!important;border:1px solid var(--amUBorder)!important;
  background:linear-gradient(180deg,var(--amUGlassTop),var(--amUGlassBottom))!important;box-shadow:var(--amUShadow)!important;
  text-align:left!important;color:var(--text)!important;transition:transform .14s ease,box-shadow .14s ease,border-color .14s ease!important
}
.amPersonalGridV7>button:active,.amHomeWorldGridV657>button:active,#familySheetBody .amFamilyCaseV658:active,.amDemarchesGridV50>.amDemarcheCardV50:active,.proModules>.proModule:active{transform:scale(.985)!important}

.amPersonalGridV7>button>span,.amHomeWorldTileIconV657,#familySheetBody .amFamilyCaseIconV658,.amDemarcheIconV50,.proModule>span{
  width:40px!important;height:40px!important;border-radius:13px!important;display:grid!important;place-items:center!important;margin:0!important;
  background:linear-gradient(180deg,#f3efff,#e8e1ff)!important;color:#6853cf!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.94)!important;
  font-size:17px!important;line-height:1!important
}
.amPersonalGridV7>button>span{font-size:8px!important;font-weight:950!important}
.amHomeWorldTileIconV657 svg,#familySheetBody .amFamilyCaseIconV658 svg{width:21px!important;height:21px!important}

.amPersonalGridV7>button>b,.amHomeWorldGridV657>button>b,#familySheetBody .amFamilyCaseV658>b,.amDemarcheCardV50>b,.proModule>b{
  display:block!important;margin:11px 0 0!important;font-size:12px!important;line-height:1.18!important
}
.amPersonalGridV7>button>small,.amHomeWorldGridV657>button>small,#familySheetBody .amFamilyCaseV658>small,.amDemarcheCardV50>small,.proModule>small{
  display:block!important;margin-top:3px!important;color:var(--muted)!important;font-size:8.7px!important;line-height:1.38!important
}
.amDemarcheCardV50>i{right:11px!important;top:14px!important;font-size:17px!important}

.amHomeWorldSectionTitleV657,.amDemarchesSectionTitleV50,.proSectionHead,.docsSectionHead,#familySheetBody .familySectionHead{
  display:flex!important;justify-content:space-between!important;align-items:flex-end!important;gap:10px!important;margin:18px 2px 8px!important
}
.amHomeWorldSectionTitleV657>b,.amDemarchesSectionTitleV50 b,.proSectionHead h3,.docsSectionHead h3,#familySheetBody .familySectionHead>b{
  margin:0!important;font-size:15px!important;line-height:1.2!important;letter-spacing:-.18px!important
}
.amHomeWorldSectionTitleV657>small,.amDemarchesSectionTitleV50 small,.proSectionHead small,.docsSectionHead small,#familySheetBody .familySectionHead small{
  font-size:8.7px!important;line-height:1.3!important;color:var(--muted)!important;margin-top:2px!important
}
.profileSectionLabel{margin:18px 2px 8px!important;font-size:9px!important;font-weight:900!important;letter-spacing:.62px!important;color:var(--muted)!important}

.docsSearchShell,.docsFolder,.docsResult,.card,.setting,.accountCard,.docVaultCard,#familySheetBody .familySection,#familySheetBody .familyManagePanel,
.amHomeWorldStatusV657,.amHomeWorldInfoV657,.amDemarchesAskV50,.proAiNote,.proStat,.proEntity,.proDoc,.proVehicleWay{
  border-radius:var(--amUCardRadius)!important;border:1px solid var(--amUBorder)!important;
  background:linear-gradient(180deg,var(--amUGlassTop),var(--amUGlassBottom))!important;box-shadow:var(--amUShadow)!important
}
.card,.setting,.docsResult,.proEntity,.proDoc{padding:12px!important}
.cardIcon,.settingIcon,.docsResultIcon,.proEntityIcon{width:42px!important;height:42px!important;border-radius:13px!important}

.docsSearchShell{padding:11px!important;margin-top:9px!important}
.docsSearchInput,#archiveSearch{border-radius:15px!important;background:rgba(247,245,251,.88)!important;border:1px solid rgba(105,85,207,.07)!important}
#archiveSearch{margin:10px 0 12px!important;padding:13px!important}.docsSmartLine{border-radius:15px!important;padding:10px 11px!important}

#tasks .toolbar{gap:6px!important;margin:9px 0!important}
#tasks .toolbar button{border-radius:999px!important;min-height:31px!important;padding:7px 10px!important;font-size:9px!important;font-weight:850!important;border:1px solid rgba(255,255,255,.82)!important;box-shadow:0 5px 12px rgba(45,35,70,.04)!important}

#familySheet .familyRootSheet{padding-left:16px!important;padding-right:16px!important}
.familyRootHeader{min-height:calc(62px + env(safe-area-inset-top))!important;background:color-mix(in srgb,var(--bg) 91%,transparent)!important;border-bottom:1px solid rgba(130,135,155,.12)!important;box-shadow:0 5px 16px rgba(34,45,72,.025)!important}
.familyRootHeaderBtn{border-radius:14px!important}

.proStats{gap:8px!important;margin:10px 0 12px!important}.proStat{min-height:72px!important;padding:11px!important}.proStat b{font-size:20px!important}
.proModule.active{border-color:rgba(107,84,211,.28)!important;background:linear-gradient(180deg,rgba(245,241,255,.95),rgba(236,230,255,.78))!important;box-shadow:0 11px 26px rgba(79,59,158,.09),inset 0 1px 0 #fff!important}

.documentsTop{margin:6px 0 10px!important}.documentsTop h2{font-size:24px!important;margin:9px 0 5px!important}.documentsTop p{font-size:10.5px!important;margin:0!important;line-height:1.48!important}

html[data-theme="dark"]{
  --amUGlassTop:rgba(31,34,45,.94);--amUGlassBottom:rgba(23,26,37,.87);--amUBorder:rgba(255,255,255,.07);
  --amUShadow:0 12px 27px rgba(0,0,0,.20),inset 0 1px 0 rgba(255,255,255,.04);--amUHeroShadow:0 17px 38px rgba(0,0,0,.24),inset 0 1px 0 rgba(255,255,255,.06)
}
html[data-theme="dark"] .amUnifiedSimpleHeroV659,html[data-theme="dark"] .amPersonalHeroV7.amUnifiedHeroV659{
  background:radial-gradient(circle at 93% 0%,rgba(122,97,224,.14),transparent 36%),linear-gradient(180deg,rgba(31,34,45,.96),rgba(23,26,37,.90))!important;
  color:var(--text)!important;border-color:var(--amUBorder)!important
}
html[data-theme="dark"] .amUnifiedSimpleHeroV659>small,html[data-theme="dark"] .amPersonalHeroV7.amUnifiedHeroV659 small{background:#29233e!important;color:#aa99ff!important;border-color:#37304e!important}
html[data-theme="dark"] .docsSearchInput,html[data-theme="dark"] #archiveSearch{background:#171b26!important;border-color:#2b3140!important;color:var(--text)!important}

@media(max-width:360px){
  .amUnifiedHeroV659,#familySheetBody .familyHero,#familySheetBody .familyHeroV2,.proHero{padding:16px!important}
  .amUnifiedHeroV659 h2,.amUnifiedHeroV659 h3,#familySheetBody .familyHero h3,.proHero h2{font-size:22px!important}
  .amPersonalGridV7,.amHomeWorldGridV657,#familySheetBody .amFamilyCasesV658,.amDemarchesGridV50,.proModules{gap:6px!important}
  .amPersonalGridV7>button,.amHomeWorldGridV657>button,#familySheetBody .amFamilyCaseV658,.amDemarchesGridV50>.amDemarcheCardV50,.proModules>.proModule{min-height:106px!important;padding:11px!important}
}
